Open CASCADE Technology 7.8.0
|
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>. | |
void | Descendants (const Standard_Boolean aStatus) |
Sets the mode "Descendants" to <aStatus>. | |
Standard_Boolean | Descendants () const |
Returns true if the mode "Descendants" is set. | |
void | References (const Standard_Boolean aStatus) |
Sets the mode "References" to <aStatus>. | |
Standard_Boolean | References () const |
Returns true if the mode "References" is set. | |
This class provides options closure management.
TDF_ClosureMode::TDF_ClosureMode | ( | const Standard_Boolean | aMode = Standard_True | ) |
Creates an object with all modes set to <aMode>.
Standard_Boolean TDF_ClosureMode::Descendants | ( | ) | const |
Returns true if the mode "Descendants" is set.
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::References | ( | ) | const |
Returns true if the mode "References" 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().