Open CASCADE Technology 6.6.0
|
#include <TDataXtd_Placement.hxx>
Public Member Functions | |
TDataXtd_Placement () | |
const Standard_GUID & | ID () const |
Returns the ID of the attribute. | |
void | Restore (const Handle< TDF_Attribute > &With) |
Restores the backuped contents from <anAttribute> into this one. It is used when aborting a transaction. | |
Handle_TDF_Attribute | NewEmpty () const |
Returns an new empty attribute from the good end type. It is used by the copy algorithm. | |
void | Paste (const Handle< TDF_Attribute > &Into, const Handle< TDF_RelocationTable > &RT) const |
This method is different from the "Copy" one, because it is used when copying an attribute from a source structure into a target structure. This method may paste the contents of <me> into <intoAttribute>. The given pasted attribute can be full or empty of its contents. But don't make a NEW! Just set the contents! It is possible to use <aRelocationTable> to get/set the relocation value of a source attribute. | |
virtual Standard_OStream & | Dump (Standard_OStream &anOS) const |
Dumps the minimum information about <me> on <aStream>. | |
Static Public Member Functions | |
static const Standard_GUID & | GetID () |
class methods ============= | |
static Handle_TDataXtd_Placement | Set (const TDF_Label &label) |
Find, or create, an Placement attribute. the Placement attribute is returned. //! Placement methods ================= |
TDataXtd_Placement::TDataXtd_Placement | ( | ) |
virtual Standard_OStream& TDataXtd_Placement::Dump | ( | Standard_OStream & | anOS | ) | const [virtual] |
Reimplemented from TDF_Attribute.
static const Standard_GUID& TDataXtd_Placement::GetID | ( | ) | [static] |
const Standard_GUID& TDataXtd_Placement::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
Handle_TDF_Attribute TDataXtd_Placement::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
void TDataXtd_Placement::Paste | ( | const Handle< TDF_Attribute > & | intoAttribute, |
const Handle< TDF_RelocationTable > & | aRelocationTable | ||
) | const [virtual] |
Implements TDF_Attribute.
void TDataXtd_Placement::Restore | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [virtual] |
Implements TDF_Attribute.
static Handle_TDataXtd_Placement TDataXtd_Placement::Set | ( | const TDF_Label & | label | ) | [static] |