class
ElementImage
: public AttributeSet
(Return to index)
An image of an element.
Class ElementImage implements an image of an element. It contains two
strings, the name and the type of the element, and a map of name versus
value for all attributes of the element.
Type: |
Instantiable |
Superclasses: |
public AttributeSet |
Include file: |
./AbsBeamline/ElementImage.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
ElementImage
(const string&,const string&,const AttributeSet&)
;
-
ElementImage
()
;
-
ElementImage
(const ElementImage&)
;
-
virtual ~ElementImage
()
;
-
const ElementImage& operator=
(const ElementImage&)
;
-
void setName
(const string&)
;
-
const string& getName
()const
;
-
void setType
(const string&)
;
-
const string& getType
()const
;
-
typedef std::map<string,double,std::less<string> > NameMap
;
-
typedef NameMap::const_iterator const_iterator
;
-
const AttributeSet& operator=
(const AttributeSet&)
;
-
const_iterator begin
()const
;
-
const_iterator end
()const
;
-
double getAttribute
(const string&)const
;
-
bool hasAttribute
(const string&)const
;
-
void removeAttribute
(const string&)
;
-
void setAttribute
(const string&,double)
;
-
Channel* getChannel
(const string&)
;
-
const ConstChannel* getConstChannel
(const string&)const
;
Documentation:
- Public members:
-
ElementImage
(const string&,const string&,const AttributeSet&)
;
- Constructor.
This constructor takes the name and type strings as
arguments, as well as an AttributeSet mapping attribute names to
values.
-
const string& getName
()const
;
- Get element name.
-
const string& getType
()const
;
- Get element type string.
-
const ElementImage& operator=
(const ElementImage&)
;
- Assignment operator.
-
void setName
(const string&)
;
- Set element name.
-
void setType
(const string&)
;
- Set element type string.
Documentation generated by fci on Mon Feb 7 11:41:37 2000