| HepMC3 event record library
    | 
Attribute that holds a vector of type string.
Definition at line 1182 of file Attribute.h.
#include <Attribute.h>
 Inheritance diagram for VectorStringAttribute:
 Inheritance diagram for VectorStringAttribute: Collaboration diagram for VectorStringAttribute:
 Collaboration diagram for VectorStringAttribute:| Public Member Functions | |
| VectorStringAttribute () | |
| Default constructor. | |
| VectorStringAttribute (std::vector< std::string > val) | |
| Constructor initializing attribute value. | |
| bool | from_string (const string &att) override | 
| Implementation of Attribute::from_string. | |
| bool | to_string (std::string &att) const override | 
| Implementation of Attribute::to_string. | |
| std::vector< std::string > | value () const | 
| get the value associated to this Attribute. | |
| void | set_value (const std::vector< std::string > &i) | 
| set the value associated to this Attribute. | |
| virtual bool | init () | 
| Optionally initialize the attribute after from_string. | |
| virtual bool | init (const GenRunInfo &) | 
| Optionally initialize the attribute after from_string. | |
| bool | is_parsed () const | 
| Check if this attribute is parsed. | |
| const std::string & | unparsed_string () const | 
| Get unparsed string. | |
| const GenEvent * | event () const | 
| GenParticlePtr | particle () | 
| ConstGenParticlePtr | particle () const | 
| GenVertexPtr | vertex () | 
| ConstGenVertexPtr | vertex () const | 
| Protected Member Functions | |
| void | set_is_parsed (bool flag) | 
| Set is_parsed flag. | |
| void | set_unparsed_string (const std::string &st) | 
| Set unparsed string. | |
| Private Attributes | |
| std::vector< std::string > | m_val | 
| Attribute value. | |
| bool | m_is_parsed | 
| Is this attribute parsed? | |
| std::string | m_string | 
| Raw (unparsed) string. | |
| const GenEvent * | m_event | 
| GenParticlePtr | m_particle | 
| controlling GenEvent object. | |
| GenVertexPtr | m_vertex | 
| Vertex to which assigned. | |
| 
 | inline | 
Default constructor.
Definition at line 1186 of file Attribute.h.
References Attribute::Attribute(), and m_val.
| 
 | inline | 
Constructor initializing attribute value.
Definition at line 1189 of file Attribute.h.
References Attribute::Attribute(), and m_val.
| 
 | inlineinherited | 
| 
 | inlineoverridevirtual | 
Implementation of Attribute::from_string.
Implements Attribute.
Definition at line 1192 of file Attribute.h.
References m_val, and Attribute::set_is_parsed().
| 
 | inlinevirtualinherited | 
Optionally initialize the attribute after from_string.
Reimplemented in HEPEUPAttribute.
Definition at line 81 of file Attribute.h.
| 
 | inlinevirtualinherited | 
Optionally initialize the attribute after from_string.
Is passed a reference to the GenRunInfo object to which the Attribute belongs.
Reimplemented in HEPEUPAttribute.
Definition at line 90 of file Attribute.h.
| 
 | inlineinherited | 
Check if this attribute is parsed.
Definition at line 102 of file Attribute.h.
References m_is_parsed.
| 
 | inlineinherited | 
return the GenParticle to which this Attribute belongs, if at all.
Definition at line 113 of file Attribute.h.
References m_particle.
| 
 | inlineinherited | 
return the GenParticle to which this Attribute belongs, if at all.
Definition at line 118 of file Attribute.h.
References m_particle.
| 
 | inlineprotectedinherited | 
| 
 | inlineprotectedinherited | 
| 
 | inline | 
set the value associated to this Attribute.
Definition at line 1216 of file Attribute.h.
References m_val, and Attribute::set_is_parsed().
| 
 | inlineoverridevirtual | 
Implementation of Attribute::to_string.
Implements Attribute.
Definition at line 1204 of file Attribute.h.
References m_val.
| 
 | inlineinherited | 
| 
 | inline | 
get the value associated to this Attribute.
Definition at line 1211 of file Attribute.h.
References m_val.
| 
 | inlineinherited | 
return the GenVertex to which this Attribute belongs, if at all.
Definition at line 123 of file Attribute.h.
References m_vertex.
| 
 | inlineinherited | 
return the GenVertex to which this Attribute belongs, if at all.
Definition at line 128 of file Attribute.h.
References m_vertex.
| 
 | privateinherited | 
Possibility to be aware of the
Definition at line 145 of file Attribute.h.
| 
 | privateinherited | 
Is this attribute parsed?
Definition at line 143 of file Attribute.h.
| 
 | privateinherited | 
controlling GenEvent object.
Particle to which assigned.
Definition at line 147 of file Attribute.h.
| 
 | privateinherited | 
Raw (unparsed) string.
Definition at line 144 of file Attribute.h.
| 
 | private | 
Attribute value.
Definition at line 1222 of file Attribute.h.
| 
 | privateinherited | 
Vertex to which assigned.
Definition at line 148 of file Attribute.h.