OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VrfRouteImport Class Reference

#include <vrf_route_import.h>

Collaboration diagram for VrfRouteImport:

Public Types

typedef boost::array< uint8_t,
kSize
bytes_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

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

Definition at line 21 of file vrf_route_import.h.

Constructor & Destructor Documentation

VrfRouteImport::VrfRouteImport ( )

Definition at line 16 of file vrf_route_import.cc.

VrfRouteImport::VrfRouteImport ( const bytes_type data)
explicit

Definition at line 20 of file vrf_route_import.cc.

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

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:

const bytes_type& VrfRouteImport::GetExtCommunity ( ) const
inline

Definition at line 46 of file vrf_route_import.h.

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:

Ip4Address VrfRouteImport::GetIPv4Address ( ) const

Definition at line 24 of file vrf_route_import.cc.

Here is the call graph for this function:

uint16_t VrfRouteImport::GetNumber ( ) const

Definition at line 28 of file vrf_route_import.cc.

Here is the call graph for this function:

bool VrfRouteImport::IsNull ( ) const
inline

Definition at line 27 of file vrf_route_import.h.

Here is the call graph for this function:

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

Definition at line 42 of file vrf_route_import.h.

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

Definition at line 33 of file vrf_route_import.h.

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

Definition at line 39 of file vrf_route_import.h.

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

Definition at line 36 of file vrf_route_import.h.

uint8_t VrfRouteImport::Subtype ( ) const
inline

Definition at line 29 of file vrf_route_import.h.

string VrfRouteImport::ToString ( ) const

Definition at line 39 of file vrf_route_import.cc.

Here is the call graph for this function:

uint8_t VrfRouteImport::Type ( ) const
inline

Definition at line 28 of file vrf_route_import.h.

Member Data Documentation

bytes_type VrfRouteImport::data_
private

Definition at line 56 of file vrf_route_import.h.

const int VrfRouteImport::kSize = 8
static

Definition at line 19 of file vrf_route_import.h.

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: