|
hgl 0.5.25
A compiler/interpreter suite for developing images
|
#include "iproject.h"
Public Member Functions | |
| virtual MainSegment * | addMainSegment (MainSegment *ms)=0 |
| Adds the main segment. More... | |
| virtual ObjectsSegment * | addObjectsSegment (ObjectsSegment *os)=0 |
| Adds the objects segment. More... | |
| virtual ProceduresSegment * | addProceduresSegment (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 IType & | operator= (const IType &)=0 throw (Exception::InvalidExpressionException) |
| virtual IType * | operator+ (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException) |
| virtual IType * | operator- (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException) |
| virtual IType * | operator* (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException) |
| virtual IType * | operator* (const float *)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException) |
| virtual IType * | operator/ (const IType &)=0 throw (Exception::ReferenceException, Exception::InvalidExpressionException) |
| virtual IType * | operator- ()=0 throw (Exception::InvalidExpressionException) |
| virtual IType * | power (const IType &)=0 throw (Exception::InvalidExpressionException) |
| virtual IType * | sinus ()=0 throw (Exception::InvalidExpressionException) |
| virtual IType * | cosinus ()=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 IType * | getRoot (const IType &type) const =0 |
| Get the root of a type. More... | |
| virtual void | setRoot (IType *)=0 |
| virtual IType * | getParent () const =0 |
Returns the parent IType. More... | |
| virtual void | setParent (IType *parent)=0 |
| Set parent of the type. More... | |
| virtual IType * | resolve (const std::string &id) const =0 |
| Resolves a type by its ID. More... | |
| virtual const TYPELIST & | getAttachedTypes () const =0 |
Returns all attached IType instances. More... | |
| virtual IType * | attachType (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... | |
|
pure virtual |
Adds the main segment.
| ms | the main segment |
Implemented in HGL::Type::Project.
|
pure virtual |
Adds the objects segment.
| os | the objects segment |
Implemented in HGL::Type::Project.
|
pure virtual |
Adds the procedures segment.
| ps | the procedures segment |
Implemented in HGL::Type::Project.
1.8.5