00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 #ifndef XML_INTEGER_HPP
00022 #define XML_INTEGER_HPP
00023 
00024 #include <xercesc/util/XMemory.hpp>
00025 
00026 XERCES_CPP_NAMESPACE_BEGIN
00027 
00028 class  XMLInteger : public XMemory
00029 {
00030 public:
00031 
00038     XMLInteger(const int intVal);
00039 
00040     ~XMLInteger();
00041 
00045     int intValue() const;
00046 
00047 private:
00048     
00049     
00050     
00051     XMLInteger(const XMLInteger&);
00052     XMLInteger& operator=(const XMLInteger&);
00053 
00054     
00055     
00056     
00057     
00058     
00059     
00060     
00061     int         fData;
00062 
00063 };
00064 
00065 inline XMLInteger::XMLInteger(const int intVal)
00066 :fData(intVal)
00067 {
00068 }
00069 
00070 inline XMLInteger::~XMLInteger()
00071 {
00072 }
00073 
00074 inline int XMLInteger::intValue() const
00075 {
00076     return fData;
00077 }
00078 
00079 XERCES_CPP_NAMESPACE_END
00080 
00081 #endif