Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::ParsedPage Class Reference

#include <ParsedPage.h>


Detailed Description

Definition at line 13 of file ParsedPage.h.

List of all members.

Public Member Functions

 ParsedPage (unsigned int pageNumb)
 ParsedPage (const ParsedPage &kPage)
 ~ParsedPage ()
ParsedPageoperator= (const ParsedPage &kPage)
bool addRule (ParsedRule *rule)
 Adds a rule to this page.
unsigned int getPageNumber () const
 Get the current page's id.
unsigned int getRuleCount () const
 Get the number of rules this page has.
ParsedRulegetRuleInPos (unsigned int index)
 Get the rule in a specified index.

Private Attributes

unsigned int pageNumber
std::vector< ParsedRule * > rules

Constructor & Destructor Documentation

Kodu::ParsedPage::ParsedPage ( unsigned int  pageNumb  ) 

Definition at line 19 of file ParsedPage.h.

Kodu::ParsedPage::ParsedPage ( const ParsedPage kPage  )  [explicit]

Definition at line 23 of file ParsedPage.h.

Kodu::ParsedPage::~ParsedPage (  ) 

Definition at line 27 of file ParsedPage.h.


Member Function Documentation

bool Kodu::ParsedPage::addRule ( ParsedRule rule  ) 

Adds a rule to this page.

Definition at line 5 of file ParsedPage.cc.

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

unsigned int Kodu::ParsedPage::getPageNumber (  )  const

Get the current page's id.

Definition at line 12 of file ParsedPage.cc.

Referenced by Kodu::Parser::KodeCreator::createKode().

unsigned int Kodu::ParsedPage::getRuleCount (  )  const

Get the number of rules this page has.

Definition at line 16 of file ParsedPage.cc.

Referenced by Kodu::Parser::KodeCreator::createKode(), getRuleInPos(), and Kodu::Parser::TokenParser::parseTokens().

ParsedRule * Kodu::ParsedPage::getRuleInPos ( unsigned int  index  ) 

Get the rule in a specified index.

Definition at line 20 of file ParsedPage.cc.

Referenced by Kodu::Parser::KodeCreator::createKode(), and Kodu::Parser::TokenParser::parseTokens().

ParsedPage& Kodu::ParsedPage::operator= ( const ParsedPage kPage  ) 

Definition at line 31 of file ParsedPage.h.


Member Data Documentation

unsigned int Kodu::ParsedPage::pageNumber [private]

Definition at line 15 of file ParsedPage.h.

Referenced by getPageNumber(), and operator=().

std::vector<ParsedRule*> Kodu::ParsedPage::rules [private]

Definition at line 16 of file ParsedPage.h.

Referenced by addRule(), getRuleCount(), getRuleInPos(), operator=(), and ~ParsedPage().


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