a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> More...
#include <DDString.h>
Public Member Functions | |
DDString () | |
an uninitialized constant; one can assign an initialized constant to make it valid More... | |
DDString (const DDName &name) | |
a refenrence to a constant More... | |
DDString (const DDName &name, std::string *value) | |
creation of a new named constant; if it already existed with the given name, it's overwritten with new values More... | |
operator std::string () const | |
convert to a std::string More... | |
const std::string & | value () const |
return the first stored value; does not check boundaries! More... | |
Public Member Functions inherited from DDBase< DDName, std::string * > | |
DDBase () | |
const DDName & | ddname () const |
def_type | isDefined () const |
bool | isValid () const |
true, if the wrapped pointer is valid More... | |
const DDName & | name () const |
operator bool () const | |
bool | operator< (const DDBase &b) const |
bool | operator== (const DDBase &b) const |
bool | operator> (const DDBase &b) const |
const DDI::rep_traits< DDName, std::string * >::reference | rep () const |
DDI::rep_traits< DDName, std::string * >::reference | rep () |
std::string | toString () const |
const DDI::rep_traits< DDName, std::string * >::reference | val () const |
const DDI::rep_traits< DDName, std::string * >::reference | val () |
virtual | ~DDBase () |
Additional Inherited Members | |
Public Types inherited from DDBase< DDName, std::string * > | |
typedef std::pair< const DDName *, bool > | def_type |
typedef std::string * | pimpl_type |
typedef DDI::rep_type< DDName, pimpl_type > * | prep_type |
typedef DDI::Singleton< DDI::Store< DDName, std::string * > > | StoreT |
Static Public Member Functions inherited from DDBase< DDName, std::string * > | |
static auto | begin () |
static void | clear () |
static auto | end () |
static size_t | size () |
Protected Attributes inherited from DDBase< DDName, std::string * > | |
prep_type | prep_ |
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector>
Definition at line 16 of file DDString.h.
DDString::DDString | ( | ) |
an uninitialized constant; one can assign an initialized constant to make it valid
Definition at line 7 of file DDString.cc.
DDString::DDString | ( | const DDName & | name | ) |
a refenrence to a constant
Definition at line 10 of file DDString.cc.
References DDI::Singleton< I >::instance(), and DDBase< DDName, std::string * >::prep_.
DDString::DDString | ( | const DDName & | name, |
std::string * | value | ||
) |
creation of a new named constant; if it already existed with the given name, it's overwritten with new values
Definition at line 15 of file DDString.cc.
References DDI::Singleton< I >::instance(), and DDBase< DDName, std::string * >::prep_.
|
inline |
convert to a std::string
Definition at line 32 of file DDString.h.
References DDBase< DDName, std::string * >::rep().
|
inline |
return the first stored value; does not check boundaries!
Definition at line 29 of file DDString.h.
References DDBase< DDName, std::string * >::rep().
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Mixins.UsingBlock::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), and operator<<().