Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::DictionaryBase::EntryConstraint< PO > Struct Template ReferenceThis base conversion policy doesn't actually specify any conversions at all -- this serves as a base class to provide the ability to directly add entries of the specified type; the subclasses will add value conversions. More...
Inheritance diagram for plist::DictionaryBase::EntryConstraint< PO >:
Detailed Descriptiontemplate<typename PO>
|
Public Member Functions | |
virtual | ~EntryConstraint () |
virtual void | setEntry (const std::string &name, PO &val, bool warnExists=false)=0 |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name, but can give a warning) | |
virtual void | addEntry (const std::string &name, PO &val, const std::string &comment="", bool warnExists=true)=0 |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name with a warning) | |
virtual void | setEntry (const std::string &name, PO *val, bool warnExists=false)=0 |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name, but can give a warning); control of (de)allocation will be assumed by the dictionary | |
virtual void | addEntry (const std::string &name, PO *val, const std::string &comment="", bool warnExists=true)=0 |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name with a warning); control of (de)allocation will be assumed by the dictionary |
virtual plist::DictionaryBase::EntryConstraint< PO >::~EntryConstraint | ( | ) | [virtual] |
no-op destructor
Definition at line 295 of file plistCollections.h.
virtual void plist::DictionaryBase::EntryConstraint< PO >::addEntry | ( | const std::string & | name, | |
PO * | val, | |||
const std::string & | comment = "" , |
|||
bool | warnExists = true | |||
) | [pure virtual] |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name with a warning); control of (de)allocation will be assumed by the dictionary
virtual void plist::DictionaryBase::EntryConstraint< PO >::addEntry | ( | const std::string & | name, | |
PO & | val, | |||
const std::string & | comment = "" , |
|||
bool | warnExists = true | |||
) | [pure virtual] |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name with a warning)
Referenced by plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue(), plist::DictionaryBase::ConversionTo< plist::Primitive< float > >::addValue(), plist::DictionaryBase::WrapValueConversion< PO >::addValue(), and plist::DictionaryBase::ConversionTo< PO >::addValue().
virtual void plist::DictionaryBase::EntryConstraint< PO >::setEntry | ( | const std::string & | name, | |
PO * | val, | |||
bool | warnExists = false | |||
) | [pure virtual] |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name, but can give a warning); control of (de)allocation will be assumed by the dictionary
virtual void plist::DictionaryBase::EntryConstraint< PO >::setEntry | ( | const std::string & | name, | |
PO & | val, | |||
bool | warnExists = false | |||
) | [pure virtual] |
insert a new entry to the dictionary, with key name and value val (replaces any previous entry by same name, but can give a warning)
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:25 2016 by Doxygen 1.6.3 |