Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::DictionaryBase::StringConversion Struct ReferenceAbstract base class to test whether the collection will accept strings (possibly converting to a value type, or storing directly as string depending on concrete type). More...
Inheritance diagram for plist::DictionaryBase::StringConversion:
Detailed DescriptionAbstract base class to test whether the collection will accept strings (possibly converting to a value type, or storing directly as string depending on concrete type). The point of this class is to handle the situation where you have a DictionaryBase and user input to append, and you don't want to have to test every combination of template parameters to DictionaryOf to find out if you can add the data. Instead, test dynamic_cast<plist::DictionaryBase::StringConversion>, and if it is successful, you can pass the string without having to know the actual value type of the dictionary. Definition at line 311 of file plistCollections.h.
Constructor & Destructor Documentation
no-op destructor Definition at line 312 of file plistCollections.h. Member Function Documentation
generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary Implemented in plist::DictionaryBase::ConversionTo< PO >, plist::DictionaryBase::WrapValueConversion< PO >, plist::DictionaryBase::ConversionTo< plist::Primitive< float > >, and plist::DictionaryBase::ConversionTo< plist::Primitive< double > >. The documentation for this struct was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:25 2016 by Doxygen 1.6.3 |