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

Class used to describe an individual field entry. More...

#include <AftFieldTable.h>

Public Member Functions

 AftFieldEntry (const std::string &newName, uint32_t newBitLength, uint32_t newHwID)
 Constructor for field entries. More...
 
const std::string name () const
 
const uint32_t bitlength () const
 
const uint32_t hwID () const
 

Protected Attributes

std::string _name
 Name of the field entry.
 
uint32_t _bitlength
 Length of the field entry in bits.
 
uint32_t _hwID
 Value of any associated hardware ID reference.
 

Detailed Description

Class used to describe an individual field entry.

Constructor & Destructor Documentation

AftFieldEntry::AftFieldEntry ( const std::string &  newName,
uint32_t  newBitLength,
uint32_t  newHwID 
)
inline

Constructor for field entries.

Parameters
[in]newNameReference to field entry name
[in]newBitLengthLength of field entry in bits
[in]newHwIDValue of any associated hardware ID reference

Member Function Documentation

const uint32_t AftFieldEntry::bitlength ( ) const
inline
Returns
Length of the field entry in bits
const uint32_t AftFieldEntry::hwID ( ) const
inline
Returns
Value of any associated hardware ID reference
const std::string AftFieldEntry::name ( ) const
inline
Returns
Name of the field entry

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