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

Individual entry in the encapsulation table. More...

#include <AftEncapTable.h>

Public Member Functions

 AftEncapEntry (const std::string &newName, const AftFieldVector &newFields)
 Constructor for encap entries. More...
 
const std::string name () const
 
const AftFieldVector fields () const
 

Protected Attributes

std::string _name
 Unique name of encapsulation entry.
 
AftFieldVector _fields
 Fields used by encapsulation.
 

Detailed Description

Individual entry in the encapsulation table.

Constructor & Destructor Documentation

AftEncapEntry::AftEncapEntry ( const std::string &  newName,
const AftFieldVector newFields 
)
inline

Constructor for encap entries.

Parameters
[in]newNameReference to encap entry name
[in]newFieldsReference to vector of fields used by encap entry

Member Function Documentation

const AftFieldVector AftEncapEntry::fields ( ) const
inline
Returns
Vector of fields used by decap entry
const std::string AftEncapEntry::name ( ) const
inline
Returns
Name of decap entry

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