vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AP_LSystem::XmlFile Class Reference

#include <xmlfile.h>

Inheritance diagram for AP_LSystem::XmlFile:
AP_LSystem::AbstractFile

Public Member Functions

 XmlFile ()
 
virtual void open (std::string &filename)
 
- Public Member Functions inherited from AP_LSystem::AbstractFile
 AbstractFile ()
 
void substitute (std::map< string, string > &pairs)
 
virtual std::vector< string > * getHomomorphisms ()
 
virtual std::vector< string > * getRules ()
 
virtual std::vector< string > * getSubsystems ()
 
std::string & getAxiom ()
 
unsigned int type ()
 
std::string & name ()
 

Additional Inherited Members

- Protected Member Functions inherited from AP_LSystem::AbstractFile
void addType (std::string &type)
 
- Protected Attributes inherited from AP_LSystem::AbstractFile
unsigned int m_Type
 type of loaded L-system More...
 
string m_Name
 name of loaded L-system More...
 
string m_Axiom
 loaded axiom More...
 
std::vector< string > m_Rules
 container with loaded rules strings More...
 
std::vector< string > m_Homomorphisms
 container with loaded homomorphism rules More...
 
std::vector< string > m_Subsytems
 container with subsystem's filenames More...
 

Detailed Description

This class opens and processes XML files with L-systems.

Constructor & Destructor Documentation

XmlFile::XmlFile ( )

Member Function Documentation

void XmlFile::open ( std::string &  filename)
virtual

Opens XML file.

Parameters
filenamename of XML file

Implements AP_LSystem::AbstractFile.


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