Particle Universe  1.2
ParticleUniverse::SlaveEmitterTranslator Class Reference

#include <ParticleUniverseSlaveEmitterTokens.h>

Inheritance diagram for ParticleUniverse::SlaveEmitterTranslator:

Public Member Functions

 SlaveEmitterTranslator (void)
 
 ~SlaveEmitterTranslator (void)
 
virtual bool translateChildProperty (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual bool translateChildObject (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
- Public Member Functions inherited from ParticleUniverse::ScriptTranslator
 ScriptTranslator (void)
 
virtual ~ScriptTranslator (void)
 
virtual void translate (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
bool getVector2 (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, Vector2 *result, int maxEntries=2)
 
bool getVector3 (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, Vector3 *result, int maxEntries=3)
 
bool getVector4 (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, Vector4 *result, int maxEntries=4)
 
bool getQuaternion (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, Quaternion *result, int maxEntries=4)
 
bool passValidateProperty (ScriptCompiler *compiler, PropertyAbstractNode *prop, const String &token, ValidationType validationType)
 
bool passValidatePropertyNoValues (ScriptCompiler *compiler, PropertyAbstractNode *prop, const String &token)
 
bool passValidatePropertyNumberOfValues (ScriptCompiler *compiler, PropertyAbstractNode *prop, const String &token, ushort numberOfValues)
 
bool passValidatePropertyNumberOfValuesRange (ScriptCompiler *compiler, PropertyAbstractNode *prop, const String &token, ushort minNumberOfValues, ushort maxNumberOfValues)
 
bool passValidatePropertyValidReal (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidInt (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidUint (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidBool (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidVector2 (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidVector3 (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidVector4 (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
bool passValidatePropertyValidQuaternion (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 
void errorUnexpectedToken (ScriptCompiler *compiler, AbstractNodePtr node)
 
void errorUnexpectedProperty (ScriptCompiler *compiler, PropertyAbstractNode *prop)
 

Additional Inherited Members

- Public Types inherited from ParticleUniverse::ScriptTranslator
enum  ValidationType {
  VAL_REAL, VAL_BOOL, VAL_UINT, VAL_INT,
  VAL_STRING, VAL_VECTOR2, VAL_VECTOR3, VAL_VECTOR4,
  VAL_COLOURVALUE, VAL_QUATERNION
}
 

Detailed Description

Constructor & Destructor Documentation

ParticleUniverse::SlaveEmitterTranslator::SlaveEmitterTranslator ( void  )
inline
ParticleUniverse::SlaveEmitterTranslator::~SlaveEmitterTranslator ( void  )
inline

Member Function Documentation

virtual bool ParticleUniverse::SlaveEmitterTranslator::translateChildObject ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
virtual

Only parses a certain child objec

Reimplemented from ParticleUniverse::ScriptTranslator.

virtual bool ParticleUniverse::SlaveEmitterTranslator::translateChildProperty ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
virtual

Only parses a certain child property

Reimplemented from ParticleUniverse::ScriptTranslator.


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