16 #ifndef ZORBA_ITEM_API_H
17 #define ZORBA_ITEM_API_H
20 #include <zorba/config.h>
28 namespace store {
class Item; }
30 namespace serialization
39 typedef std::vector<std::pair<String, String> >
NsBindings;
60 class ZORBA_DLL_PUBLIC
Item
75 Item(
const store::Item* item);
79 const Item& operator =(
const Item& rhs);
85 const Item& operator =(
const store::Item* rhs);
150 #ifdef ZORBA_WITH_JSON
175 getAtomizationValue()
const;
187 getStringValue()
const;
203 getUnsignedIntValue()
const;
211 getDoubleValue()
const;
219 getLongValue()
const;
251 getNamespace()
const;
261 getLocalName()
const;
281 isPosOrNegInf()
const;
291 getBooleanValue()
const;
315 getAttributes()
const;
357 getNodeName(
Item& aNodeName)
const;
369 #ifdef ZORBA_WITH_JSON
380 getJSONItemKind()
const;
390 getArraySize()
const;
401 getArrayValue(uint32_t aIndex)
const;
411 getObjectKeys()
const;
422 getObjectValue(
String aName)
const;
432 isStreamable()
const;
473 getBase64BinaryValue(
size_t& s)
const;
481 getCollectionName()
const;
493 friend class Unmarshaller;
495 store::Item * m_item;
std::vector< std::pair< String, String > > NsBindings
Used for Item::getNamespaceBindings() and ItemFactory::createElementNode().
The Zorba Item interface.
void operator&(serialization::Archiver &, const Diagnostic *&)