Open CASCADE Technology  7.7.0.dev
Public Member Functions

TDF_ClosureMode Class Reference

This class provides options closure management. More...

#include <TDF_ClosureMode.hxx>

Public Member Functions

 TDF_ClosureMode (const Standard_Boolean aMode=Standard_True)
 Creates an object with all modes set to <aMode>. More...
 
void Descendants (const Standard_Boolean aStatus)
 Sets the mode "Descendants" to <aStatus>. More...
 
Standard_Boolean Descendants () const
 Returns true if the mode "Descendants" is set. More...
 
void References (const Standard_Boolean aStatus)
 Sets the mode "References" to <aStatus>. More...
 
Standard_Boolean References () const
 Returns true if the mode "References" is set. More...
 

Detailed Description

This class provides options closure management.

Constructor & Destructor Documentation

◆ TDF_ClosureMode()

TDF_ClosureMode::TDF_ClosureMode ( const Standard_Boolean  aMode = Standard_True)

Creates an object with all modes set to <aMode>.

Member Function Documentation

◆ Descendants() [1/2]

Standard_Boolean TDF_ClosureMode::Descendants ( ) const

Returns true if the mode "Descendants" is set.

◆ Descendants() [2/2]

void TDF_ClosureMode::Descendants ( const Standard_Boolean  aStatus)

Sets the mode "Descendants" to <aStatus>.

"Descendants" mode means we add to the data set the children labels of each USER GIVEN label. We do not do that with the labels found applying UpToFirstLevel option.

◆ References() [1/2]

Standard_Boolean TDF_ClosureMode::References ( ) const

Returns true if the mode "References" is set.

◆ References() [2/2]

void TDF_ClosureMode::References ( const Standard_Boolean  aStatus)

Sets the mode "References" to <aStatus>.

"References" mode means we add to the data set the descendants of an attribute, by calling the attribute method Descendants().


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