|
Namespaces |
namespace | plist |
Classes |
class | plist::Listener |
| Base class for the plist listener callbacks. More...
|
class | plist::PrimitiveListener |
| If you wish to be notified any time a particular plist primitive's value has been changed, inherit from this and implement the callback, then register it with the plist object through Primitive::addPrimitiveListener(). More...
|
class | plist::DictionaryListener |
| If you wish to be notified any time an entry is added or removed from a Dictionary, inherit from this and implement one or both of the functions, then register it with the dictionary's Dictionary::addDictionaryListener(). More...
|
class | plist::ObjectBase |
| This base class provides the root functionality for all plist entities -- Dictionary and the various templated subclasses of PrimitiveBase. More...
|
class | plist::Dictionary |
| Maintains a set of (key,value) pairs, where a value can be any subclass of ObjectBase. More...
|
class | plist::PrimitiveBase |
| Provides common functionality to all primitive value classes (implemented in a templated subclass Primitive). More...
|
class | plist::Primitive< T > |
| Implements type-specific functionality through template specialization, mainly involving value conversion and stringification formatting. More...
|
class | plist::Primitive< bool > |
| provides a bool specialization of Primitive<T> More...
|
class | plist::Primitive< char > |
| provides a char specialization of Primitive<T> More...
|
class | plist::Primitive< unsigned char > |
| provides an unsigned char specialization of Primitive<T> More...
|
class | plist::Primitive< std::string > |
| Provides a std::string specialization of Primitive<T>. More...
|
class | plist::NamedEnumeration< T > |
| Provides an interface for the use of enumerations in a plist -- you can specify values by either the string name or the corresponding integer value. More...
|
Defines |
#define | PLIST_OBJECT_SPECIALIZATION(T, PRIM) |
| a macro to provide template specializations for the numeric primitives, which only need to vary their string name
|
Functions |
std::ostream & | plist::operator<< (std::ostream &os, const Dictionary &d) |
| provides textual output
|
std::ostream & | plist::operator<< (std::ostream &os, const PrimitiveBase &pb) |
| output stringified value (from PrimitiveBase::get()) to stream
|
std::istream & | plist::operator>> (std::istream &is, PrimitiveBase &pb) |
| input value from next word in is, via PrimitiveBase::set()
|
| plist::PLIST_OBJECT_SPECIALIZATION (short,"integer") |
| short instance of PrimitiveBase ("integer")
|
| plist::PLIST_OBJECT_SPECIALIZATION (unsigned short,"integer") |
| unsigned long instance of PrimitiveBase ("integer")
|
| plist::PLIST_OBJECT_SPECIALIZATION (int,"integer") |
| int instance of PrimitiveBase ("integer")
|
| plist::PLIST_OBJECT_SPECIALIZATION (long,"integer") |
| long long instance of PrimitiveBase ("integer")
|
| plist::PLIST_OBJECT_SPECIALIZATION (unsigned long long,"integer") |
| unsigned long long instance of PrimitiveBase ("integer")
|
| plist::PLIST_OBJECT_SPECIALIZATION (float,"real") |
| float instance of PrimitiveBase ("real")
|
| plist::PLIST_OBJECT_SPECIALIZATION (double,"real") |
| double instance of PrimitiveBase ("real")
|
std::ostream & | plist::operator<< (std::ostream &os, const ObjectBase &pb) |
| output of an ObjectBase to a stream
|