Open CASCADE Technology  7.0.0
Public Member Functions
TNaming_Scope Class Reference

this class manage a scope of labels

More...

#include <TNaming_Scope.hxx>

Public Member Functions

 TNaming_Scope ()
 WithValid = FALSE. More...
 
 TNaming_Scope (const Standard_Boolean WithValid)
 if <WithValid> the scope is defined by the map. If not on the whole framework. More...
 
 TNaming_Scope (TDF_LabelMap &valid)
 create a scope with a map. WithValid = TRUE. More...
 
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_LabelMapGetValid () const
 
TDF_LabelMapChangeValid ()
 
TopoDS_Shape CurrentShape (const Handle< TNaming_NamedShape > &NS) const
 Returns the current value of <NS> according to the Valid Scope. More...
 

Detailed Description

this class manage a scope of labels

Constructor & Destructor Documentation

TNaming_Scope::TNaming_Scope ( )

WithValid = FALSE.

TNaming_Scope::TNaming_Scope ( const Standard_Boolean  WithValid)

if <WithValid> the scope is defined by the map. If not on the whole framework.

TNaming_Scope::TNaming_Scope ( TDF_LabelMap valid)

create a scope with a map. WithValid = TRUE.

Member Function Documentation

TDF_LabelMap& TNaming_Scope::ChangeValid ( )
void TNaming_Scope::ClearValid ( )
TopoDS_Shape TNaming_Scope::CurrentShape ( const Handle< TNaming_NamedShape > &  NS) const

Returns the current value of <NS> according to the Valid Scope.

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
void TNaming_Scope::WithValid ( const Standard_Boolean  mode)

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