dlvhex  2.1.0
PredicateTable Class Reference

#include <include/dlvhex2/PredicateTable.h>

Inheritance diagram for PredicateTable:
Collaboration diagram for PredicateTable:

Public Types

typedef Container::index
< impl::AddressTag >::type 
AddressIndex
typedef AddressIndex::iterator AddressIterator
typedef Container::index
< impl::PredicateNameTag >
::type 
PredicateNameIndex

Public Member Functions

const PredicategetByID (ID id) const throw ()
void setArity (ID id, int arity)
ID getIDByString (const std::string &str) const throw ()
const PredicategetByString (const std::string &str) const throw ()
ID storeAndGetID (const Predicate &symb) throw ()
std::pair< AddressIterator,
AddressIterator
getAllByAddress () const throw ()

Detailed Description

Definition at line 46 of file PredicateTable.h.


Member Typedef Documentation

typedef Container::index<impl::AddressTag>::type PredicateTable::AddressIndex

Definition at line 67 of file PredicateTable.h.

typedef AddressIndex::iterator PredicateTable::AddressIterator

Definition at line 68 of file PredicateTable.h.

Definition at line 69 of file PredicateTable.h.


Member Function Documentation

const Predicate & PredicateTable::getByID ( ID  id) const throw () [inline]
const Predicate & PredicateTable::getByString ( const std::string &  str) const throw () [inline]
ID PredicateTable::getIDByString ( const std::string &  str) const throw () [inline]
void PredicateTable::setArity ( ID  id,
int  arity 
) [inline]
ID PredicateTable::storeAndGetID ( const Predicate symb) throw () [inline]

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