Open CASCADE Technology
6.5.4
|
this class manage a scope of labels
===================================
#include <TNaming_Scope.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | TNaming_Scope () |
WithValid = FALSE | |
TNaming_Scope (const Standard_Boolean WithValid) | |
if <WithValid> the scope is defined by the map. If not on the whole framework. | |
TNaming_Scope (TDF_LabelMap &valid) | |
create a scope with a map. WithValid = TRUE. | |
Standard_Boolean | WithValid () const |
void | WithValid (const Standard_Boolean mode) |
void | ClearValid () |
void | Valid (const TDF_Label &L) |
void | ValidChildren (const TDF_Label &L, const Standard_Boolean withroot=Standard_True) |
void | Unvalid (const TDF_Label &L) |
void | UnvalidChildren (const TDF_Label &L, const Standard_Boolean withroot=Standard_True) |
Standard_Boolean | IsValid (const TDF_Label &L) const |
const TDF_LabelMap & | GetValid () const |
TDF_LabelMap & | ChangeValid () |
TopoDS_Shape | CurrentShape (const Handle< TNaming_NamedShape > &NS) const |
Returns the current value of <NS> according to the Valid Scope. |
TNaming_Scope::TNaming_Scope | ( | const Standard_Boolean | WithValid | ) |
TNaming_Scope::TNaming_Scope | ( | TDF_LabelMap & | valid | ) |
TopoDS_Shape TNaming_Scope::CurrentShape | ( | const Handle< TNaming_NamedShape > & | NS | ) | const |
const TDF_LabelMap& TNaming_Scope::GetValid | ( | ) | const |
Standard_Boolean TNaming_Scope::IsValid | ( | const TDF_Label & | L | ) | const |
void TNaming_Scope::Unvalid | ( | const TDF_Label & | L | ) |
void TNaming_Scope::UnvalidChildren | ( | const TDF_Label & | L, |
const Standard_Boolean | withroot = Standard_True |
||
) |
void TNaming_Scope::Valid | ( | const TDF_Label & | L | ) |
void TNaming_Scope::ValidChildren | ( | const TDF_Label & | L, |
const Standard_Boolean | withroot = Standard_True |
||
) |
Standard_Boolean TNaming_Scope::WithValid | ( | ) | const |