OpenSDN source code
VrfRouteImport Class Reference

#include <vrf_route_import.h>

Collaboration diagram for VrfRouteImport:

Public Types

typedef boost::array< uint8_t, kSizebytes_type
 

Public Member Functions

 VrfRouteImport ()
 
 VrfRouteImport (const bytes_type &data)
 
 VrfRouteImport (const uint32_t bgp_id, const uint32_t ri_index)
 
bool IsNull () const
 
uint8_t Type () const
 
uint8_t Subtype () const
 
Ip4Address GetIPv4Address () const
 
uint16_t GetNumber () const
 
bool operator< (const VrfRouteImport &rhs) const
 
bool operator> (const VrfRouteImport &rhs) const
 
bool operator== (const VrfRouteImport &rhs) const
 
bool operator!= (const VrfRouteImport &rhs) const
 
const bytes_typeGetExtCommunity () const
 
const uint64_t GetExtCommunityValue () const
 
std::string ToString () const
 

Static Public Member Functions

static VrfRouteImport FromString (const std::string &str, boost::system::error_code *error=NULL)
 

Static Public Attributes

static const int kSize = 8
 
static VrfRouteImport null_rt_import
 

Private Attributes

bytes_type data_
 

Detailed Description

Definition at line 17 of file vrf_route_import.h.

Member Typedef Documentation

◆ bytes_type

typedef boost::array<uint8_t, kSize> VrfRouteImport::bytes_type

Definition at line 21 of file vrf_route_import.h.

Constructor & Destructor Documentation

◆ VrfRouteImport() [1/3]

VrfRouteImport::VrfRouteImport ( )

Definition at line 16 of file vrf_route_import.cc.

◆ VrfRouteImport() [2/3]

VrfRouteImport::VrfRouteImport ( const bytes_type data)
explicit

Definition at line 20 of file vrf_route_import.cc.

◆ VrfRouteImport() [3/3]

VrfRouteImport::VrfRouteImport ( const uint32_t  bgp_id,
const uint32_t  ri_index 
)

Definition at line 32 of file vrf_route_import.cc.

Here is the call graph for this function:

Member Function Documentation

◆ FromString()

VrfRouteImport VrfRouteImport::FromString ( const std::string &  str,
boost::system::error_code *  error = NULL 
)
static

Definition at line 53 of file vrf_route_import.cc.

Here is the call graph for this function:

◆ GetExtCommunity()

const bytes_type& VrfRouteImport::GetExtCommunity ( ) const
inline

Definition at line 46 of file vrf_route_import.h.

◆ GetExtCommunityValue()

const uint64_t VrfRouteImport::GetExtCommunityValue ( ) const
inline

Definition at line 47 of file vrf_route_import.h.

Here is the call graph for this function:

◆ GetIPv4Address()

Ip4Address VrfRouteImport::GetIPv4Address ( ) const

Definition at line 24 of file vrf_route_import.cc.

Here is the call graph for this function:

◆ GetNumber()

uint16_t VrfRouteImport::GetNumber ( ) const

Definition at line 28 of file vrf_route_import.cc.

Here is the call graph for this function:

◆ IsNull()

bool VrfRouteImport::IsNull ( ) const
inline

Definition at line 27 of file vrf_route_import.h.

Here is the call graph for this function:

◆ operator!=()

bool VrfRouteImport::operator!= ( const VrfRouteImport rhs) const
inline

Definition at line 42 of file vrf_route_import.h.

◆ operator<()

bool VrfRouteImport::operator< ( const VrfRouteImport rhs) const
inline

Definition at line 33 of file vrf_route_import.h.

◆ operator==()

bool VrfRouteImport::operator== ( const VrfRouteImport rhs) const
inline

Definition at line 39 of file vrf_route_import.h.

◆ operator>()

bool VrfRouteImport::operator> ( const VrfRouteImport rhs) const
inline

Definition at line 36 of file vrf_route_import.h.

◆ Subtype()

uint8_t VrfRouteImport::Subtype ( ) const
inline

Definition at line 29 of file vrf_route_import.h.

◆ ToString()

string VrfRouteImport::ToString ( ) const

Definition at line 39 of file vrf_route_import.cc.

Here is the call graph for this function:

◆ Type()

uint8_t VrfRouteImport::Type ( ) const
inline

Definition at line 28 of file vrf_route_import.h.

Member Data Documentation

◆ data_

bytes_type VrfRouteImport::data_
private

Definition at line 56 of file vrf_route_import.h.

◆ kSize

const int VrfRouteImport::kSize = 8
static

Definition at line 19 of file vrf_route_import.h.

◆ null_rt_import

VrfRouteImport VrfRouteImport::null_rt_import
static

Definition at line 20 of file vrf_route_import.h.


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