22 #ifndef _OPENCOG_NODEINDEX_H
23 #define _OPENCOG_NODEINDEX_H
45 std::vector<NameIndex>
idx;
71 template <
typename OutputIterator> OutputIterator
73 Type type,
const std::string& name,
bool subclass)
const
83 for (
Type s = 0; s < max; s++) {
97 #endif // _OPENCOG_NODEINDEX_H
Atom * get(const std::string &str) const
Atom * getAtom(Type type, const std::string &str) const
ClassServer & classserver(ClassServerFactory *=ClassServer::createInstance)
UnorderedHandleSet getHandleSet(Type type, const std::string &, bool subclass) const
std::vector< NameIndex > idx
OutputIterator getHandleSet(OutputIterator result, Type type, const std::string &name, bool subclass) const
unsigned short Type
type of Atoms, represented as short integer (16 bits)
std::unordered_set< Handle, handle_hash > UnorderedHandleSet
a hash that associates the handle to its unique identificator