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

Static Public Member Functions

static int StrServiceTypeToInt (const std::string &type)
 
static const std::string & IntServiceTypeToStr (const ServiceInstance::ServiceType &type)
 
static int StrVirtualizationTypeToInt (const std::string &type)
 
static const std::string & IntVirtualizationTypeToStr (const ServiceInstance::VirtualizationType &type)
 
static int StrVRouterInstanceTypeToInt (const std::string &type)
 
static const std::string & IntVRouterInstanceTypeToStr (const ServiceInstance::VRouterInstanceType &type)
 

Static Public Attributes

static const std::string kOtherType = "Other"
 

Private Types

typedef std::map< std::string,
int > 
StrTypeToIntMap
 
typedef std::pair< std::string,
int > 
StrTypeToIntPair
 

Static Private Member Functions

static StrTypeToIntMap InitServiceTypeMap ()
 
static StrTypeToIntMap InitVirtualizationTypeMap ()
 
static StrTypeToIntMap InitVRouterInstanceTypeMap ()
 

Static Private Attributes

static StrTypeToIntMap service_type_map_ = InitServiceTypeMap()
 
static StrTypeToIntMap virtualization_type_map_ = InitVirtualizationTypeMap()
 
static StrTypeToIntMap vrouter_instance_type_map_ = InitVRouterInstanceTypeMap()
 

Detailed Description

Definition at line 37 of file service_instance.cc.

Member Typedef Documentation

typedef std::map<std::string, int> ServiceInstanceTypesMapping::StrTypeToIntMap
private

Definition at line 51 of file service_instance.cc.

typedef std::pair<std::string, int> ServiceInstanceTypesMapping::StrTypeToIntPair
private

Definition at line 52 of file service_instance.cc.

Member Function Documentation

static StrTypeToIntMap ServiceInstanceTypesMapping::InitServiceTypeMap ( )
inlinestaticprivate

Definition at line 57 of file service_instance.cc.

static StrTypeToIntMap ServiceInstanceTypesMapping::InitVirtualizationTypeMap ( )
inlinestaticprivate

Definition at line 65 of file service_instance.cc.

static StrTypeToIntMap ServiceInstanceTypesMapping::InitVRouterInstanceTypeMap ( )
inlinestaticprivate

Definition at line 74 of file service_instance.cc.

const std::string & ServiceInstanceTypesMapping::IntServiceTypeToStr ( const ServiceInstance::ServiceType type)
static

Definition at line 972 of file service_instance.cc.

const std::string & ServiceInstanceTypesMapping::IntVirtualizationTypeToStr ( const ServiceInstance::VirtualizationType type)
static

Definition at line 983 of file service_instance.cc.

const std::string & ServiceInstanceTypesMapping::IntVRouterInstanceTypeToStr ( const ServiceInstance::VRouterInstanceType type)
static

Definition at line 994 of file service_instance.cc.

int ServiceInstanceTypesMapping::StrServiceTypeToInt ( const std::string &  type)
static

Definition at line 946 of file service_instance.cc.

int ServiceInstanceTypesMapping::StrVirtualizationTypeToInt ( const std::string &  type)
static

Definition at line 954 of file service_instance.cc.

int ServiceInstanceTypesMapping::StrVRouterInstanceTypeToInt ( const std::string &  type)
static

Definition at line 963 of file service_instance.cc.

Member Data Documentation

const std::string ServiceInstanceTypesMapping::kOtherType = "Other"
static

Definition at line 39 of file service_instance.cc.

ServiceInstanceTypesMapping::StrTypeToIntMap ServiceInstanceTypesMapping::service_type_map_ = InitServiceTypeMap()
staticprivate

Definition at line 53 of file service_instance.cc.

ServiceInstanceTypesMapping::StrTypeToIntMap ServiceInstanceTypesMapping::virtualization_type_map_ = InitVirtualizationTypeMap()
staticprivate

Definition at line 54 of file service_instance.cc.

ServiceInstanceTypesMapping::StrTypeToIntMap ServiceInstanceTypesMapping::vrouter_instance_type_map_ = InitVRouterInstanceTypeMap()
staticprivate

Definition at line 55 of file service_instance.cc.


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