|
hgl 0.5.25
A compiler/interpreter suite for developing images
|
Convenience class for implementing HGL::Type::IProjectFactory. More...
#include "defaultprojectfactory.h"
Public Member Functions | |
| virtual AssignmentOperator * | createAssignmentOperator (const std::string &id, IType *typeL, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an AssignmentOperator. More... | |
| virtual Curve * | createCurve (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Curve. More... | |
| virtual DebugProcedure * | createDebugProcedure (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a DebugProcedure. More... | |
| virtual Ellipse * | createEllipse (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an Ellipse. More... | |
| virtual ExpressionParam * | createExpressionParam (const std::string &, const IProjectFactory *, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an ExpressionParam. More... | |
| virtual ExpressionParam * | createExpressionParam (const ExpressionParam *, const IProjectFactory *, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an ExpressionParam. More... | |
| virtual Fill * | createFill (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Fill. More... | |
| virtual Include * | createInclude (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Include. More... | |
| virtual Line * | createLine (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Line. More... | |
| virtual Line * | createLine (IPoint *p1, IPoint *p2, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Line. More... | |
| virtual MainSegment * | createMainSegment (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a MainSegment. More... | |
| virtual NamedParam * | createNamedParam (const std::string &typeName, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a NamedParam. More... | |
| virtual ObjectsSegment * | createObjectsSegment (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an ObjectsSegment. More... | |
| virtual ParamSection * | createParamSection (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a ParamSection. More... | |
| virtual Point * | createPoint (bool markerPoint, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Point. More... | |
| virtual IPoint * | createPoint (const std::string &id, const IPoint &p, bool markerPoint, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an IPoint. More... | |
| virtual Poly * | createPoly (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Poly. More... | |
| virtual ProcCall * | createProcCall (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a ProcCall. More... | |
| virtual Procedure * | createProcedure (const std::string &id, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Procedure. More... | |
| virtual ProceduresSegment * | createProceduresSegment (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a ProceduresSegment. More... | |
| virtual ProcInitStatement * | createProcInitStatement (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a ProcInitStatement. More... | |
| virtual ReferenceParam * | createProcParam (const std::string &ref, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a ReferenceParam. More... | |
| virtual FloatParam * | createProcParam (float f, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a FloatParam. More... | |
| virtual IParam * | createProcParam (const IParam *, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an IParam. More... | |
| virtual IProject * | createProject (const std::string &id, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates an IProject. More... | |
| virtual RenderCallback * | createRenderCallback (const std::string &ref, IType *stdlib, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a RenderCallback. More... | |
| virtual RenderProcedure * | createRenderProcedure (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a RenderProcedure. More... | |
| virtual Signature * | createSignature (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Signature. More... | |
| virtual StdLibCall * | createStdLibCall (IType *libL, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a StdLibCall. More... | |
| virtual StringParam * | createStringParam (const std::string &txt, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a StringParam. More... | |
| virtual Text * | createText (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Text. More... | |
| virtual Vector2D * | createVector2D (float x, float y, int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a Vector2D. More... | |
| virtual VirtualGroup * | createVirtualGroup (int line=-1) const throw (Exception::ProjectFactoryException) |
Creates a VirtualGroup. More... | |
Convenience class for implementing HGL::Type::IProjectFactory.
This class provides default implemenentations for the methods of HGL::Type::IProjectFactory. They all simply throw HGL::Exception::UnsupportedTypeException. Override the methods you need.
|
virtual | ||||||||||||||||||||||||
Creates an AssignmentOperator.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Curve.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a DebugProcedure.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates an Ellipse.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||||||
Creates an ExpressionParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||||||
Creates an ExpressionParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Fill.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Include.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Line.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||||||
Creates a Line.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a MainSegment.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a NamedParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates an ObjectsSegment.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a ParamSection.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a Point.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||||||||||
Creates an IPoint.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Poly.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a ProcCall.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a Procedure.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a ProceduresSegment.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a ProcInitStatement.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a ReferenceParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a FloatParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates an IParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates an IProject.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||||||
Creates a RenderCallback.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a RenderProcedure.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Signature.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a StdLibCall.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||
Creates a StringParam.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a Text.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||||||||||||
Creates a Vector2D.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
|
virtual | ||||||||||||||
Creates a VirtualGroup.
| line | an optional line number or -1 (default) for none |
Implements HGL::Type::IProjectFactory.
1.8.5