Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plistPrimitives.h File Reference


Detailed Description

Author:
Ethan Tira-Thompson (ejt) (Creator)
Author
ejt
Name
Revision
1.22
State
Exp
Date
2007/04/09 22:23:41

Definition in file plistPrimitives.h.

#include "plistBase.h"
#include <map>

Include dependency graph for plistPrimitives.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::Primitive< T >
 Implements type-specific functionality through template specialization, mainly involving value conversion and stringification formatting. More...
struct  plist::Primitive< T >::conversion_policy< U >
class  plist::Primitive< char >
 provides a char specialization of plist::Primitive<T>, adds a unique numeric property to the usual template implementation More...
struct  plist::Primitive< char >::conversion_policy< U >
class  plist::Primitive< unsigned char >
 provides an unsigned char specialization of plist::Primitive<T>, adds a unique numeric property to the usual template implementation More...
struct  plist::Primitive< unsigned char >::conversion_policy< U >
class  plist::Primitive< std::string >
 Provides a std::string specialization of Primitive<T>. More...
struct  plist::Primitive< std::string >::conversion_policy< U >
class  plist::NamedEnumerationBase
 provides some accessors common across NamedEnumeration types 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...
struct  plist::NamedEnumeration< T >::conversion_policy< U >

libxml2 forward declarations

forward declaration of the libxml2 struct of the same name

xmlNodexmlAddPrevSibling (xmlNode *node, xmlNode *sibling)
xmlNodexmlNewText (const xmlChar *s)
xmlNodexmlNewComment (const xmlChar *s)
xmlNodexmlAddChild (xmlNode *parent, xmlNode *child)
xmlNodexmlNewChild (xmlNode *parent, xmlNs *ns, const xmlChar *name, const xmlChar *content)
int xmlStrEqual (const xmlChar *a, const xmlChar *b)
xmlCharxmlNodeGetContent (xmlNode *node)
void xmlNodeSetContent (xmlNode *node, const xmlChar *content)
xmlAttrxmlHasProperty (xmlNode *node, const xmlChar *name)
xmlCharxmlGetProperty (xmlNode *node, const xmlChar *name)
long xmlGetLineNo (xmlNode *node)
void xmlNodeSetName (xmlNode *node, const xmlChar *name)
void xmlFreeNode (xmlNode *node)
void xmlUnlinkNode (xmlNode *node)
void(*) xmlFree (void *ptr)

Defines

#define INSTANTIATE_ALL_NAMEDENUMERATION_STATICS()
 Unless you enable GLOBAL_PLIST_STATICS, call this macro in each translation unit which introduces new template types.
#define INSTANTIATE_NAMEDENUMERATION_STATICS(T)
 Unless you enable GLOBAL_PLIST_STATICS, call this macro in one of your source files to provide a definition of the statics for a specific type.


Define Documentation

 
#define INSTANTIATE_ALL_NAMEDENUMERATION_STATICS (  ) 

Value:

template<typename T> std::map<std::string,T> plist::NamedEnumeration<T>::namesToVals; \
  template<typename T> std::map<T,std::string> plist::NamedEnumeration<T>::valsToNames;
Unless you enable GLOBAL_PLIST_STATICS, call this macro in each translation unit which introduces new template types.

See also:
NamedEnumeration for further discussion

Definition at line 474 of file plistPrimitives.h.

#define INSTANTIATE_NAMEDENUMERATION_STATICS (  ) 

Value:

template<> std::map<std::string,T> plist::NamedEnumeration<T>::namesToVals = std::map<std::string,T>(); \
  template<> std::map<T,std::string> plist::NamedEnumeration<T>::valsToNames = std::map<T,std::string>();
Unless you enable GLOBAL_PLIST_STATICS, call this macro in one of your source files to provide a definition of the statics for a specific type.

See also:
NamedEnumeration for further discussion

Definition at line 480 of file plistPrimitives.h.


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