Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::ParsedPhrase Class Reference

Phrase class. More...

#include <ParsedPhrase.h>


Detailed Description

Phrase class.

Definition at line 14 of file ParsedPhrase.h.

List of all members.

Public Member Functions

 ParsedPhrase ()
 Constructor.
 ParsedPhrase (const ParsedPhrase &kPhrase)
 Copy constructor.
 ~ParsedPhrase ()
 Destructor.
ParsedPhraseoperator= (const ParsedPhrase &kPhrase)
 Assignment operator.
TokenBasegetPhraseHead ()
 Returns the head of the Phrase.
std::vector< TokenBase * > & getPhraseModifiers ()
 Returns the modifiers of the Phrase.
bool setPhraseHead (TokenBase *_head)
 Sets the head.
bool setPhraseModifiers (const std::vector< TokenBase * > &)
 Sets the modifiers.

Private Attributes

TokenBasehead
 The condition/action type that was parsed from the text file.
std::vector< TokenBase * > modifiers
 The modifiers for *head.

Constructor & Destructor Documentation

Kodu::ParsedPhrase::ParsedPhrase (  ) 

Constructor.

Definition at line 21 of file ParsedPhrase.h.

Kodu::ParsedPhrase::ParsedPhrase ( const ParsedPhrase kPhrase  )  [explicit]

Copy constructor.

Definition at line 26 of file ParsedPhrase.h.

Kodu::ParsedPhrase::~ParsedPhrase (  ) 

Destructor.

Definition at line 31 of file ParsedPhrase.h.


Member Function Documentation

TokenBase * Kodu::ParsedPhrase::getPhraseHead (  ) 

Returns the head of the Phrase.

Definition at line 5 of file ParsedPhrase.cc.

Referenced by Kodu::Parser::KodeCreator::getActionKode(), and Kodu::Parser::KodeCreator::getConditionKode().

std::vector< TokenBase * > & Kodu::ParsedPhrase::getPhraseModifiers (  ) 

Returns the modifiers of the Phrase.

Definition at line 9 of file ParsedPhrase.cc.

Referenced by Kodu::Parser::KodeCreator::getActionKode(), and Kodu::Parser::KodeCreator::getConditionKode().

ParsedPhrase& Kodu::ParsedPhrase::operator= ( const ParsedPhrase kPhrase  ) 

Assignment operator.

Definition at line 40 of file ParsedPhrase.h.

bool Kodu::ParsedPhrase::setPhraseHead ( TokenBase _head  ) 

Sets the head.

Definition at line 13 of file ParsedPhrase.cc.

Referenced by Kodu::Parser::TokenParser::parseTokens().

bool Kodu::ParsedPhrase::setPhraseModifiers ( const std::vector< TokenBase * > &  kMods  ) 

Sets the modifiers.

Definition at line 18 of file ParsedPhrase.cc.

Referenced by Kodu::Parser::TokenParser::parseTokens().


Member Data Documentation

The condition/action type that was parsed from the text file.

Definition at line 16 of file ParsedPhrase.h.

Referenced by getPhraseHead(), operator=(), setPhraseHead(), and ~ParsedPhrase().

std::vector<TokenBase*> Kodu::ParsedPhrase::modifiers [private]

The modifiers for *head.

Definition at line 17 of file ParsedPhrase.h.

Referenced by getPhraseModifiers(), operator=(), setPhraseModifiers(), and ~ParsedPhrase().


The documentation for this class was generated from the following files:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:23 2016 by Doxygen 1.6.3