Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plist Namespace Reference


Detailed Description

A collection of classes to implement the Propery List data storage format, a XML standard used by Apple and others.


Classes

class  Listener
 Base class for the plist listener callbacks. More...
class  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  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  ObjectBase
 This base class provides the root functionality for all plist entities -- Dictionary and the various templated subclasses of PrimitiveBase. More...
class  Dictionary
 Maintains a set of (key,value) pairs, where a value can be any subclass of ObjectBase. More...
class  PrimitiveBase
 Provides common functionality to all primitive value classes (implemented in a templated subclass Primitive). More...
class  Primitive
 Implements type-specific functionality through template specialization, mainly involving value conversion and stringification formatting. More...
class  Primitive< bool >
 provides a bool specialization of Primitive<T> More...
class  Primitive< char >
 provides a char specialization of Primitive<T> More...
class  Primitive< unsigned char >
 provides an unsigned char specialization of Primitive<T> More...
class  NamedEnumeration
 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...
class  Primitive< std::string >
 Provides a std::string specialization of Primitive<T>. More...

Functions

std::ostream & operator<< (std::ostream &os, const Dictionary &d)
 provides textual output
std::ostream & operator<< (std::ostream &os, const PrimitiveBase &pb)
 output stringified value (from PrimitiveBase::get()) to stream
std::istream & operator>> (std::istream &is, PrimitiveBase &pb)
 input value from next word in is, via PrimitiveBase::set()
 PLIST_OBJECT_SPECIALIZATION (short,"integer")
 short instance of PrimitiveBase ("integer")
 PLIST_OBJECT_SPECIALIZATION (unsigned short,"integer")
 unsigned long instance of PrimitiveBase ("integer")
 PLIST_OBJECT_SPECIALIZATION (int,"integer")
 int instance of PrimitiveBase ("integer")
 PLIST_OBJECT_SPECIALIZATION (long,"integer")
 long long instance of PrimitiveBase ("integer")
 PLIST_OBJECT_SPECIALIZATION (unsigned long long,"integer")
 unsigned long long instance of PrimitiveBase ("integer")
 PLIST_OBJECT_SPECIALIZATION (float,"real")
 float instance of PrimitiveBase ("real")
 PLIST_OBJECT_SPECIALIZATION (double,"real")
 double instance of PrimitiveBase ("real")
std::ostream & operator<< (std::ostream &os, const ObjectBase &pb)
 output of an ObjectBase to a stream


Function Documentation

std::ostream& plist::operator<< std::ostream &  os,
const ObjectBase &  pb
[inline]
 

output of an ObjectBase to a stream

Definition at line 719 of file plist.h.

std::ostream& plist::operator<< std::ostream &  os,
const PrimitiveBase &  pb
[inline]
 

output stringified value (from PrimitiveBase::get()) to stream

Definition at line 224 of file plist.h.

std::ostream & plist::operator<< std::ostream &  os,
const Dictionary &  d
 

provides textual output

Definition at line 354 of file plist.cc.

std::istream& plist::operator>> std::istream &  is,
PrimitiveBase &  pb
[inline]
 

input value from next word in is, via PrimitiveBase::set()

Definition at line 228 of file plist.h.

plist::PLIST_OBJECT_SPECIALIZATION double  ,
"real" 
 

double instance of PrimitiveBase ("real")

plist::PLIST_OBJECT_SPECIALIZATION float  ,
"real" 
 

float instance of PrimitiveBase ("real")

plist::PLIST_OBJECT_SPECIALIZATION unsigned long  long,
"integer" 
 

unsigned long long instance of PrimitiveBase ("integer")

plist::PLIST_OBJECT_SPECIALIZATION long  ,
"integer" 
 

long long instance of PrimitiveBase ("integer")

plist::PLIST_OBJECT_SPECIALIZATION int  ,
"integer" 
 

int instance of PrimitiveBase ("integer")

plist::PLIST_OBJECT_SPECIALIZATION unsigned  short,
"integer" 
 

unsigned long instance of PrimitiveBase ("integer")

plist::PLIST_OBJECT_SPECIALIZATION short  ,
"integer" 
 

short instance of PrimitiveBase ("integer")


Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:14 2005 by Doxygen 1.4.4