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

#include <lsfile.h>

Inheritance diagram for AP_LSystem::LSFile:
AP_LSystem::AbstractFile

Public Member Functions

 LSFile ()
 
virtual void open (string &filename)
 
- Public Member Functions inherited from AP_LSystem::AbstractFile
 AbstractFile ()
 
virtual void open (std::string &filename)=0
 
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

Class for loading file in *.ls format

Constructor & Destructor Documentation

LSFile::LSFile ( )

Member Function Documentation

void LSFile::open ( string &  filename)
virtual

Open *.ls file and parse. All values are either set as COnfiguration properties or stored to AbstractFile containers and variables.

Parameters
filenamename of file to open

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