mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023690: Miscellaneous minor enhancements in OCAF/XDE
This commit is contained in:
@@ -65,11 +65,13 @@ raises
|
||||
|
||||
is
|
||||
Create returns Label from TDF;
|
||||
---Purpose: Constructs an empty label object.
|
||||
---Purpose: Constructs an empty label object.
|
||||
---C++: inline
|
||||
|
||||
Create(aNode : LabelNodePtr from TDF) returns Label from TDF
|
||||
is private;
|
||||
---Purpose: Reserved to the friends.
|
||||
---C++: inline
|
||||
|
||||
|
||||
Nullify(me : in out);
|
||||
|
@@ -30,24 +30,6 @@
|
||||
#include <Standard_ImmutableObject.hxx>
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : TDF_Label
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
TDF_Label::TDF_Label()
|
||||
:myLabelNode(NULL)
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : TDF_Label
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
TDF_Label::TDF_Label(const TDF_LabelNodePtr& aNode)
|
||||
:myLabelNode(aNode)
|
||||
{}
|
||||
|
||||
// Attribute methods ++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
|
||||
|
@@ -26,6 +26,14 @@
|
||||
#include <TDF_LabelNode.hxx>
|
||||
#include <TDF_TagSource.hxx>
|
||||
|
||||
inline TDF_Label::TDF_Label()
|
||||
:myLabelNode(NULL)
|
||||
{}
|
||||
|
||||
inline TDF_Label::TDF_Label(const TDF_LabelNodePtr& aNode)
|
||||
:myLabelNode(aNode)
|
||||
{}
|
||||
|
||||
inline void TDF_Label::Nullify()
|
||||
{ myLabelNode = NULL; }
|
||||
|
||||
|
Reference in New Issue
Block a user