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

Defines general form for classes of graph algorithms on
Interfaces, this form is that of EntityIterator
Each sub-class fills it according to its own algorithm
This also allows to combine any graph result to others,
all being given under one unique form

#include <Interface_GraphContent.hxx>

Inheritance diagram for Interface_GraphContent:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC Interface_GraphContent ()
 Creates an empty GraphContent, ready to be filled

 Interface_GraphContent (const Interface_Graph &agraph)
 Creates with all entities designated by a Graph

 Interface_GraphContent (const Interface_Graph &agraph, const Standard_Integer stat)
 Creates with entities having specific Status value in a Graph

 Interface_GraphContent (const Interface_Graph &agraph, const Handle< Standard_Transient > &ent)
 Creates an Iterator with Shared entities of an entity
(equivalente to EntityIterator but with a Graph)

void GetFromGraph (const Interface_Graph &agraph)
 Gets all Entities designated by a Graph (once created), adds
them to those already recorded

void GetFromGraph (const Interface_Graph &agraph, const Standard_Integer stat)
 Gets entities from a graph which have a specific Status value
(one created), adds them to those already recorded

Interface_EntityIterator Result ()
 Returns Result under the exact form of an EntityIterator :
Can be used when EntityIterator itself is required (as a
returned value for instance), whitout way for a sub-class

void Begin ()
 Does the Evaluation before starting the iteration itself
(in out)

virtual void Evaluate ()
 Evaluates list of Entities to be iterated. Called by Start
Default is set to doing nothing : intended to be redefined
by each sub-class


Constructor & Destructor Documentation


Member Function Documentation

virtual void Interface_GraphContent::Evaluate ( ) [virtual]

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