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

mpcl::text::codegen::TClauseTagString Class Reference

#include <clause_tag_string.hh>

Inheritance diagram for mpcl::text::codegen::TClauseTagString:

List of all members.

Public Types

typedef IStreamable::char_type char_type
 Character type.

typedef IStreamable::traits_type traits_type
 Traits type.


Public Methods

 TClauseTagString (void)
 Build a new instance.

 TClauseTagString (const char *pkcSOURCE_TEXT)
 TClauseTagString (const TClauseTagString &rkySOURCE_CLAUSE_TAG)
void overloadFrom (const TClauseTagString &rkySOURCE_CLAUSE_TAG)
void read (std::basic_istream< char_type, traits_type > &rtSOURCE_ISTREAM)
 Reads instance from stream rsSOURCE_ISTREAM.

bool hasTarget (void) const
void write (std::basic_ostream< char_type, traits_type > &rtTARGET_OSTREAM) const
 Writes instance onto stream rsTARGET_OSTREAM.


Detailed Description

Clause tag string for pattern based code generator.
See also:
TPatternBasedCodeGenerator.

Definition at line 72 of file clause_tag_string.hh.


Constructor & Destructor Documentation

mpcl::text::codegen::TClauseTagString::TClauseTagString const char *    pkcSOURCE_TEXT [inline]
 

Build a new instance from pkcSOURCE_TEXT.

Parameters:
pkcSOURCE_TEXT  Source text.

Definition at line 119 of file clause_tag_string.hh.

References mpcl::text::TString.

mpcl::text::codegen::TClauseTagString::TClauseTagString const TClauseTagString &    rkySOURCE_CLAUSE_TAG [inline]
 

Build a new instance from rkySOURCE_CLAUSE_TAG.

Parameters:
rkySOURCE_CLAUSE_TAG  Source clause tag.

Definition at line 129 of file clause_tag_string.hh.

References mpcl::text::TString.


Member Function Documentation

bool mpcl::text::codegen::TClauseTagString::hasTarget void    const [inline]
 

Returns true if clause has target.

Returns:
True if clause has target.

Definition at line 155 of file clause_tag_string.hh.

Referenced by mpcl::text::codegen::TPatternBasedCodeGenerator::read().

void mpcl::text::codegen::TClauseTagString::overloadFrom const TClauseTagString &    rkySOURCE_CLAUSE_TAG
 

Copies the rkySOURCE_CLAUSE_TAG onto this instance.

Parameters:
rkySOURCE_CLAUSE_TAG  Source clause tag.

Definition at line 36 of file clause_tag_string.cc.

References gCheckParameters.

Referenced by mpcl::text::codegen::TPatternBasedCodeGenerator::read().


The documentation for this class was generated from the following files:
Generated on Mon Oct 13 02:35:26 2003 for MPCL by doxygen1.2.18