Interface to a factory creating types. More...
#include <iprojectfactory.h>

Public Member Functions | |
| virtual AssignmentOperator * | createAssignmentOperator (const std::string &id, IType *type=0L, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an AssignmentOperator. | |
| virtual Curve * | createCurve (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Curve. | |
| virtual DebugProcedure * | createDebugProcedure (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a DebugProcedure. | |
| virtual Ellipse * | createEllipse (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an Ellipse. | |
| virtual ExpressionParam * | createExpressionParam (const ExpressionParam *, const IProjectFactory *, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an ExpressionParam. | |
| virtual ExpressionParam * | createExpressionParam (const std::string &, const IProjectFactory *, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an ExpressionParam. | |
| virtual Fill * | createFill (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Fill. | |
| virtual Include * | createInclude (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Include. | |
| virtual Line * | createLine (IPoint *p1, IPoint *p2, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Line. | |
| virtual Line * | createLine (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Line. | |
| virtual MainSegment * | createMainSegment (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a MainSegment. | |
| virtual NamedParam * | createNamedParam (const std::string &typeName, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a NamedParam. | |
| virtual ObjectsSegment * | createObjectsSegment (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an ObjectsSegment. | |
| virtual ParamSection * | createParamSection (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a ParamSection. | |
| virtual IPoint * | createPoint (const std::string &id, const IPoint &p, bool markerPoint, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an IPoint. | |
| virtual Point * | createPoint (bool markerPoint, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Point. | |
| virtual Poly * | createPoly (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Poly. | |
| virtual ProcCall * | createProcCall (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a ProcCall. | |
| virtual Procedure * | createProcedure (const std::string &id, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Procedure. | |
| virtual ProceduresSegment * | createProceduresSegment (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a ProceduresSegment. | |
| virtual ProcInitStatement * | createProcInitStatement (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a ProcInitStatement. | |
| virtual IParam * | createProcParam (const IParam *, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an IParam. | |
| virtual FloatParam * | createProcParam (float f, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a FloatParam. | |
| virtual ReferenceParam * | createProcParam (const std::string &ref, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a ReferenceParam. | |
| virtual IProject * | createProject (const std::string &id, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates an IProject. | |
| virtual RenderCallback * | createRenderCallback (const std::string &ref, IType *stdlib, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a RenderCallback. | |
| virtual RenderProcedure * | createRenderProcedure (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a RenderProcedure. | |
| virtual Signature * | createSignature (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Signature. | |
| virtual StdLibCall * | createStdLibCall (IType *lib=0L, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a StdLibCall. | |
| virtual StringParam * | createStringParam (const std::string &txt, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a StringParam. | |
| virtual Text * | createText (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Text. | |
| virtual Vector2D * | createVector2D (float x, float y, int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a Vector2D. | |
| virtual VirtualGroup * | createVirtualGroup (int line=-1) const =0 throw (Exception::ProjectFactoryException) |
Creates a VirtualGroup. | |
Interface to a factory creating types.
| virtual AssignmentOperator* HGL::Type::IProjectFactory::createAssignmentOperator | ( | const std::string & | id, | |
| IType * | type = 0L, |
|||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an AssignmentOperator.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Curve* HGL::Type::IProjectFactory::createCurve | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Curve.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual DebugProcedure* HGL::Type::IProjectFactory::createDebugProcedure | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a DebugProcedure.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Ellipse* HGL::Type::IProjectFactory::createEllipse | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an Ellipse.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ExpressionParam* HGL::Type::IProjectFactory::createExpressionParam | ( | const ExpressionParam * | , | |
| const IProjectFactory * | , | |||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an ExpressionParam.
| line | an optional line number or -1 (default) for none |
| virtual ExpressionParam* HGL::Type::IProjectFactory::createExpressionParam | ( | const std::string & | , | |
| const IProjectFactory * | , | |||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an ExpressionParam.
| line | an optional line number or -1 (default) for none |
| virtual Fill* HGL::Type::IProjectFactory::createFill | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Fill.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Include* HGL::Type::IProjectFactory::createInclude | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Include.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Line* HGL::Type::IProjectFactory::createLine | ( | IPoint * | p1, | |
| IPoint * | p2, | |||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Line.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Line* HGL::Type::IProjectFactory::createLine | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Line.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual MainSegment* HGL::Type::IProjectFactory::createMainSegment | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a MainSegment.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual NamedParam* HGL::Type::IProjectFactory::createNamedParam | ( | const std::string & | typeName, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a NamedParam.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ObjectsSegment* HGL::Type::IProjectFactory::createObjectsSegment | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an ObjectsSegment.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ParamSection* HGL::Type::IProjectFactory::createParamSection | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a ParamSection.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual IPoint* HGL::Type::IProjectFactory::createPoint | ( | const std::string & | id, | |
| const IPoint & | p, | |||
| bool | markerPoint, | |||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an IPoint.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Point* HGL::Type::IProjectFactory::createPoint | ( | bool | markerPoint, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Point.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Poly* HGL::Type::IProjectFactory::createPoly | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Poly.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ProcCall* HGL::Type::IProjectFactory::createProcCall | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a ProcCall.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Procedure* HGL::Type::IProjectFactory::createProcedure | ( | const std::string & | id, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Procedure.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ProceduresSegment* HGL::Type::IProjectFactory::createProceduresSegment | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a ProceduresSegment.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ProcInitStatement* HGL::Type::IProjectFactory::createProcInitStatement | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a ProcInitStatement.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual IParam* HGL::Type::IProjectFactory::createProcParam | ( | const IParam * | , | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an IParam.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual FloatParam* HGL::Type::IProjectFactory::createProcParam | ( | float | f, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a FloatParam.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual ReferenceParam* HGL::Type::IProjectFactory::createProcParam | ( | const std::string & | ref, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a ReferenceParam.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual IProject* HGL::Type::IProjectFactory::createProject | ( | const std::string & | id, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates an IProject.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual RenderCallback* HGL::Type::IProjectFactory::createRenderCallback | ( | const std::string & | ref, | |
| IType * | stdlib, | |||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a RenderCallback.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual RenderProcedure* HGL::Type::IProjectFactory::createRenderProcedure | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a RenderProcedure.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Signature* HGL::Type::IProjectFactory::createSignature | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Signature.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual StdLibCall* HGL::Type::IProjectFactory::createStdLibCall | ( | IType * | lib = 0L, |
|
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a StdLibCall.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual StringParam* HGL::Type::IProjectFactory::createStringParam | ( | const std::string & | txt, | |
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a StringParam.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Text* HGL::Type::IProjectFactory::createText | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Text.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual Vector2D* HGL::Type::IProjectFactory::createVector2D | ( | float | x, | |
| float | y, | |||
| int | line = -1 | |||
| ) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a Vector2D.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
| virtual VirtualGroup* HGL::Type::IProjectFactory::createVirtualGroup | ( | int | line = -1 |
) | const throw (Exception::ProjectFactoryException) [pure virtual] |
Creates a VirtualGroup.
| line | an optional line number or -1 (default) for none |
Implemented in HGL::Type::DefaultProjectFactory.
1.6.1