hgl 0.5.25
A compiler/interpreter suite for developing images
Public Member Functions | List of all members
HGL::Type::IProject Interface Referenceabstract

#include "iproject.h"

Inheritance diagram for HGL::Type::IProject:
[legend]

Public Member Functions

virtual MainSegmentaddMainSegment (MainSegment *ms)=0
 Adds the main segment. More...
 
virtual ObjectsSegmentaddObjectsSegment (ObjectsSegment *os)=0
 Adds the objects segment. More...
 
virtual ProceduresSegmentaddProceduresSegment (ProceduresSegment *ps)=0
 Adds the procedures segment. More...
 
- Public Member Functions inherited from HGL::IType
virtual IType::Ptr clone () const =0 throw (Exception::CloneNotSupportedException)
 Creates a clone of the type. More...
 
virtual BOUNDINGBOX getBoundingBox () const =0
 Gets the bounding box of the type. More...
 
virtual const std::string & getId () const =0
 Gets the identifier. More...
 
virtual void setId (const std::string &id)=0
 Sets the identifier. More...
 
virtual const std::string & getDescription () const =0
 Gets the description of the type. More...
 
virtual void setDescription (const std::string &desc)=0
 Sets the description of the type. More...
 
virtual void setControlSourceParameter (const uint32_t &par)=0
 
virtual uint32_t getControlSourceParameter () const =0
 
virtual operator float () const =0 throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 Converts the type into a float More...
 
virtual operator Type::Vector2D & () const =0 throw (Exception::InvalidExpressionException)
 Converts the type into a HGL::Type::Vector2D More...
 
virtual operator Type::StringParam & () const =0 throw (Exception::InvalidExpressionException)
 Converts the type into a HGL::Type::StringParam More...
 
virtual ITypeoperator= (const IType &)=0 throw (Exception::InvalidExpressionException)
 
virtual ITypeoperator+ (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 
virtual ITypeoperator- (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 
virtual ITypeoperator* (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 
virtual ITypeoperator* (const float *)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 
virtual ITypeoperator/ (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 
virtual ITypeoperator- ()=0 throw (Exception::InvalidExpressionException)
 
virtual ITypepower (const IType &)=0 throw (Exception::InvalidExpressionException)
 
virtual ITypesinus ()=0 throw (Exception::InvalidExpressionException)
 
virtual ITypecosinus ()=0 throw (Exception::InvalidExpressionException)
 
virtual operator iterator ()=0
 Gets the iterator over this type's attached types. More...
 
virtual void invalidateIterator (bool parent=false) const =0
 
virtual iterator begin ()=0
 Gets the iterator to the begin over this type's attached types. More...
 
virtual iterator end ()=0
 Gets the iterator to the end over this type's attached types. More...
 
virtual bool isNull () const =0
 Checks if the type is null type. More...
 
virtual bool isValid () const =0
 Checks if the type is valid. More...
 
virtual SERIALID getSerialID () const =0
 Gets the serialization ID of the object. More...
 
virtual const ITypegetRoot (const IType &type) const =0
 Get the root of a type. More...
 
virtual void setRoot (IType *)=0
 
virtual ITypegetParent () const =0
 Returns the parent IType. More...
 
virtual void setParent (IType *parent)=0
 Set parent of the type. More...
 
virtual ITyperesolve (const std::string &id) const =0
 Resolves a type by its ID. More...
 
virtual const TYPELISTgetAttachedTypes () const =0
 Returns all attached IType instances. More...
 
virtual ITypeattachType (IType *type, bool check=true)=0 throw (Exception::AttachException)
 Attach child objects to the IType at end of list. More...
 
virtual void detachType (IType *type)=0
 Detaches a child from the IType. More...
 

Detailed Description

Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e

Member Function Documentation

virtual MainSegment* HGL::Type::IProject::addMainSegment ( MainSegment ms)
pure virtual

Adds the main segment.

Parameters
msthe main segment
Returns
the attached main segment

Implemented in HGL::Type::Project.

virtual ObjectsSegment* HGL::Type::IProject::addObjectsSegment ( ObjectsSegment os)
pure virtual

Adds the objects segment.

Parameters
osthe objects segment
Returns
the attached objects segment

Implemented in HGL::Type::Project.

virtual ProceduresSegment* HGL::Type::IProject::addProceduresSegment ( ProceduresSegment ps)
pure virtual

Adds the procedures segment.

Parameters
psthe procedures segment
Returns
the attached procedures segment

Implemented in HGL::Type::Project.