Open CASCADE Technology  7.4.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() [1/3]

TNaming_Scope::TNaming_Scope ( )

WithValid = FALSE.

◆ TNaming_Scope() [2/3]

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() [3/3]

TNaming_Scope::TNaming_Scope ( TDF_LabelMap valid)

create a scope with a map. WithValid = TRUE.

Member Function Documentation

◆ ChangeValid()

TDF_LabelMap& TNaming_Scope::ChangeValid ( )

◆ ClearValid()

void TNaming_Scope::ClearValid ( )

◆ CurrentShape()

TopoDS_Shape TNaming_Scope::CurrentShape ( const Handle< TNaming_NamedShape > &  NS) const

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

◆ GetValid()

const TDF_LabelMap& TNaming_Scope::GetValid ( ) const

◆ IsValid()

Standard_Boolean TNaming_Scope::IsValid ( const TDF_Label L) const

◆ Unvalid()

void TNaming_Scope::Unvalid ( const TDF_Label L)

◆ UnvalidChildren()

void TNaming_Scope::UnvalidChildren ( const TDF_Label L,
const Standard_Boolean  withroot = Standard_True 
)

◆ Valid()

void TNaming_Scope::Valid ( const TDF_Label L)

◆ ValidChildren()

void TNaming_Scope::ValidChildren ( const TDF_Label L,
const Standard_Boolean  withroot = Standard_True 
)

◆ WithValid() [1/2]

Standard_Boolean TNaming_Scope::WithValid ( ) const

◆ WithValid() [2/2]

void TNaming_Scope::WithValid ( const Standard_Boolean  mode)

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