class
LineTemplate
: public Macro
(Return to index)
An ``archetype'' for a MAD beam line with arguments.
Type: |
Instantiable |
Superclasses: |
public Macro |
Include file: |
./Lines/LineTemplate.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
virtual LineTemplate* clone
(const string&)
;
- Make clone.
Throw MadException, since the template cannot be cloned.
-
virtual Object* makeInstance
(const string&,Statement&)
;
- Make line instance.
The instance gets the name name, and its actual arguments
are read from stat.
-
virtual Object* makeTemplate
(const string&,TokenStream&,Statement&)
;
- Make a line template.
Return NULL, since one cannot make a template from a template.
-
virtual void parse
(TokenStream&,Statement&)
;
- Parse the line template.
Read the actual arguments from stat. is is not used.
- Friends:
-
class Line
;
- The LINE definition.
Documentation generated by fci on Mon Feb 7 12:29:56 2000