Open CASCADE Technology  6.9.0
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 objet 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 ( const Standard_Boolean  aMode = Standard_True)

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

Member Function Documentation

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.

Standard_Boolean TDF_ClosureMode::Descendants ( ) const

Returns true if the mode "Descendants" is set.

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().

Standard_Boolean TDF_ClosureMode::References ( ) const

Returns true if the mode "References" is set.


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