OpenASIP  2.0
Public Types | Public Member Functions | List of all members
BEMGeneratorCLITextGenerator Class Reference

#include <BEMGeneratorCLITextGenerator.hh>

Inheritance diagram for BEMGeneratorCLITextGenerator:
Inheritance graph
Collaboration diagram for BEMGeneratorCLITextGenerator:
Collaboration graph

Public Types

enum  { TXT_CLI_TITLE = Texts::LAST__, TXT_CLI_VERSION }
 Ids for the stored texts. More...
 

Public Member Functions

 BEMGeneratorCLITextGenerator ()
 
virtual ~BEMGeneratorCLITextGenerator ()
 
- Public Member Functions inherited from Texts::TextGenerator
 TextGenerator ()
 
virtual ~TextGenerator ()
 
virtual boost::format text (int textId)
 
virtual void addText (int textId, const std::string &templateString)
 
virtual void replaceText (int textId, const std::string &newString)
 

Detailed Description

Text generator used for texts of BEM generator command line user interface.

Definition at line 42 of file BEMGeneratorCLITextGenerator.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Ids for the stored texts.

Enumerator
TXT_CLI_TITLE 
TXT_CLI_VERSION 

Definition at line 48 of file BEMGeneratorCLITextGenerator.hh.

48  {
51  };

Constructor & Destructor Documentation

◆ BEMGeneratorCLITextGenerator()

BEMGeneratorCLITextGenerator::BEMGeneratorCLITextGenerator ( )

The constructor.

Definition at line 39 of file BEMGeneratorCLITextGenerator.cc.

39  {
40  addText(
42  "createbem - OpenASIP Binary Encoding Map Generator command line "
43  "interface");
44  addText(TXT_CLI_VERSION, VERSION);
45 }

References Texts::TextGenerator::addText(), TXT_CLI_TITLE, and TXT_CLI_VERSION.

Here is the call graph for this function:

◆ ~BEMGeneratorCLITextGenerator()

BEMGeneratorCLITextGenerator::~BEMGeneratorCLITextGenerator ( )
virtual

The destructor.

Definition at line 51 of file BEMGeneratorCLITextGenerator.cc.

51  {
52 }

The documentation for this class was generated from the following files:
BEMGeneratorCLITextGenerator::TXT_CLI_VERSION
@ TXT_CLI_VERSION
Definition: BEMGeneratorCLITextGenerator.hh:50
Texts::TextGenerator::addText
virtual void addText(int textId, const std::string &templateString)
Definition: TextGenerator.cc:118
BEMGeneratorCLITextGenerator::TXT_CLI_TITLE
@ TXT_CLI_TITLE
Definition: BEMGeneratorCLITextGenerator.hh:49
Texts::LAST__
@ LAST__
Definition: TextGenerator.hh:68