40 size_t size()
const {
return rep().size(); }
55 value_type::const_iterator
vectorEnd()
const {
return rep().end(); }
58 operator double()
const {
return rep()[0]; }
61 operator std::vector<double>()
const {
return rep(); }
64 operator std::vector<int>()
const;
const DDI::rep_traits< DDName, std::vector< double > * >::reference rep() const
double operator[](size_t pos) const
returns the value on position pos; does not check boundaries!
const DDName & name() const
size_t size() const
the size of the array of values
DDName is used to identify DDD entities uniquely.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double value() const
return the first stored value; does not check boundaries!
value_type::const_iterator vectorBegin() const
read-only iterator pointing to the begin of the stored values
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> ...
std::vector< double >::size_type size_t
size type for the size of the stored values
DDVector()
an uninitialized constant; one can assign an initialized constant to make it valid ...
const value_type & values() const
the stored values
value_type::const_iterator vectorEnd() const
read-only iterator poining one place after the stored values
std::vector< double > value_type
iterator for read-only acces to stored values