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

#include <ADFSerializerTextGenerator.hh>

Inheritance diagram for ADFSerializerTextGenerator:
Inheritance graph
Collaboration diagram for ADFSerializerTextGenerator:
Collaboration graph

Public Types

enum  { TXT_MULTIPLE_DESTINATIONS_IN_TEMPLATE_SLOT = Texts::LAST__, TXT_SAME_TEMPLATE_SLOT, TXT_IT_EMPTY_AND_NON_EMPTY, TXT_EMPTY_IT_NOT_DECLARED }
 Ids for the stored texts. More...
 

Public Member Functions

 ADFSerializerTextGenerator ()
 
virtual ~ADFSerializerTextGenerator ()
 
- 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

Stores the error messages given in exceptions thrown from ADFSerializer.

Definition at line 41 of file ADFSerializerTextGenerator.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Ids for the stored texts.

Enumerator
TXT_MULTIPLE_DESTINATIONS_IN_TEMPLATE_SLOT 
TXT_SAME_TEMPLATE_SLOT 
TXT_IT_EMPTY_AND_NON_EMPTY 
TXT_EMPTY_IT_NOT_DECLARED 

Definition at line 47 of file ADFSerializerTextGenerator.hh.

Constructor & Destructor Documentation

◆ ADFSerializerTextGenerator()

ADFSerializerTextGenerator::ADFSerializerTextGenerator ( )

Constructor.

Definition at line 38 of file ADFSerializerTextGenerator.cc.

38  :
39  TextGenerator() {
40 
42  "The slot '%1%' of instruction template '%2%' cannot write to "
43  "two destination units. The same slot exists in the "
44  "declarations of immediate units '%3%' and '%4%'.");
46  "Template slot with bus '%1%' is declared two times in "
47  "the declaration of immediate unit '%2%', template '%3%'.");
49  "Instruction template '%1%' is declared empty in non-empty in "
50  "different immediate unit declarations.");
52  "The machine contains an empty instruction template that is not "
53  "declared in the declaration of immediate unit '%1%'.");
54 }

References Texts::TextGenerator::addText(), TXT_EMPTY_IT_NOT_DECLARED, TXT_IT_EMPTY_AND_NON_EMPTY, TXT_MULTIPLE_DESTINATIONS_IN_TEMPLATE_SLOT, and TXT_SAME_TEMPLATE_SLOT.

Here is the call graph for this function:

◆ ~ADFSerializerTextGenerator()

ADFSerializerTextGenerator::~ADFSerializerTextGenerator ( )
virtual

Destructor.

Definition at line 60 of file ADFSerializerTextGenerator.cc.

60  {
61 }

The documentation for this class was generated from the following files:
ADFSerializerTextGenerator::TXT_MULTIPLE_DESTINATIONS_IN_TEMPLATE_SLOT
@ TXT_MULTIPLE_DESTINATIONS_IN_TEMPLATE_SLOT
Definition: ADFSerializerTextGenerator.hh:48
Texts::TextGenerator::addText
virtual void addText(int textId, const std::string &templateString)
Definition: TextGenerator.cc:118
ADFSerializerTextGenerator::TXT_IT_EMPTY_AND_NON_EMPTY
@ TXT_IT_EMPTY_AND_NON_EMPTY
Definition: ADFSerializerTextGenerator.hh:50
ADFSerializerTextGenerator::TXT_SAME_TEMPLATE_SLOT
@ TXT_SAME_TEMPLATE_SLOT
Definition: ADFSerializerTextGenerator.hh:49
ADFSerializerTextGenerator::TXT_EMPTY_IT_NOT_DECLARED
@ TXT_EMPTY_IT_NOT_DECLARED
Definition: ADFSerializerTextGenerator.hh:51
Texts::TextGenerator::TextGenerator
TextGenerator()
Definition: TextGenerator.cc:55
Texts::LAST__
@ LAST__
Definition: TextGenerator.hh:68