19 #ifndef SIMPLE_PROPERTIES_HPP
20 #define SIMPLE_PROPERTIES_HPP
22 #include <ndb_global.h>
82 const SP2StructMapping[], Uint32 mapSz,
84 bool ignoreUnknownKeys);
89 const SP2StructMapping[], Uint32 mapSz,
139 char * getString(
char * dst)
const;
158 virtual void reset() = 0;
160 virtual bool step(Uint32 len) = 0;
161 virtual bool getWord(Uint32 * dst) = 0;
162 virtual bool peekWord(Uint32 * dst)
const = 0;
163 virtual bool peekWords(Uint32 * dst, Uint32 len)
const = 0;
174 bool add(Uint16 key, Uint32 value);
175 bool add(Uint16 key,
const char * value);
176 bool add(Uint16 key,
const void* value,
int len);
179 virtual bool reset() = 0;
180 virtual bool putWord(Uint32 val) = 0;
181 virtual bool putWords(
const Uint32 * src, Uint32 len) = 0;
183 bool add(
const char* value,
int len);
195 virtual void reset();
196 virtual bool step(Uint32 len);
197 virtual bool getWord(Uint32 * dst);
198 virtual bool peekWord(Uint32 * dst)
const ;
199 virtual bool peekWords(Uint32 * dst, Uint32 len)
const;
203 const Uint32 * m_src;
214 virtual bool reset();
215 virtual bool putWord(Uint32 val);
216 virtual bool putWords(
const Uint32 * src, Uint32 len);
217 Uint32 getWordsUsed()
const;
232 virtual bool reset();
233 virtual bool putWord(Uint32 val);
234 virtual bool putWords(
const Uint32 * src, Uint32 len);
235 Uint32 getWordsUsed()
const;
252 virtual void reset();
253 virtual bool step(Uint32 len);
254 virtual bool getWord(Uint32 * dst);
255 virtual bool peekWord(Uint32 * dst)
const ;
256 virtual bool peekWords(Uint32 * dst, Uint32 len)
const;
257 Uint32 getSize()
const;
258 bool getWords(Uint32 * dst, Uint32 len);
269 Uint32 SimplePropertiesSectionReader::getSize()
const
285 virtual bool reset();
286 virtual bool putWord(Uint32 val);
287 virtual bool putWords(
const Uint32 * src, Uint32 len);
288 Uint32 getWordsUsed()
const;