#include <textfileparser.h>
Public Types | |
| typedef vector< Entry * > | Matches |
| typedef list< TextPropertyGroup * > | Parents |
Public Member Functions | |
| TextPropertyGroup () | |
| void | addEntry (const Entry &entry) |
| Entry * | find (const ASCString &n) |
| void | findMatches (const ASCString &name, const ASCString &name_without_dot, Matches &matches) |
| int | evalID () |
| void | buildInheritance (TextPropertyList &tpl) |
| void | resolveAllAlias () |
| bool | isAbstract () |
| void | print (int indent=0) |
Public Attributes | |
| Parents | parents |
| ASCString | fileName |
| ASCString | location |
| ASCString | typeName |
| the name of the structure. For example "VehicleType" | |
Protected Member Functions | |
| void | error (const ASCString &msg, bool printInheritance=true) |
| bool | processAlias (Entry &e, Entries &entriesToAdd, EntryPointerList &markAsResolved) |
| int | findGeneration (Entry *e) |
| ASCString | listInheritanceFilenames () |
Classes | |
| class | Entry |
The entries consist of a PropertyName, an operator and a value, but don't have any type information
Definition at line 52 of file textfileparser.h.
|
|
Definition at line 85 of file textfileparser.h. |
|
|
Definition at line 88 of file textfileparser.h. |
|
|
Definition at line 57 of file textfileparser.h. |
|
|
Definition at line 369 of file textfileparser.cpp. Referenced by TextFormatParser::parseLine(), and resolveAllAlias(). |
|
|
building inheritance Definition at line 99 of file textfileparser.cpp. References PropertyContainer::addBool(), PropertyContainer::addInteger(), PropertyContainer::addIntegerArray(), displayLogMessage(), error(), find(), TextPropertyList::get(), location, parents, resolveAllAlias(), strrr(), and typeName. |
|
||||||||||||
|
Definition at line 71 of file textfileparser.cpp. References fatalError(), listInheritanceFilenames(), and location. Referenced by buildInheritance(), and resolveAllAlias(). |
|
|
Definition at line 333 of file textfileparser.cpp. References PropertyContainer::addInteger(), and typeName. |
|
|
Definition at line 343 of file textfileparser.cpp. References parents. Referenced by buildInheritance(), PropertyContainer::find(), PropertyContainer::Property::findEntry(), and processAlias(). |
|
|
Definition at line 212 of file textfileparser.cpp. References parents. Referenced by processAlias(). |
|
||||||||||||||||
|
Definition at line 358 of file textfileparser.cpp. References parents. Referenced by processAlias(). |
|
|
Definition at line 101 of file textfileparser.h. |
|
|
Definition at line 154 of file textfileparser.cpp. References location, and parents. Referenced by error(). |
|
|
Definition at line 80 of file textfileparser.cpp. References displayLogMessage(), and parents. Referenced by resolveAllAlias(). |
|
||||||||||||||||
|
building inheritance Definition at line 227 of file textfileparser.cpp. References TextPropertyGroup::Entry::alias, TextPropertyGroup::Entry::alias_all, TextPropertyGroup::Entry::alias_all_resolved, displayLogMessage(), TextPropertyGroup::Entry::eq, find(), findGeneration(), findMatches(), TextPropertyGroup::Entry::op, TextPropertyGroup::Entry::parent, parents, TextPropertyGroup::Entry::propertyName, ASCString::toLower(), and TextPropertyGroup::Entry::value. Referenced by resolveAllAlias(). |
|
|
Definition at line 163 of file textfileparser.cpp. References addEntry(), TextPropertyGroup::Entry::alias_all_resolved, error(), print(), processAlias(), and typeName. Referenced by buildInheritance(). |
|
|
Definition at line 91 of file textfileparser.h. Referenced by PropertyReadingContainer::getFileName(), PropertyWritingContainer::PropertyWritingContainer(), TextFormatParser::run(), and PropertyContainer::warning(). |
|
|
Definition at line 92 of file textfileparser.h. Referenced by buildInheritance(), error(), PropertyReadingContainer::getLocation(), listInheritanceFilenames(), PropertyWritingContainer::PropertyWritingContainer(), and TextFormatParser::run(). |
|
|
Definition at line 89 of file textfileparser.h. Referenced by buildInheritance(), find(), findGeneration(), findMatches(), listInheritanceFilenames(), print(), and processAlias(). |
|
|
the name of the structure. For example "VehicleType"
Definition at line 95 of file textfileparser.h. Referenced by buildInheritance(), evalID(), loadalltextfiles(), resolveAllAlias(), and TextFormatParser::startLevel(). |
1.4.2