HGL::Type::Line Class Reference
[Types]

#include <line.h>

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

List of all members.

Public Member Functions

virtual BOUNDINGBOX getBoundingBox () const
 Gets the bounding box of the type.
const Type::SerialIDgetSerialID () const
 Gets the serialization ID of the object.

Protected Member Functions

virtual ITypeattachType (IType *type, const TYPELIST::iterator &before, bool check) throw (Exception::AttachException)
 Attaches a child at the position before.
virtual const ITypefindReference (bool recache=false) const
 Searches the tree for the associated reference.

Detailed Description

Author:
Heiko Schäfer <heiko@hgl.rangun.de>

Member Function Documentation

HGL::IType * Line::attachType ( IType type,
const TYPELIST::iterator &  before,
bool  check 
) throw (Exception::AttachException) [protected, virtual]

Attaches a child at the position before.

It updates the parent of the attached type to this type as well.

Parameters:
type the IType to attach as child
before the type will be attached before the type referenced by before
check true (default), if validity checks should be performed

Reimplemented from HGL::Type::TypeBase.

const HGL::IType * Line::findReference ( bool  recache = false  )  const [protected, virtual]

Searches the tree for the associated reference.

Note:
To check if a reference was actually found use IType::isNull
See also:
IType::isNull
Returns:
an IType to a reference or the special NullType if not found

Reimplemented from HGL::Type::ReferenceHolderBase.

HGL::IType::BOUNDINGBOX Line::getBoundingBox (  )  const [virtual]

Gets the bounding box of the type.

Returns:
the bounding box of the type

Reimplemented from HGL::Type::TypeBase.

const HGL::Type::SerialID & Line::getSerialID (  )  const [virtual]

Gets the serialization ID of the object.

Returns:
the serialization ID of the object

Implements HGL::IType.


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