22 class DDMap :
public DDBase<DDName, std::unique_ptr<dd_map_type> > {
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 DDName & name() const
value_type::const_iterator mapEnd() const
read-only iterator poining one place after the stored values
const DDI::rep_traits< DDName, std::unique_ptr< dd_map_type > >::reference rep() const
DDName is used to identify DDD entities uniquely.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> ...
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 ...