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

#include <ifmap_uuid_mapper.h>

Public Types

typedef std::map< std::string,
IFMapNode * > 
UuidNodeMap
 
typedef UuidNodeMap::size_type Sz_t
 

Public Member Functions

std::string Add (uint64_t ms_long, uint64_t ls_long, IFMapNode *node)
 
void Delete (const std::string &uuid_str)
 
IFMapNodeFind (const std::string &uuid_str)
 
bool Exists (const std::string &uuid_str)
 
void PrintAllMappedEntries ()
 
Sz_t Size ()
 

Private Member Functions

void SetUuid (uint64_t ms_long, uint64_t ls_long, boost::uuids::uuid &uu_id)
 
std::string UuidToString (const boost::uuids::uuid &id)
 

Private Attributes

UuidNodeMap uuid_node_map_
 

Friends

class ShowIFMapUuidToNodeMapping
 

Detailed Description

Definition at line 24 of file ifmap_uuid_mapper.h.

Member Typedef Documentation

typedef UuidNodeMap::size_type IFMapUuidMapper::Sz_t

Definition at line 27 of file ifmap_uuid_mapper.h.

typedef std::map<std::string, IFMapNode *> IFMapUuidMapper::UuidNodeMap

Definition at line 26 of file ifmap_uuid_mapper.h.

Member Function Documentation

std::string IFMapUuidMapper::Add ( uint64_t  ms_long,
uint64_t  ls_long,
IFMapNode node 
)

Definition at line 34 of file ifmap_uuid_mapper.cc.

Here is the call graph for this function:

void IFMapUuidMapper::Delete ( const std::string &  uuid_str)

Definition at line 43 of file ifmap_uuid_mapper.cc.

bool IFMapUuidMapper::Exists ( const std::string &  uuid_str)

Definition at line 55 of file ifmap_uuid_mapper.cc.

IFMapNode * IFMapUuidMapper::Find ( const std::string &  uuid_str)

Definition at line 47 of file ifmap_uuid_mapper.cc.

void IFMapUuidMapper::PrintAllMappedEntries ( )

Definition at line 63 of file ifmap_uuid_mapper.cc.

Here is the call graph for this function:

void IFMapUuidMapper::SetUuid ( uint64_t  ms_long,
uint64_t  ls_long,
boost::uuids::uuid uu_id 
)
private

Definition at line 15 of file ifmap_uuid_mapper.cc.

Sz_t IFMapUuidMapper::Size ( )
inline

Definition at line 34 of file ifmap_uuid_mapper.h.

std::string IFMapUuidMapper::UuidToString ( const boost::uuids::uuid id)
private

Definition at line 28 of file ifmap_uuid_mapper.cc.

Friends And Related Function Documentation

friend class ShowIFMapUuidToNodeMapping
friend

Definition at line 37 of file ifmap_uuid_mapper.h.

Member Data Documentation

UuidNodeMap IFMapUuidMapper::uuid_node_map_
private

Definition at line 42 of file ifmap_uuid_mapper.h.


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