Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::text::codegen Namespace Reference

Name-space for CODEGEN. More...


Compounds

class  TBadInstantiateSyntaxException
 Exception: bad syntax in instantiate member function. More...

class  TClauseBodyString
class  TClauseTagString
class  TException
 Exception: parent exception class for CODEGEN. More...

class  TFileNotFoundException
 Exception: CDML file not found. More...

class  TInstructionBody
class  TInstructionTagString
class  TNotCdmlFileException
 Exception: not a CDML file. More...

class  TNotFoundException
 Exception: Item (instruction/clause) not found. More...

class  TPatternBasedCodeGenerator
class  TVariableString

Typedefs

typedef TMap< TString, TVariableStringTStringToVariableMap
 Variable map.


Functions

template<typename TChar, typename TTraits> basic_istream< TChar, TTraits > & operator>> (basic_istream< TChar, TTraits > &rtSOURCE_ISTREAM, TClauseBodyString &ryTARGET_CLAUSE_BODY)
template<typename TChar, typename TTraits> basic_ostream< TChar, TTraits > & operator<< (basic_ostream< TChar, TTraits > &rtSOURCE_OSTREAM, const TClauseBodyString &rkySOURCE_CLAUSE_BODY)
template<typename TChar, typename TTraits> std::basic_istream< TChar,
TTraits > & 
operator>> (std::basic_istream< TChar, TTraits > &rtSOURCE_ISTREAM, TClauseTagString &ryTARGET_CLAUSE_TAG)
template<typename TChar, typename TTraits> std::basic_ostream< TChar,
TTraits > & 
operator<< (std::basic_ostream< TChar, TTraits > &rtSOURCE_OSTREAM, const TClauseTagString &rkySOURCE_CLAUSE_TAG)
void InstantiateEntities (TString &ryTARGET_STRING)
 Operating system instance.

template<typename TChar, typename TTraits> basic_istream< TChar, TTraits > & operator>> (basic_istream< TChar, TTraits > &rtSOURCE_ISTREAM, TInstructionTagString &ryTARGET_INSTRUCTION_TAG)
template<typename TChar, typename TTraits> basic_ostream< TChar, TTraits > & operator<< (basic_ostream< TChar, TTraits > &rtSOURCE_OSTREAM, const TInstructionTagString &rkySOURCE_INSTRUCTION_TAG)


Detailed Description

Name-space for CODEGEN.

Function Documentation

template<typename TChar, typename TTraits>
basic_ostream< TChar, TTraits > & mpcl::text::codegen::operator<< basic_ostream< TChar, TTraits > &    rtSOURCE_OSTREAM,
const TInstructionTagString   rkySOURCE_INSTRUCTION_TAG
 

Writes the instance rkySOURCE_INSTRUCTION_TAG onto stream rtTARGET_STREAM. This operator is needed cause father operators.

Definition at line 181 of file instruction_tag_string.hh.

template<typename TChar, typename TTraits>
std::basic_ostream< TChar, TTraits > & mpcl::text::codegen::operator<< std::basic_ostream< TChar, TTraits > &    rtSOURCE_OSTREAM,
const TClauseTagString   rkySOURCE_CLAUSE_TAG
 

Writes the instance rkySOURCE_CLAUSE_TAG onto stream rtTARGET_STREAM. This operator is needed cause father operators.

Definition at line 207 of file clause_tag_string.hh.

template<typename TChar, typename TTraits>
basic_ostream< TChar, TTraits > & mpcl::text::codegen::operator<< basic_ostream< TChar, TTraits > &    rtSOURCE_OSTREAM,
const TClauseBodyString   rkySOURCE_CLAUSE_BODY
 

Writes the instance rkySOURCE_CLAUSE_BODY onto stream rtTARGET_STREAM. This operator is needed cause father operators.

Definition at line 302 of file clause_body_string.hh.

Referenced by mpcl::text::codegen::TInstructionTagString::write(), mpcl::text::codegen::TClauseTagString::write(), and mpcl::text::codegen::TClauseBodyString::write().

template<typename TChar, typename TTraits>
basic_istream< TChar, TTraits > & mpcl::text::codegen::operator>> basic_istream< TChar, TTraits > &    rtSOURCE_ISTREAM,
TInstructionTagString   ryTARGET_INSTRUCTION_TAG
 

Reads the instance ryTARGET_INSTRUCTION_TAG from stream rtSOURCE_ISTREAM. This operator is needed cause father operators.

Definition at line 172 of file instruction_tag_string.hh.

References mpcl::text::codegen::TInstructionTagString::read().

