class
Sequence
: public BeamSequence
(Return to index)
The SEQUENCE definition.
Type: |
Instantiable |
Superclasses: |
public BeamSequence |
Include file: |
./Lines/Sequence.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
Sequence
()
;
- Exemplar constructor.
-
typedef TBeamline<SequenceMember> TLine
;
- The type of a sequence line.
-
virtual Sequence* clone
(const string&)
;
- Make clone.
The new object is an empty sequence, it will be filled in by the parser.
-
virtual Sequence* copy
(const string&)
;
- Make copy of the sequence line.
-
virtual void doomGet
(const DoomReader&)
;
- Read the sequence from the DOOM data base.
-
virtual void doomPut
(DoomWriter&)const
;
- Write the sequence to the DOOM data base.
-
virtual TLine* fetchLine
()const
;
- Return the embedded CLASSIC beam line.
The result it the ideal line.
-
virtual double getEntrance
(ReferenceType)const
;
- Return the arc length from origin to entrance.
-
virtual double getExit
(ReferenceType)const
;
- Return the arc length from origin to exit.
-
virtual double getLength
()const
;
- Return sequence length.
-
ReferenceType getReference
()const
;
- Return the reference type flag.
"ENTRY", "CENTRE", or "EXIT".
-
virtual Object* makeTemplate
(const string&,TokenStream&,Statement&)
;
- Make a sequence template.
Arguments:
- Name to be given to the template.
- Token stream to be read for the sequence line.
- Statement to be read for the arguments.
-
virtual void parse
(Statement&)
;
- Parse sequence.
-
virtual void print
(std::ostream&)const
;
- Print sequence.
-
virtual void replace
(Object*,Object*)
;
- Replace references to elements.
-
void storeLine
(TLine&)
;
- Store sequence line.
Assign to the underlying ideal line and re-insert the drifts.
-
virtual void update
()
;
- Update the embedded CLASSIC beam line.
Recompute drift lengths.
- Friends:
-
class Edit
;
- This class contains all data for the sequence editor.
It acts as a communication area between the sequence editor commands.
-
class SequenceParser
;
- The parser for SEQUENCE members.
Recognises the format for all possible SEQUENCE members.
-
class SequenceTemplate
;
- An ``archetype'' for a SEQUENCE with arguments.
Documentation generated by fci on Mon Feb 7 12:30:07 2000