Open CASCADE Technology
7.2.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 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... | |
This class provides options closure management.
TDF_ClosureMode::TDF_ClosureMode | ( | const Standard_Boolean | aMode = Standard_True | ) |
Creates an objet with all modes set to <aMode>.
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.