1
0
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:
Roman Lygin
2013-01-18 13:47:00 +04:00
parent ea9632bc14
commit d97f89db4f
8 changed files with 16 additions and 22 deletions

View File

@@ -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);

View File

@@ -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 ++++++++++++++++++++++++++++++++++++++++++++++++++++

View File

@@ -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; }