Go to the documentation of this file. 1 #ifndef DETECTOR_DESCRIPTION_CORE_DDSTRVECTOR_H
2 #define DETECTOR_DESCRIPTION_CORE_DDSTRVECTOR_H
36 size_t size()
const {
return rep().size(); }
51 value_type::const_iterator
vectorEnd()
const {
return rep().end(); }
57 operator std::vector<std::string>()
const {
return rep(); }
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>
const DDName & name() const
const DDI::rep_traits< DDName, std::unique_ptr< std::vector< std::string > > >::reference rep() const
value_type::const_iterator vectorEnd() const
read-only iterator poining one place after the stored values
std::string operator[](size_t pos) const
returns the value on position pos; does not check boundaries!
std::ostream & operator<<(std::ostream &o, const DDStrVector &cons)
output operator for printing ...
std::vector< std::string > value_type
value type of the managed object
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
value_type::const_iterator vectorBegin() const
read-only iterator pointing to the begin of the stored values
size_t size() const
the size of the array of values
std::string value() const
return the first stored value; does not check boundaries!
const value_type & values() const
the stored values