Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TransferBRep_ShapeListBinder Class Reference

This binder binds several (a list of) shapes with a starting
entity, when this entity itself corresponds to a simple list
of shapes. Each part is not seen as a sub-result of an
independant componant, but as an item of a built-in list

#include <TransferBRep_ShapeListBinder.hxx>

Inheritance diagram for TransferBRep_ShapeListBinder:
Inheritance graph
[legend]

Public Member Functions

 TransferBRep_ShapeListBinder ()
 TransferBRep_ShapeListBinder (const Handle< TopTools_HSequenceOfShape > &list)
virtual Standard_Boolean IsMultiple () const
 Returns True if a Binder has several results, either by itself
or because it has next results
Can be defined by sub-classes.

Handle_Standard_Type ResultType () const
 Returns the Type which characterizes the Result (if known)

Standard_CString ResultTypeName () const
 Returns the Name of the Type which characterizes the Result
Can be returned even if ResultType itself is unknown

void AddResult (const TopoDS_Shape &res)
 Adds an item to the result list

Handle_TopTools_HSequenceOfShape Result () const
void SetResult (const Standard_Integer num, const TopoDS_Shape &res)
 Changes an already defined sub-result

Standard_Integer NbShapes () const
const TopoDS_ShapeShape (const Standard_Integer num) const
TopAbs_ShapeEnum ShapeType (const Standard_Integer num) const
TopoDS_Vertex Vertex (const Standard_Integer num) const
TopoDS_Edge Edge (const Standard_Integer num) const
TopoDS_Wire Wire (const Standard_Integer num) const
TopoDS_Face Face (const Standard_Integer num) const
TopoDS_Shell Shell (const Standard_Integer num) const
TopoDS_Solid Solid (const Standard_Integer num) const
TopoDS_CompSolid CompSolid (const Standard_Integer num) const
TopoDS_Compound Compound (const Standard_Integer num) const

Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from Transfer_Binder.

Handle_TopTools_HSequenceOfShape TransferBRep_ShapeListBinder::Result ( ) const
Handle_Standard_Type TransferBRep_ShapeListBinder::ResultType ( ) const [virtual]

Implements Transfer_Binder.

Implements Transfer_Binder.


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