Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
TNaming_Scope Class Reference

#include <TNaming_Scope.hxx>

Public Member Functions

 TNaming_Scope ()
 WithValid = FALSE.
 
 TNaming_Scope (const bool WithValid)
 if <WithValid> the scope is defined by the map. If not on the whole framework.
 
 TNaming_Scope (NCollection_Map< TDF_Label > &valid)
 create a scope with a map. WithValid = TRUE.
 
bool WithValid () const
 
void WithValid (const bool mode)
 
void ClearValid ()
 
void Valid (const TDF_Label &L)
 
void ValidChildren (const TDF_Label &L, const bool withroot=true)
 
void Unvalid (const TDF_Label &L)
 
void UnvalidChildren (const TDF_Label &L, const bool withroot=true)
 
bool IsValid (const TDF_Label &L) const
 
const NCollection_Map< TDF_Label > & GetValid () const
 
NCollection_Map< TDF_Label > & ChangeValid ()
 
TopoDS_Shape CurrentShape (const occ::handle< TNaming_NamedShape > &NS) const
 Returns the current value of <NS> according to the Valid Scope.
 

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 bool WithValid)

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

◆ TNaming_Scope() [3/3]

TNaming_Scope::TNaming_Scope ( NCollection_Map< TDF_Label > & valid)

create a scope with a map. WithValid = TRUE.

Member Function Documentation

◆ ChangeValid()

NCollection_Map< TDF_Label > & TNaming_Scope::ChangeValid ( )

◆ ClearValid()

void TNaming_Scope::ClearValid ( )

◆ CurrentShape()

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

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

◆ GetValid()

const NCollection_Map< TDF_Label > & TNaming_Scope::GetValid ( ) const

◆ IsValid()

bool 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 bool withroot = true )

◆ Valid()

void TNaming_Scope::Valid ( const TDF_Label & L)

◆ ValidChildren()

void TNaming_Scope::ValidChildren ( const TDF_Label & L,
const bool withroot = true )

◆ WithValid() [1/2]

bool TNaming_Scope::WithValid ( ) const

◆ WithValid() [2/2]

void TNaming_Scope::WithValid ( const bool mode)

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