Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::DictionaryBase::EntryConstraint< PO > Struct Template Reference#include <plistCollections.h>
Inheritance diagram for plist::DictionaryBase::EntryConstraint< PO >:
![]() Detailed Descriptiontemplate<typename PO>
This 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.
|
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 | ( | ) | [inline, virtual] |
no-op destructor
Definition at line 203 of file plistCollections.h.
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)
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::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 >::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
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:54 2007 by Doxygen 1.5.4 |