29 #include <xqilla/framework/XQillaExport.hpp>
32 #include <xercesc/util/RefHash2KeysTableOf.hpp>
49 typedef XERCES_CPP_NAMESPACE_QUALIFIER RefHash2KeysTableOf< VarHashEntry<TYPE> >
VarHash;
60 void remove(
unsigned int nsID,
const XMLCh* name);
61 std::vector< std::pair<unsigned int, const XMLCh*> >
getVars()
const;
75 _map(17, true, memMgr)
97 return _map.get(name,nsID);
103 _map.put((
void*)_memMgr->getPooledString(name),nsID,value);
109 _map.removeKey(name,nsID);
115 std::vector< std::pair<unsigned int, const XMLCh*> > result;
116 XERCES_CPP_NAMESPACE_QUALIFIER RefHash2KeysTableOfEnumerator< VarHashEntry<TYPE> > iterator(const_cast<VarHash*>(&_map));
117 while(iterator.hasMoreElements())
121 iterator.nextElementKey((
void*&)name, nsID);
122 result.push_back(std::pair<unsigned int, const XMLCh*>(nsID,name));