Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

XMLPropertyTypeDictionary.h

Go to the documentation of this file.
00001 
00037 #ifndef _AMIRE_PERSISTENCE_XML_PROPERTY_DICTIONARY_H
00038 #define _AMIRE_PERSISTENCE_XML_PROPERTY_DICTIONARY_H
00039 
00040 #include <xercesc/util/XMLString.hpp>
00041  
00042 namespace amire {
00043   namespace persistence {
00044         
00045     class AMIRE_EXPORT_API XMLPropertyTypeDictionary {
00046       protected:                   
00047         // xml name constants
00048         const XMLCh * enField;
00049         const XMLCh * enStructPropertyType;
00050         const XMLCh * enVectorPropertyType;
00051         const XMLCh * enBasePropertyType;
00052         const XMLCh * enPropertyTypeReference;
00053         
00054         const XMLCh * anPropertyType;
00055         const XMLCh * anName;
00056         const XMLCh * anBase;
00057         const XMLCh * anCategory;
00058         
00059         const XMLCh * avBoolean;
00060         const XMLCh * avChar;
00061         const XMLCh * avString;
00062         const XMLCh * avInteger;
00063         const XMLCh * avDouble;
00064         const XMLCh * avFloat;
00065         const XMLCh * avStruct;
00066         const XMLCh * avVector;
00067         const XMLCh * avBase;
00068       public:   
00069         
00070         XMLPropertyTypeDictionary(): enField(XMLString::transcode("Field")),
00071           enStructPropertyType(XMLString::transcode("StructPropertyType")),
00072           enVectorPropertyType(XMLString::transcode("VectorPropertyType")),
00073           enBasePropertyType(XMLString::transcode("BasePropertyType")),
00074           enPropertyTypeReference(XMLString::transcode("PropertyTypeReference")),
00075               
00076           anPropertyType(XMLString::transcode("propertyType")),
00077           anName(XMLString::transcode("name")),
00078           anBase(XMLString::transcode("base")),
00079           anCategory(XMLString::transcode("category")),
00080               
00081           avBoolean(XMLString::transcode("Boolean")),
00082           avChar(XMLString::transcode("Char")),
00083           avString(XMLString::transcode("String")),
00084           avInteger(XMLString::transcode("Integer")),
00085           avDouble(XMLString::transcode("Double")),
00086           avFloat(XMLString::transcode("Float")),
00087           avStruct(XMLString::transcode("Struct")),
00088           avVector(XMLString::transcode("Vector")),
00089           avBase(XMLString::transcode("Base")) {
00090         }; 
00091     };
00092   }
00093 }
00094 #endif

Generated on Tue May 20 17:23:54 2003 for AMIRE-Framework by doxygen1.3