27 #include <xqilla/framework/XQillaExport.hpp>
30 #include <xercesc/util/RefHash2KeysTableOf.hpp>
47 typedef XERCES_CPP_NAMESPACE_QUALIFIER RefHash2KeysTableOf< VarHashEntry<TYPE> >
VarHash;
58 void remove(
unsigned int nsID,
const XMLCh* name);
59 std::vector< std::pair<unsigned int, const XMLCh*> >
getVars()
const;
73 _map(17, true, memMgr)
95 return _map.get(name,nsID);
101 _map.put((
void*)_memMgr->getPooledString(name),nsID,value);
107 _map.removeKey(name,nsID);
113 std::vector< std::pair<unsigned int, const XMLCh*> > result;
114 XERCES_CPP_NAMESPACE_QUALIFIER RefHash2KeysTableOfEnumerator< VarHashEntry<TYPE> > iterator(const_cast<VarHash*>(&_map));
115 while(iterator.hasMoreElements())
119 iterator.nextElementKey((
void*&)name, nsID);
120 result.push_back(std::pair<unsigned int, const XMLCh*>(nsID,name));