Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plistBase.h File Reference


Detailed Description

Author:
Ethan Tira-Thompson (ejt) (Creator)
Author
ejt
Name
Revision
1.11
State
Exp
Date
2007/02/07 03:54:10

Definition in file plistBase.h.

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

Include dependency graph for plistBase.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::CollectionListener
 If you wish to be notified any time an entry is added, removed, or replaced from a Dictionary, Array, or Vector, inherit from this and implement one or both of the functions, then register it with the collection's addCollectionListener(). More...
class  plist::ObjectBase
 This base class provides the root functionality for all plist entities -- Dictionary and the various templated subclasses of PrimitiveBase. More...
struct  plist::ObjectBase::conversion_policy< U >
class  plist::PrimitiveBase
 Provides common functionality to all primitive value classes (implemented in a templated subclass Primitive). More...
struct  plist::PrimitiveBase::conversion_policy< U >

Defines

#define PLIST_CLONE_ABS(TYPE)   virtual TYPE* clone() const __attribute__ ((warn_unused_result)) =0;
 defines abstract clone() (=0) using polymorphic return type TYPE if supported by current version of gcc, Cloneable otherwise
#define PLIST_CLONE_DEF(TYPE, RETVAL)   virtual TYPE* clone() const __attribute__ ((warn_unused_result));
 declares clone() using polymorphic return type TYPE if supported by current version of gcc, Cloneable otherwise; returns RETVAL
#define PLIST_CLONE_IMP(TYPE, RETVAL)   TYPE* TYPE::clone() const { return RETVAL; }
 implements clone() using polymorphic return type TYPE if supported by current version of gcc, Cloneable otherwise; returns RETVAL
#define PLIST_CLONE_IMPT(TEMPL, TYPE, RETVAL)   template<typename TEMPL> TYPE<TEMPL>* TYPE<TEMPL>::clone() const { return RETVAL; }
 implements clone() using templated polymorphic return type TYPE if supported by current version of gcc, Cloneable otherwise; returns RETVAL
#define PLIST_CLONE_IMPT2(TEMPL1, TEMPL2, TYPE, RETVAL)   template<typename TEMPL1,typename TEMPL2> TYPE<TEMPL1,TEMPL2>* TYPE<TEMPL1,TEMPL2>::clone() const { return RETVAL; }
 implements clone() using templated polymorphic return type TYPE if supported by current version of gcc, Cloneable otherwise; returns RETVAL

Typedefs

typedef _xmlNode xmlNode
 forward declaration of xmlNode to avoid including actual header here
typedef _xmlDoc xmlDoc
 forward declaration of xmlDoc to avoid including actual header here
typedef _xmlAttr xmlAttr
 forward declaration of xmlAttr to avoid including actual header here
typedef _xmlNs xmlNs
 forward declaration of xmlNs to avoid including actual header here
typedef unsigned char xmlChar
 forward declaration of xmlChar to avoid including actual header here

Functions

std::ostream & plist::operator<< (std::ostream &os, const ObjectBase &pb)
 output of an ObjectBase to a stream
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()


Tekkotsu v3.0
Generated Fri May 11 20:06:15 2007 by Doxygen 1.4.7