Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ParsedPage.cc

Go to the documentation of this file.
00001 #include "Kodu/Parsing/ParsedPage.h"
00002 
00003 namespace Kodu {
00004     
00005     bool ParsedPage::addRule(ParsedRule* rule) {
00006         if (rule == NULL)
00007             return false;
00008         rules.push_back(rule);
00009         return true;
00010     }
00011 
00012     unsigned int ParsedPage::getPageNumber() const {
00013         return pageNumber;
00014     }
00015 
00016     unsigned int ParsedPage::getRuleCount() const {
00017         return rules.size();
00018     }
00019 
00020     ParsedRule* ParsedPage::getRuleInPos(unsigned int index) {
00021         if (index >= getRuleCount())
00022             return NULL;
00023         return rules[index];
00024     }
00025 }

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:45 2016 by Doxygen 1.6.3