HGL::Type::IProjectFactory Interface Reference
[Utility classesTypes]

Interface to a factory creating types. More...

#include <iprojectfactory.h>

Inheritance diagram for HGL::Type::IProjectFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual AssignmentOperatorcreateAssignmentOperator (const std::string &id, IType *type=0L, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an AssignmentOperator.
virtual CurvecreateCurve (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Curve.
virtual DebugProcedurecreateDebugProcedure (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a DebugProcedure.
virtual EllipsecreateEllipse (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an Ellipse.
virtual ExpressionParamcreateExpressionParam (const ExpressionParam *, const IProjectFactory *, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an ExpressionParam.
virtual ExpressionParamcreateExpressionParam (const std::string &, const IProjectFactory *, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an ExpressionParam.
virtual FillcreateFill (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Fill.
virtual IncludecreateInclude (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Include.
virtual LinecreateLine (IPoint *p1, IPoint *p2, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Line.
virtual LinecreateLine (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Line.
virtual MainSegmentcreateMainSegment (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a MainSegment.
virtual NamedParamcreateNamedParam (const std::string &typeName, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a NamedParam.
virtual ObjectsSegmentcreateObjectsSegment (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an ObjectsSegment.
virtual ParamSectioncreateParamSection (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a ParamSection.
virtual IPointcreatePoint (const std::string &id, const IPoint &p, bool markerPoint, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an IPoint.
virtual PointcreatePoint (bool markerPoint, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Point.
virtual PolycreatePoly (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Poly.
virtual ProcCallcreateProcCall (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a ProcCall.
virtual ProcedurecreateProcedure (const std::string &id, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Procedure.
virtual ProceduresSegmentcreateProceduresSegment (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a ProceduresSegment.
virtual ProcInitStatementcreateProcInitStatement (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a ProcInitStatement.
virtual IParamcreateProcParam (const IParam *, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an IParam.
virtual FloatParamcreateProcParam (float f, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a FloatParam.
virtual ReferenceParamcreateProcParam (const std::string &ref, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a ReferenceParam.
virtual IProjectcreateProject (const std::string &id, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates an IProject.
virtual RenderCallbackcreateRenderCallback (const std::string &ref, IType *stdlib, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a RenderCallback.
virtual RenderProcedurecreateRenderProcedure (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a RenderProcedure.
virtual SignaturecreateSignature (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Signature.
virtual StdLibCallcreateStdLibCall (IType *lib=0L, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a StdLibCall.
virtual StringParamcreateStringParam (const std::string &txt, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a StringParam.
virtual TextcreateText (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Text.
virtual Vector2DcreateVector2D (float x, float y, int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a Vector2D.
virtual VirtualGroupcreateVirtualGroup (int line=-1) const =0 throw (Exception::ProjectFactoryException)
 Creates a VirtualGroup.

Detailed Description

Interface to a factory creating types.

See also:
HGL::Common::IParser
HGL::Common::createProject
HGL::Type::DefaultProjectFactory
Author:
Heiko Schäfer <heiko@hgl.rangun.de>

Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
line an optional line number or -1 (default) for none

Implemented in HGL::Type::DefaultProjectFactory.


Generated on 9 Apr 2014 for hgl 0.5.26~svn by  doxygen 1.6.1