Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plist.h File Reference


Detailed Description

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

Author:
Ethan Tira-Thompson (ejt) (Creator)
Author
ejt
Name
tekkotsu-2_4_1
Revision
1.9
State
Exp
Date
2005/08/07 04:11:04

Definition in file plist.h.

#include "XMLLoadSave.h"
#include <exception>
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <map>
#include <list>

Include dependency graph for plist.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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


Define Documentation

#define PLIST_OBJECT_SPECIALIZATION T,
PRIM   ) 
 

a macro to provide template specializations for the numeric primitives, which only need to vary their string name

Definition at line 508 of file plist.h.


Tekkotsu v2.4.1
Generated Tue Aug 16 16:34:07 2005 by Doxygen 1.4.4