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