OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
#include <StringIndex.h>
Public Member Functions | |
void | insert (const std::string &str, Atom *a) |
Atom * | get (const std::string &str) const |
void | remove (const std::string &str) |
size_t | size (void) const |
Private Attributes | |
std::map< std::string, Atom * > | idx |
Implements map from string to atom pointers. Used to implement the lookup of atoms according to thier name.
Definition at line 40 of file StringIndex.h.
|
inline |
Definition at line 50 of file StringIndex.h.
References idx.
|
inline |
Definition at line 46 of file StringIndex.h.
References idx.
|
inline |
Definition at line 57 of file StringIndex.h.
References idx.
|
inline |
Definition at line 61 of file StringIndex.h.
References idx.
|
private |
Definition at line 43 of file StringIndex.h.