00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100 #if !defined(XMLATTDEFLIST_HPP)
00101 #define XMLATTDEFLIST_HPP
00102
00103 #include <xercesc/util/XercesDefs.hpp>
00104 #include <xercesc/util/XMemory.hpp>
00105 #include <xercesc/internal/XSerializable.hpp>
00106
00107 XERCES_CPP_NAMESPACE_BEGIN
00108
00109 class XMLAttDef;
00110
00128 class XMLAttDefList : public XSerializable, public XMemory
00129 {
00130 public:
00131
00132
00133
00134
00137 virtual ~XMLAttDefList();
00139
00140
00141
00142
00143
00144
00148 virtual bool hasMoreElements() const = 0;
00149 virtual bool isEmpty() const = 0;
00150 virtual XMLAttDef* findAttDef
00151 (
00152 const unsigned long uriID
00153 , const XMLCh* const attName
00154 ) = 0;
00155 virtual const XMLAttDef* findAttDef
00156 (
00157 const unsigned long uriID
00158 , const XMLCh* const attName
00159 ) const = 0;
00160 virtual XMLAttDef* findAttDef
00161 (
00162 const XMLCh* const attURI
00163 , const XMLCh* const attName
00164 ) = 0;
00165 virtual const XMLAttDef* findAttDef
00166 (
00167 const XMLCh* const attURI
00168 , const XMLCh* const attName
00169 ) const = 0;
00170
00174 virtual XMLAttDef& nextElement() = 0;
00175
00179 virtual void Reset() = 0;
00180
00184 virtual unsigned int getAttDefCount() const = 0;
00185
00189 virtual XMLAttDef &getAttDef(unsigned int index) = 0;
00190
00194 virtual const XMLAttDef &getAttDef(unsigned int index) const = 0;
00195
00196
00197
00198
00199 DECL_XSERIALIZABLE(XMLAttDefList)
00200
00201
00202
00203
00204
00205
00208
00216 MemoryManager* getMemoryManager() const;
00217
00219
00220 protected :
00221
00222
00223
00224 XMLAttDefList(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
00225
00226 private:
00227
00228 XMLAttDefList(const XMLAttDefList&);
00229 XMLAttDefList& operator=(const XMLAttDefList&);
00230
00231 MemoryManager* fMemoryManager;
00232 };
00233
00234
00235
00236
00237
00238
00239
00240 inline MemoryManager* XMLAttDefList::getMemoryManager() const
00241 {
00242 return fMemoryManager;
00243 }
00244
00245
00246
00247
00248 inline XMLAttDefList::~XMLAttDefList()
00249 {
00250 }
00251
00252
00253
00254
00255
00256 inline XMLAttDefList::XMLAttDefList(MemoryManager* const manager):
00257 fMemoryManager(manager)
00258 {
00259 }
00260
00261 XERCES_CPP_NAMESPACE_END
00262
00263 #endif