Open CASCADE Technology 6.6.0
|
This class only says for each Entity of a Model, if it is
Shared or not by one or more other(s) of this Model
It uses the General Service "Shared".
#include <Interface_ShareFlags.hxx>
Public Member Functions | |
Interface_ShareFlags (const Handle< Interface_InterfaceModel > &amodel, const Interface_GeneralLib &lib) | |
Creates a ShareFlags from a Model and builds required data (flags) by calling the General Service Library given as argument <lib> | |
Interface_ShareFlags (const Handle< Interface_InterfaceModel > &amodel, const Handle< Interface_GTool > >ool) | |
Same as above, but GeneralLib is detained by a GTool | |
Interface_ShareFlags (const Handle< Interface_InterfaceModel > &amodel, const Handle< Interface_Protocol > &protocol) | |
Same as above, but GeneralLib is defined through a Protocol | |
Interface_ShareFlags (const Handle< Interface_InterfaceModel > &amodel) | |
Same as above, but works with the GTool of the Model | |
Interface_ShareFlags (const Interface_Graph &agraph) | |
Creates a ShareFlags by querying informations from a Graph (remark that Graph also has a method IsShared) | |
Handle_Interface_InterfaceModel | Model () const |
Returns the Model used for the evaluation | |
Standard_Boolean | IsShared (const Handle< Standard_Transient > &ent) const |
Returns True if <ent> is Shared by one or more other Entity(ies) of the Model | |
Interface_EntityIterator | RootEntities () const |
Returns the Entities which are not Shared (see their flags) | |
Standard_Integer | NbRoots () const |
Returns the count of root entities | |
Handle_Standard_Transient | Root (const Standard_Integer num=1) const |
Returns a root entity according its rank in the list of roots By default, it returns the first one |
Interface_ShareFlags::Interface_ShareFlags | ( | const Handle< Interface_InterfaceModel > & | amodel, |
const Interface_GeneralLib & | lib | ||
) |
Interface_ShareFlags::Interface_ShareFlags | ( | const Handle< Interface_InterfaceModel > & | amodel, |
const Handle< Interface_GTool > & | gtool | ||
) |
Interface_ShareFlags::Interface_ShareFlags | ( | const Handle< Interface_InterfaceModel > & | amodel, |
const Handle< Interface_Protocol > & | protocol | ||
) |
Interface_ShareFlags::Interface_ShareFlags | ( | const Handle< Interface_InterfaceModel > & | amodel | ) |
Interface_ShareFlags::Interface_ShareFlags | ( | const Interface_Graph & | agraph | ) |
Standard_Boolean Interface_ShareFlags::IsShared | ( | const Handle< Standard_Transient > & | ent | ) | const |
Handle_Interface_InterfaceModel Interface_ShareFlags::Model | ( | ) | const |
Standard_Integer Interface_ShareFlags::NbRoots | ( | ) | const |
Handle_Standard_Transient Interface_ShareFlags::Root | ( | const Standard_Integer | num = 1 | ) | const |
Interface_EntityIterator Interface_ShareFlags::RootEntities | ( | ) | const |