40 size_t size()
const {
return rep().size(); }
52 value_type::const_iterator
mapBegin()
const {
return rep().begin(); }
55 value_type::const_iterator
mapEnd()
const {
return rep().end(); }
const DDI::rep_traits< DDName, dd_map_type * >::reference rep() const
const DDName & name() const
std::ostream & operator<<(std::ostream &o, const DDMap &cons)
output operator for printing ...
value_type::const_iterator mapEnd() const
read-only iterator poining one place after the stored values
ReadMapType< double > dd_map_type
simply a std::map<std::string,double> supporting an addional operator[] const
DDName is used to identify DDD entities uniquely.
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> ...
dd_map_type value_type
the type of the managed object
value_type::const_iterator mapBegin() const
read-only iterator pointing to the begin of the stored values
size_t size() const
the size of the array of values
const dd_map_type & values() const
the stored values
dd_map_type::size_type size_t
size type for the size of the stored values
const double & operator[](const std::string &name) const
returns the value on position pos; does not check boundaries!
DDMap()
an uninitialized constant; one can assign an initialized constant to make it valid ...