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

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

#include <ChannelNameLexer.hh>

Inheritance diagram for GenericAPI::ChannelNameLexer:
Inheritance graph
[legend]
Collaboration diagram for GenericAPI::ChannelNameLexer:
Collaboration graph
[legend]

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)
 
void add_channel (const char *ChannelName)
 param: const char* ChannelName - Name of channel to add More...
 
virtual int yylex ()
 
 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)
 
void add_channel (const char *ChannelName)
 param: const char* ChannelName - Name of channel to add More...
 
virtual int yylex ()
 
 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)
 
void add_channel (const char *ChannelName)
 param: const char* ChannelName - Name of channel to add More...
 
virtual int yylex ()
 

Public 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)

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

◆ add_channel() [2/3]

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

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

◆ add_channel() [3/3]

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

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)

◆ yylex() [1/3]

virtual int GenericAPI::ChannelNameLexer::yylex ( )
virtual

◆ yylex() [2/3]

virtual int GenericAPI::ChannelNameLexer::yylex ( )
virtual

◆ yylex() [3/3]

virtual int GenericAPI::ChannelNameLexer::yylex ( )
virtual

Member Data Documentation

◆ m_channel_names

data_list_type GenericAPI::ChannelNameLexer::m_channel_names

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