16 os <<
"DDStrVector name=" << cons.
name();
19 os <<
" size=" << cons.
size() <<
" vals=( ";
20 for (
const auto&
it : cons.
values()) {
25 os <<
" constant is not yet defined, only declared.";
std::ostream & operator<<(std::ostream &os, const DDStrVector &cons)
output operator for printing ...
const value_type & values() const
the stored values
DDStrVector()
an uninitialized constant; one can assign an initialized constant to make it valid ...
DDName is used to identify DDD entities uniquely.
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsStrVector> ...
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
const DDName & name() const
size_t size() const
the size of the array of values
def_type isDefined() const
void create(const DDName &name, std::unique_ptr< std::vector< std::string > > vals)