Particle Universe  1.2
ParticleUniverse::GravityExternFactory Class Reference

#include <ParticleUniverseGravityExternFactory.h>

Inheritance diagram for ParticleUniverse::GravityExternFactory:

Public Member Functions

 GravityExternFactory (void)
 
virtual ~GravityExternFactory (void)
 
String getExternType (void) const
 
ExterncreateExtern (void)
 
virtual bool translateChildProperty (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual bool translateChildObject (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
virtual void write (ParticleScriptSerializer *serializer, const IElement *element)
 
- Public Member Functions inherited from ParticleUniverse::ExternFactory
 ExternFactory (void)
 
virtual ~ExternFactory (void)
 
void destroyExtern (Extern *externObject)
 
- Public Member Functions inherited from ParticleUniverse::ScriptReader
 ScriptReader (void)
 
virtual ~ScriptReader (void)
 
virtual void translate (ScriptCompiler *compiler, const AbstractNodePtr &node)
 
- Public Member Functions inherited from ParticleUniverse::ScriptWriter
 ScriptWriter (void)
 
virtual ~ScriptWriter (void)
 

Protected Attributes

GravityExternWriter mGravityExternWriter
 
GravityExternTranslator mGravityExternTranslator
 

Additional Inherited Members

- Protected Member Functions inherited from ParticleUniverse::ExternFactory
template<class T >
Extern_createExtern (void)
 

Detailed Description

Factory class responsible for creating the GravityExtern.

Constructor & Destructor Documentation

ParticleUniverse::GravityExternFactory::GravityExternFactory ( void  )
inline
virtual ParticleUniverse::GravityExternFactory::~GravityExternFactory ( void  )
inlinevirtual

Member Function Documentation

Extern* ParticleUniverse::GravityExternFactory::createExtern ( void  )
inlinevirtual

Creates a new Extern instance.

Remarks

Implements ParticleUniverse::ExternFactory.

String ParticleUniverse::GravityExternFactory::getExternType ( void  ) const
inlinevirtual

Returns the type of the factory, which identifies the Extern type this factory creates.

Implements ParticleUniverse::ExternFactory.

virtual bool ParticleUniverse::GravityExternFactory::translateChildObject ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual bool ParticleUniverse::GravityExternFactory::translateChildProperty ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
inlinevirtual
virtual void ParticleUniverse::GravityExternFactory::write ( ParticleScriptSerializer serializer,
const IElement element 
)
inlinevirtual

Child classes must implement this pure virtual function, which must be used to write an object or attribute to a particle script.

Implements ParticleUniverse::ScriptWriter.

Member Data Documentation

GravityExternTranslator ParticleUniverse::GravityExternFactory::mGravityExternTranslator
protected
GravityExternWriter ParticleUniverse::GravityExternFactory::mGravityExternWriter
protected

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