Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plistBase.h File Reference


Detailed Description

Author:
Ethan Tira-Thompson (ejt) (Creator)

Author
ejt
Name
tekkotsu-4_0
Revision
1.18
State
Exp
Date
2007/11/15 02:44:06

Definition in file plistBase.h.

#include "XMLLoadSave.h"
#include "Cloneable.h"
#include <exception>
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <set>
#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, V >
 specifies that collections (e.g. plist::Array or plist::Dictionary) of these abstract base classes (ObjectBase, PrimitiveBase) can convert any primitive type to a plist::Primitive wrapper More...
class  plist::PrimitiveBase
 Provides common functionality to all primitive value classes (implemented in a templated subclass Primitive). More...

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()


Define Documentation

#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

Definition at line 59 of file plistBase.h.

#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

Definition at line 70 of file plistBase.h.

#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

Definition at line 72 of file plistBase.h.

#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

Definition at line 74 of file plistBase.h.

#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

Definition at line 76 of file plistBase.h.


Typedef Documentation

typedef _xmlAttr xmlAttr

forward declaration of xmlAttr to avoid including actual header here

Definition at line 46 of file plistBase.h.

typedef unsigned char xmlChar

forward declaration of xmlChar to avoid including actual header here

Definition at line 48 of file plistBase.h.

typedef _xmlDoc xmlDoc

forward declaration of xmlDoc to avoid including actual header here

Definition at line 45 of file plistBase.h.

typedef _xmlNode xmlNode

forward declaration of xmlNode to avoid including actual header here

Definition at line 43 of file plistBase.h.

typedef _xmlNs xmlNs

forward declaration of xmlNs to avoid including actual header here

Definition at line 47 of file plistBase.h.


Tekkotsu v4.0
Generated Thu Nov 22 00:56:41 2007 by Doxygen 1.5.4