7#ifndef MESSAGE_READER_H
8#define MESSAGE_READER_H
56 dictionary_(dictionary), lineno_(0)
82 dictionary_ = dictionary;
159 void parseMessage(
const std::string& line,
Mode mode);
168 void parseDirective(
const std::string& line);
174 void parsePrefix(
const std::vector<std::string>& tokens);
180 void parseNamespace(
const std::vector<std::string>& tokens);
192 bool invalidSymbol(
const std::string& symbol);
virtual void processLine(const std::string &line, Mode mode=ADD)
Process Line.
MessageReader(MessageDictionary *dictionary=NULL)
Constructor.
virtual ~MessageReader()
Virtual Destructor.
virtual void clearNamespace()
Clear Namespace.
MessageIDCollection getNotAdded() const
Get Not-Added List.
void setDictionary(MessageDictionary *dictionary)
Set Dictionary.
MessageDictionary * getDictionary() const
Get Dictionary.
virtual std::string getPrefix() const
Get Prefix.
virtual void clearPrefix()
Clear Prefix.
virtual std::string getNamespace() const
Get Namespace.
std::vector< std::string > MessageIDCollection
Visible collection types.
virtual void readFile(const std::string &file, Mode mode=ADD)
Read File.
Defines the logger used by the top-level component of kea-lfc.