1 #ifndef DETECTOR_DESCRIPTION_CORE_DDSTRVECTOR_H 2 #define DETECTOR_DESCRIPTION_CORE_DDSTRVECTOR_H 38 size_t size()
const {
return rep().size(); }
53 value_type::const_iterator
vectorEnd()
const {
return rep().end(); }
59 operator std::vector<std::string>()
const {
return rep(); }
const DDName & name() const
DDStrVector()
an uninitialized constant; one can assign an initialized constant to make it valid ...
DDName is used to identify DDD entities uniquely.
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsStrVector> ...
size_t size() const
the size of the array of values
value_type::const_iterator vectorEnd() const
read-only iterator poining one place after the stored values
const DDI::rep_traits< DDName, std::unique_ptr< std::vector< std::string > > >::reference rep() const
value_type::const_iterator vectorBegin() const
read-only iterator pointing to the begin of the stored values
std::ostream & operator<<(std::ostream &o, const DDStrVector &cons)
output operator for printing ...
std::string value() const
return the first stored value; does not check boundaries!
const value_type & values() const
the stored values
std::vector< std::string > value_type
value type of the managed object
std::string operator[](size_t pos) const
returns the value on position pos; does not check boundaries!