OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

# DataExchange
TKXSBase
Interface

# 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:

[legend]

## Public Member Functions
void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)
Standard_EXPORT | Interface_GraphContent ()
| Creates an empty GraphContent, ready to be filled .
Standard_EXPORT | Interface_GraphContent (const Interface_Graph &agraph)
| Creates with all entities designated by a Graph .
Standard_EXPORT | Interface_GraphContent (const Interface_Graph &agraph, const Standard_Integer stat)
| Creates with entities having specific Status value in a Graph .
Standard_EXPORT | 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) .
Standard_EXPORT void | GetFromGraph (const Interface_Graph &agraph)
| Gets all Entities designated by a Graph (once created), adds them to those already recorded .
Standard_EXPORT 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 .
Standard_EXPORT 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 .
Standard_EXPORT void | Begin ()
| Does the Evaluation before starting the iteration itself (in out) .
virtual Standard_EXPORT 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

Standard_EXPORT Interface_GraphContent::Interface_GraphContent | ( |  | ) |

Standard_EXPORT Interface_GraphContent::Interface_GraphContent | ( | const Interface_Graph & | agraph | ) |

Standard_EXPORT Interface_GraphContent::Interface_GraphContent | ( | const Interface_Graph & | agraph,
|  | const Standard_Integer | stat
| ) |

Standard_EXPORT Interface_GraphContent::Interface_GraphContent | ( | const Interface_Graph & | agraph,
|  | const Handle(Standard_Transient)& | ent
| ) |

## Member Function Documentation

Standard_EXPORT void Interface_GraphContent::Begin | ( |  | ) |

virtual Standard_EXPORT void Interface_GraphContent::Evaluate | ( |  | ) | `[virtual]`

| Reimplemented in IFGraph_AllConnected, IFGraph_AllShared, IFGraph_Articulations, IFGraph_Compare, IFGraph_Cumulate, and IFGraph_ExternalSources.

Standard_EXPORT void Interface_GraphContent::GetFromGraph | ( | const Interface_Graph & | agraph,
|  | const Standard_Integer | stat
| ) |

Standard_EXPORT void Interface_GraphContent::GetFromGraph | ( | const Interface_Graph & | agraph | ) |

void Interface_GraphContent::operator delete | ( | void * | anAddress | ) | `[inline]`

| Reimplemented from Interface_EntityIterator. Reimplemented in IFGraph_AllConnected, IFGraph_AllShared, IFGraph_Articulations, IFGraph_Compare, IFGraph_Cumulate, and IFGraph_ExternalSources.

void* Interface_GraphContent::operator new | ( | size_t | size | ) | `[inline]`

| Reimplemented from Interface_EntityIterator. Reimplemented in IFGraph_AllConnected, IFGraph_AllShared, IFGraph_Articulations, IFGraph_Compare, IFGraph_Cumulate, and IFGraph_ExternalSources.

void* Interface_GraphContent::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

| Reimplemented from Interface_EntityIterator. Reimplemented in IFGraph_AllConnected, IFGraph_AllShared, IFGraph_Articulations, IFGraph_Compare, IFGraph_Cumulate, and IFGraph_ExternalSources.

Standard_EXPORT Interface_EntityIterator Interface_GraphContent::Result | ( |  | ) |

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

- Interface_GraphContent.hxx