Generated on Mon May 10 06:46:56 2010 for Gecode by doxygen 1.6.3

Gecode::Gist::Shape Class Reference

The shape of a subtree. More...

#include <visualnode.hh>

List of all members.

Public Member Functions

int depth (void) const
 Return depth of the shape.
const Extentoperator[] (int i) const
 Return extent at depth i.
Extentoperator[] (int i)
 Return extent at depth i.
bool getExtentAtDepth (int depth, Extent &extent)
 Return if extent exists at depth, if yes return it in extent.
BoundingBox getBoundingBox (void)
 Return bounding box.

Static Public Member Functions

static Shapeallocate (int d)
 Construct shape of depth d.
static Shapeallocate (Extent e)
 Construct with single extent e.
static Shapeallocate (Extent e, const Shape *subShape)
 Construct with for the root and subShape for the children.
static Shapeallocate (const Shape *subShape)
 Construct from subShape.
static void deallocate (Shape *)

Static Public Attributes

static Shapeleaf
 Static shape for leaf nodes.
static Shapehidden
 Static shape for hidden nodes.

Detailed Description

The shape of a subtree.

Definition at line 81 of file visualnode.hh.


Member Function Documentation

Shape * Gecode::Gist::Shape::allocate ( int  d  )  [inline, static]

Construct shape of depth d.

Definition at line 76 of file visualnode.hpp.

Shape * Gecode::Gist::Shape::allocate ( Extent  e  )  [inline, static]

Construct with single extent e.

Definition at line 85 of file visualnode.hpp.

Shape * Gecode::Gist::Shape::allocate ( Extent  e,
const Shape subShape 
) [static]

Construct with for the root and subShape for the children.

Definition at line 43 of file layoutcursor.cpp.

Shape * Gecode::Gist::Shape::allocate ( const Shape subShape  )  [static]

Construct from subShape.

Definition at line 53 of file layoutcursor.cpp.

void Gecode::Gist::Shape::deallocate ( Shape shape  )  [inline, static]

Definition at line 92 of file visualnode.hpp.

int Gecode::Gist::Shape::depth ( void   )  const [inline]

Return depth of the shape.

Definition at line 98 of file visualnode.hpp.

const Extent & Gecode::Gist::Shape::operator[] ( int  i  )  const [inline]

Return extent at depth i.

Definition at line 64 of file visualnode.hpp.

Extent & Gecode::Gist::Shape::operator[] ( int  i  )  [inline]

Return extent at depth i.

Definition at line 70 of file visualnode.hpp.

bool Gecode::Gist::Shape::getExtentAtDepth ( int  depth,
Extent extent 
)

Return if extent exists at depth, if yes return it in extent.

Definition at line 62 of file layoutcursor.cpp.

BoundingBox Gecode::Gist::Shape::getBoundingBox ( void   ) 

Return bounding box.

Definition at line 75 of file layoutcursor.cpp.


Member Data Documentation

Static shape for leaf nodes.

Definition at line 106 of file visualnode.hh.

Static shape for hidden nodes.

Definition at line 108 of file visualnode.hh.


The documentation for this class was generated from the following files: