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

Parses specifiers and stores the tokenized information. More...

#include <specifier.hh>

Inheritance diagram for specifier:
Inheritance graph

Public Types

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

Public Member Functions

 specifier (const std::string &a_unparsed="")
 
 specifier (const specifier &a_orig)
 
 specifier (specifier &&a_orig)
 
virtual ~specifier ()
 
const specifieroperator= (const specifier &a_orig)
 
const specifieroperator= (specifier &&a_orig)
 
void parse (const std::string &a_unparsed)
 Parse a new specifier. More...
 
void reparse ()
 Parses the contents of f_unparsed. More...
 
std::string to_string () const
 Converts specifier tokens into a single string. More...
 
 snake_case_mv_referrable (std::string, unparsed)
 Unparsed specifier string; if modified, reparse() should be called. More...
 

Static Public Attributes

static const char f_node_separator = '.'
 

Private Member Functions

void add_next (const std::string &a_addr)
 

Detailed Description

Parses specifiers and stores the tokenized information.

Author
N.S. Oblath

Definition at line 55 of file specifier.hh.

Member Typedef Documentation

◆ container_type

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

Definition at line 58 of file specifier.hh.

Constructor & Destructor Documentation

◆ specifier() [1/3]

specifier ( const std::string &  a_unparsed = "")

Definition at line 62 of file specifier.cc.

◆ specifier() [2/3]

specifier ( const specifier a_orig)

Definition at line 70 of file specifier.cc.

◆ specifier() [3/3]

specifier ( specifier &&  a_orig)

Definition at line 75 of file specifier.cc.

◆ ~specifier()

~specifier ( )
virtual

Definition at line 80 of file specifier.cc.

Member Function Documentation

◆ add_next()

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

Definition at line 123 of file specifier.cc.

◆ operator=() [1/2]

const specifier & operator= ( const specifier a_orig)

Definition at line 84 of file specifier.cc.

◆ operator=() [2/2]

const specifier & operator= ( specifier &&  a_orig)

Definition at line 91 of file specifier.cc.

◆ parse()

void parse ( const std::string &  a_unparsed)

Parse a new specifier.

Definition at line 98 of file specifier.cc.

◆ reparse()

void reparse ( )
inline

Parses the contents of f_unparsed.

Definition at line 87 of file specifier.hh.

◆ snake_case_mv_referrable()

snake_case_mv_referrable ( std::string  ,
unparsed   
)

Unparsed specifier string; if modified, reparse() should be called.

◆ to_string()

std::string to_string ( ) const

Converts specifier tokens into a single string.

Definition at line 112 of file specifier.cc.

Member Data Documentation

◆ f_node_separator

const char f_node_separator = '.'
static

Definition at line 83 of file specifier.hh.


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