OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
opencog::FixedIntegerIndex Class Reference

#include <FixedIntegerIndex.h>

+ Inheritance diagram for opencog::FixedIntegerIndex:

Public Member Functions

 ~FixedIntegerIndex ()
 
void insert (size_t i, Atom *a)
 
void remove (size_t i, Atom *a)
 
size_t size (size_t i) const
 
size_t size (void) const
 

Protected Member Functions

void resize (size_t sz)
 

Protected Attributes

std::vector< UnorderedAtomSetidx
 

Detailed Description

Implements a vector of atom sets; each set can be found via an integer index.

Definition at line 43 of file FixedIntegerIndex.h.

Constructor & Destructor Documentation

opencog::FixedIntegerIndex::~FixedIntegerIndex ( )
inline

Definition at line 53 of file FixedIntegerIndex.h.

Member Function Documentation

void opencog::FixedIntegerIndex::insert ( size_t  i,
Atom a 
)
inline

Definition at line 54 of file FixedIntegerIndex.h.

References idx.

+ Here is the caller graph for this function:

void opencog::FixedIntegerIndex::remove ( size_t  i,
Atom a 
)
inline

Definition at line 60 of file FixedIntegerIndex.h.

References python.create_atoms_by_type::a, and idx.

void opencog::FixedIntegerIndex::resize ( size_t  sz)
inlineprotected

Definition at line 47 of file FixedIntegerIndex.h.

References idx.

+ Here is the caller graph for this function:

size_t opencog::FixedIntegerIndex::size ( size_t  i) const
inline

Definition at line 66 of file FixedIntegerIndex.h.

References idx.

+ Here is the caller graph for this function:

size_t FixedIntegerIndex::size ( void  ) const

Definition at line 26 of file FixedIntegerIndex.cc.

References idx.

Member Data Documentation

std::vector<UnorderedAtomSet> opencog::FixedIntegerIndex::idx
protected

Definition at line 46 of file FixedIntegerIndex.h.


The documentation for this class was generated from the following files: