dlvhex
2.5.0
|
Lookup table for aggregate atoms. More...
#include <include/dlvhex2/AggregateAtomTable.h>
Public Types | |
typedef Container::index < impl::AddressTag >::type | AddressIndex |
Public Member Functions | |
const AggregateAtom & | getByID (ID id) const throw () |
Retrieve by ID. | |
ID | storeAndGetID (const AggregateAtom &atom) throw () |
Store atom, assuming it does not exist. |
Lookup table for aggregate atoms.
Definition at line 44 of file AggregateAtomTable.h.
typedef Container::index<impl::AddressTag>::type AggregateAtomTable::AddressIndex |
Definition at line 59 of file AggregateAtomTable.h.
const AggregateAtom & AggregateAtomTable::getByID | ( | ID | id | ) | const throw () [inline] |
Retrieve by ID.
Assert that id.kind is correct. Assert that ID exists in table.
id | ID of an aggregate atom. |
id
. Definition at line 83 of file AggregateAtomTable.h.
Referenced by BOOST_AUTO_TEST_CASE(), Registry::getExternalAtomsInTuple(), Registry::getOutVariablesInID(), Registry::getVariablesInID(), and RawPrinter::print().
ID AggregateAtomTable::storeAndGetID | ( | const AggregateAtom & | atom | ) | throw () [inline] |
Store atom, assuming it does not exist.
atom | AggregateAtom to store. |
Definition at line 98 of file AggregateAtomTable.h.
Referenced by BOOST_AUTO_TEST_CASE().