template<typename TChar, typename TTraits>
std::basic_istream< TChar, TTraits > & mpcl::text::codegen::operator>> std::basic_istream< TChar, TTraits > &    rtSOURCE_ISTREAM,
TClauseTagString   ryTARGET_CLAUSE_TAG
 

Reads the instance ryTARGET_CLAUSE_TAG from stream rtSOURCE_ISTREAM. This operator is needed cause father operators.

Definition at line 198 of file clause_tag_string.hh.

References mpcl::text::codegen::TClauseTagString::read().

template<typename TChar, typename TTraits>
basic_istream< TChar, TTraits > & mpcl::text::codegen::operator>> basic_istream< TChar, TTraits > &    rtSOURCE_ISTREAM,
TClauseBodyString   ryTARGET_CLAUSE_BODY
 

Reads the instance ryTARGET_CLAUSE_BODY from stream rtSOURCE_ISTREAM. This operator is needed cause father operators.

Definition at line 293 of file clause_body_string.hh.

References mpcl::text::codegen::TClauseBodyString::read().


Variable Documentation

const char * mpcl::text::codegen::pkcCDML_TagPattern_1
 

Initial value:

 "[[:space:]]*<cdml"
                                            "[[:space:]]+target[[:space:]]*="
                                            "[[:space:]]*%q"
                                            "[[:space:]]*>[[:blank:]]*\n?"

Definition at line 71 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcCDML_TagPattern_2
 

Initial value:

 "[[:space:]]*<cdml"
                                            "[[:space:]]+target[[:space:]]*="
                                            "[[:space:]]*%q"
                                            "[[:space:]]+inherit[[:space:]]*="
                                            "[[:space:]]*%q"
                                            "[[:space:]]*>[[:blank:]]*\n?"

Definition at line 75 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcCDML_TagPattern_3
 

Initial value:

 "[[:space:]]*<cdml"
                                            "[[:space:]]+inherit[[:space:]]*="
                                            "[[:space:]]*%q"
                                            "[[:space:]]+target[[:space:]]*="
                                            "[[:space:]]*%q"
                                            "[[:space:]]*>[[:blank:]]*\n?"

Definition at line 81 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcDESC_ElementPattern
 

Initial value:

 "[[:space:]]*<desc"
                                             "[[:space:]]*>[[:blank:]]*\n?"
                                             "%t[[:blank:]]*\n?</desc[[:space:]]*>"

Definition at line 92 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcDOCTYPE_TagPattern_1
 

Initial value:

 "[[:space:]]*<!doctype"
                                              "[[:space:]]+cdml[[:space:]]*>"

Definition at line 58 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcDOCTYPE_TagPattern_2
 

Initial value:

 "[[:space:]]*<!doctype"
                                              "[[:space:]]+cdml[[:space:]]+system[[:space:]]*>"

Definition at line 60 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcDOCTYPE_TagPattern_3
 

Initial value:

 "[[:space:]]*<!doctype"
                                              "[[:space:]]+cdml[[:space:]]+system"
                                              "[[:space:]]+%q[[:space:]]*>"

Definition at line 62 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcDOCTYPE_TagPattern_4
 

Initial value:

 "[[:space:]]*<!doctype"
                                              "[[:space:]]+cdml[[:space:]]+public"
                                              "[[:space:]]+%q[[:space:]]*>"

Definition at line 65 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcINSTRUCT_TagPattern
 

Initial value:

 "[[:space:]]*<instruct[[:space:]]+"
                                                "name[[:space:]]*=[[:space:]]*"
                                                "%q[[:space:]]*>"

Definition at line 105 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcVARIABLE_ElementPattern_1
 

Initial value:

 "[[:space:]]*<variable"
                                                   "[[:space:]]+name[[:space:]]*=[[:space:]]*%q"
                                                   "[[:space:]]*>%t</variable[[:space:]]*>"

Definition at line 113 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcVARIABLE_ElementPattern_2
 

Initial value:

 "[[:space:]]*<variable"
                                                   "[[:space:]]+name[[:space:]]*=[[:space:]]*%q"
                                                   "[[:space:]]+type[[:space:]]*=[[:space:]]*%q"
                                                   "[[:space:]]*>%t</variable[[:space:]]*>"

Definition at line 116 of file text/codegen/defs.cc.

const char * mpcl::text::codegen::pkcVARIABLE_ElementPattern_3
 

Initial value:

 "[[:space:]]*<variable"
                                                   "[[:space:]]+type[[:space:]]*=[[:space:]]*%q"
                                                   "[[:space:]]+name[[:space:]]*=[[:space:]]*%q"
                                                   "[[:space:]]*>%t</variable[[:space:]]*>"

Definition at line 120 of file text/codegen/defs.cc.


Generated on Mon Oct 13 02:35:26 2003 for MPCL by doxygen1.2.18