ldas-tools-ldasgen  2.6.3
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:

Public Types

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

Public Attributes

data_list_type m_channel_names
 

Detailed Description

Supports parsing of channel names from input streams.

Member Typedef Documentation

◆ data_list_type

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

Constructor & Destructor Documentation

◆ ChannelNameLexer()

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

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

Member Function Documentation

◆ add_channel()

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

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

◆ GetChannelNames()

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

return: List of channel names and occurance counts.

◆ LexerError()

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

◆ Parse()

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

◆ yylex()

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: