Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plistPrimitives.h File Reference


Detailed Description

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

Author
ejt
Name
tekkotsu-4_0
Revision
1.35
State
Exp
Date
2007/11/20 18:11:48

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 >
struct  plist::Primitive< T >::conversion_policy< U, V >
class  plist::Primitive< char >
struct  plist::Primitive< char >::conversion_policy< U, V >
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, V >
class  plist::Primitive< std::string >
 Provides a std::string specialization of Primitive<T>. More...
struct  plist::Primitive< std::string >::conversion_policy< U, V >
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, V >

libxml2 forward declarations

forward declaration of the libxml2 struct of the same name

void(* xmlFree )(void *ptr)
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)

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.

Functions

template<typename T>
const char * plist::getTypeName ()
 returns a string indicating the plist entry type to use for the specified 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 572 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 578 of file plistPrimitives.h.


Function Documentation

xmlNode* xmlAddPrevSibling ( xmlNode node,
xmlNode sibling 
)

xmlChar* xmlGetProperty ( xmlNode node,
const xmlChar name 
)

xmlAttr* xmlHasProperty ( xmlNode node,
const xmlChar name 
)

int xmlStrEqual ( const xmlChar a,
const xmlChar b 
)


Variable Documentation


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