Dripline-Cpp  v2.4.2
Dripline Implementation in C++
Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | List of all members
routing_key Class Reference

Parses routing keys and stores the tokenized information. More...

#include <specifier.hh>

Inheritance diagram for routing_key:
Inheritance graph

Public Types

typedef std::deque< std::string > container_type
 

Public Member Functions

 routing_key (const std::string &a_rk="")
 
virtual ~routing_key ()
 
void parse (const std::string &a_rk)
 Parses a routing key. More...
 
std::string to_string () const
 Converts the routing-key tokens into a single string. More...
 

Static Public Attributes

static const char f_node_separator = '.'
 

Private Member Functions

void add_next (const std::string &a_addr)
 

Detailed Description

Parses routing keys and stores the tokenized information.

Author
N.S. Oblath

Definition at line 27 of file specifier.hh.

Member Typedef Documentation

◆ container_type

typedef std::deque< std::string > container_type

Definition at line 30 of file specifier.hh.

Constructor & Destructor Documentation

◆ routing_key()

routing_key ( const std::string &  a_rk = "")

Definition at line 19 of file specifier.cc.

◆ ~routing_key()

~routing_key ( )
virtual

Definition at line 25 of file specifier.cc.

Member Function Documentation

◆ add_next()

void add_next ( const std::string &  a_addr)
private

Definition at line 48 of file specifier.cc.

◆ parse()

void parse ( const std::string &  a_rk)

Parses a routing key.

Definition at line 29 of file specifier.cc.

◆ to_string()

std::string to_string ( ) const

Converts the routing-key tokens into a single string.

Definition at line 37 of file specifier.cc.

Member Data Documentation

◆ f_node_separator

const char f_node_separator = '.'
static

Definition at line 45 of file specifier.hh.


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