AFI
Advanced Forwarding Interface
|
Table that holds all the known and legal types for a sandbox. More...
#include <AftTypeTable.h>
Public Member Functions | |
AftTypeTable () | |
Constructor for AftTypeTable. | |
AftTypeTable (const AftTypeTable &table) | |
Copy constructor. More... | |
const AftTypeTableVector & | typeVector () const |
Return a reference to the type vector. More... | |
void | insert (const std::string &newName) |
bool | find (const std::string &name, AftTypeEntryPtr &typeEntry) |
bool | find (const std::string &name, AftTypeIndex &typeIndex) |
AftTypeEntryPtr | find (AftTypeIndex typeIndex) |
bool | isValid (AftTypeIndex typeIndex) |
Static Public Member Functions | |
static std::shared_ptr < AftTypeTable > | create () |
Factory convenience creator for shared_ptr to type table. | |
Protected Attributes | |
AftTypeTableMap | _typeMap |
std::map of type entries keyed by their names | |
AftTypeTableVector | _typeVector |
std::vector of type entries keyed by their index | |
Table that holds all the known and legal types for a sandbox.
AftTypeTable::AftTypeTable | ( | const AftTypeTable & | table | ) |
Copy constructor.
[in] | table | Reference to table to copy |
|
inline |
Return a reference to the type vector.