AFI
Advanced Forwarding Interface
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
AftTypeTable Class Reference

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 AftTypeTableVectortypeVector () 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
 

Detailed Description

Table that holds all the known and legal types for a sandbox.

Constructor & Destructor Documentation

AftTypeTable::AftTypeTable ( const AftTypeTable table)

Copy constructor.

Parameters
[in]tableReference to table to copy

Member Function Documentation

const AftTypeTableVector& AftTypeTable::typeVector ( ) const
inline

Return a reference to the type vector.

Returns
Reference to type vector

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