ldas-tools-ldasgen 2.7.3
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
GenericAPI::ChannelNameLexer Class Reference

Supports parsing of channel names from input streams. More...

#include <ChannelNameLexer.hh>

Public Types

typedef std::map< std::string, int > data_list_type
 
typedef std::map< std::string, int > data_list_type
 
typedef std::map< std::string, int > data_list_type
 

Public Member Functions

 ChannelNameLexer (const std::string &NameString="")
 param: const std::string& NameString - Input string. More...
 
const data_list_typeGetChannelNames () const
 return: List of channel names and occurance counts. More...
 
void Parse (const std::string &ChannelData)
 
void LexerError (const char *1)
 
 ChannelNameLexer (const std::string &NameString="")
 param: const std::string& NameString - Input string. More...
 
const data_list_typeGetChannelNames () const
 return: List of channel names and occurance counts. More...
 
void Parse (const std::string &ChannelData)
 
void LexerError (const char *1)
 
 ChannelNameLexer (const std::string &NameString="")
 param: const std::string& NameString - Input string. More...
 
const data_list_typeGetChannelNames () const
 return: List of channel names and occurance counts. More...
 
void Parse (const std::string &ChannelData)
 
void LexerError (const char *1)
 

Private Member Functions

void add_channel (const char *ChannelName)
 param: const char* ChannelName - Name of channel to add More...
 
void add_channel (const char *ChannelName)
 param: const char* ChannelName - Name of channel to add More...
 
void add_channel (const char *ChannelName)
 param: const char* ChannelName - Name of channel to add More...
 

Private Attributes

data_list_type m_channel_names
 

Detailed Description

Supports parsing of channel names from input streams.

Member Typedef Documentation

◆ data_list_type [1/3]

◆ data_list_type [2/3]

◆ data_list_type [3/3]

Constructor & Destructor Documentation

◆ ChannelNameLexer() [1/3]

GenericAPI::ChannelNameLexer::ChannelNameLexer ( const std::string &  NameString = "")

param: const std::string& NameString - Input string.

◆ ChannelNameLexer() [2/3]

GenericAPI::ChannelNameLexer::ChannelNameLexer ( const std::string &  NameString = "")

param: const std::string& NameString - Input string.

◆ ChannelNameLexer() [3/3]

GenericAPI::ChannelNameLexer::ChannelNameLexer ( const std::string &  NameString = "")

param: const std::string& NameString - Input string.

Member Function Documentation

◆ add_channel() [1/3]

void GenericAPI::ChannelNameLexer::add_channel ( const char *  ChannelName)
private

param: const char* ChannelName - Name of channel to add

◆ add_channel() [2/3]

void GenericAPI::ChannelNameLexer::add_channel ( const char *  ChannelName)
private

param: const char* ChannelName - Name of channel to add

◆ add_channel() [3/3]

void GenericAPI::ChannelNameLexer::add_channel ( const char *  ChannelName)
private

param: const char* ChannelName - Name of channel to add

◆ GetChannelNames() [1/3]

const ChannelNameLexer::data_list_type & GenericAPI::ChannelNameLexer::GetChannelNames ( ) const
inline

return: List of channel names and occurance counts.

◆ GetChannelNames() [2/3]

const data_list_type & GenericAPI::ChannelNameLexer::GetChannelNames ( ) const

return: List of channel names and occurance counts.

◆ GetChannelNames() [3/3]

const data_list_type & GenericAPI::ChannelNameLexer::GetChannelNames ( ) const

return: List of channel names and occurance counts.

◆ LexerError() [1/3]

void GenericAPI::ChannelNameLexer::LexerError ( const char *  1)

◆ LexerError() [2/3]

void GenericAPI::ChannelNameLexer::LexerError ( const char *  1)

◆ LexerError() [3/3]

void GenericAPI::ChannelNameLexer::LexerError ( const char *  1)

◆ Parse() [1/3]

void GenericAPI::ChannelNameLexer::Parse ( const std::string &  ChannelData)

◆ Parse() [2/3]

void GenericAPI::ChannelNameLexer::Parse ( const std::string &  ChannelData)

◆ Parse() [3/3]

void GenericAPI::ChannelNameLexer::Parse ( const std::string &  ChannelData)

Member Data Documentation

◆ m_channel_names

data_list_type GenericAPI::ChannelNameLexer::m_channel_names
private

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