#include <Storage_Root.hxx>
Inheritance diagram for Storage_Root:
Public Member Functions | |
Standard_EXPORT | Storage_Root () |
Standard_EXPORT | Storage_Root (const TCollection_AsciiString &aName, const Handle(Standard_Persistent)&anObject) |
Standard_EXPORT void | SetName (const TCollection_AsciiString &aName) |
Standard_EXPORT TCollection_AsciiString | Name () const |
Returns the name of this root object. The name may have been given explicitly when the root was inserted into the Storage_Data object. If not, the name is a reference number which was assigned automatically by the driver when writing the set of data into the container. When naming the roots, it is easier to retrieve objects by significant references rather than by references without any semantic values. Warning The returned string will be empty if you call this function before having named this root object, either explicitly, or when writing the set of data into the container. . | |
Standard_EXPORT void | SetObject (const Handle(Standard_Persistent)&anObject) |
Standard_EXPORT Handle_Standard_Persistent | Object () const |
Returns the persistent object encapsulated by this root. . | |
Standard_EXPORT TCollection_AsciiString | Type () const |
Returns the name of this root type. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Member Functions | |
Standard_EXPORT void | SetReference (const Standard_Integer aRef) |
Standard_EXPORT Standard_Integer | Reference () const |
Standard_EXPORT void | SetType (const TCollection_AsciiString &aType) |
Private Attributes | |
TCollection_AsciiString | myName |
TCollection_AsciiString | myType |
Handle_Standard_Persistent | myObject |
Standard_Integer | myRef |
|
|
|
|
|
Reimplemented from MMgt_TShared. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|