22 class DDMap :
public DDBase<DDName, std::unique_ptr<dd_map_type> >
41 size_t size()
const {
return rep().size(); }
53 value_type::const_iterator
mapBegin()
const {
return rep().begin(); }
56 value_type::const_iterator
mapEnd()
const {
return rep().end(); }
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
DDName is used to identify DDD entities uniquely.
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> ...
const DDI::rep_traits< DDName, std::unique_ptr< dd_map_type > >::reference rep() const
ReadMapType< double > dd_map_type
simply a std::map<std::string,double> supporting an addional operator[] const
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
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 ...