Go to the documentation of this file.
12 os <<
"DDVector name=" << cons.
name();
15 os <<
" size=" << cons.
size() <<
" vals=( ";
16 DDVector::value_type::const_iterator it(cons.
values().begin()), ed(cons.
values().end());
17 for (; it < ed; ++it) {
22 os <<
" constant is not yet defined, only declared.";
30 std::vector<double>::const_iterator it(
rep().begin()), ed(
rep().
end());
31 for (; it != ed; ++it) {
std::ostream & operator<<(std::ostream &os, const DDVector &cons)
output operator for printing ...
DDName is used to identify DDD entities uniquely.
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector>
def_type isDefined() const
const value_type & values() const
the stored values
const DDName & name() const
DDVector()
an uninitialized constant; one can assign an initialized constant to make it valid
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
void create(const DDName &name, std::unique_ptr< std::vector< double > > vals)
size_t size() const
the size of the array of values