HDK
|
#include <GABC_IItem.h>
Public Member Functions | |
GABC_IItem (const GABC_IArchivePtr &arch=NULL) | |
GABC_IItem (const GABC_IItem &src) | |
virtual | ~GABC_IItem () |
GABC_IItem & | operator= (const GABC_IItem &src) |
virtual void | purge ()=0 |
const GABC_IArchivePtr & | archive () const |
void | setArchive (const GABC_IArchivePtr &a) |
Objects stored in GABC_IArchives
Since IArchives keep references to objects, holding onto a reference will prevent the archive from closing. When we try to close an archive (i.e. so that we can write over it), we can't have any references dangling. The GABC_IArchive maintains a set of all the items and can force them to purge their data.
Definition at line 45 of file GABC_IItem.h.
GABC_NAMESPACE::GABC_IItem::GABC_IItem | ( | const GABC_IArchivePtr & | arch = NULL | ) |
GABC_NAMESPACE::GABC_IItem::GABC_IItem | ( | const GABC_IItem & | src | ) |
|
virtual |
|
inline |
Access the archive
Definition at line 66 of file GABC_IItem.h.
|
inline |
Definition at line 52 of file GABC_IItem.h.
|
pure virtual |
Purge any references to objects in the Alembic archive. Once the object is purged, it should be considered to be an invalid object. The object does not have to re-resolve itself.
Implemented in GABC_NAMESPACE::GABC_IArray, and GABC_NAMESPACE::GABC_IObject.
void GABC_NAMESPACE::GABC_IItem::setArchive | ( | const GABC_IArchivePtr & | a | ) |
Access the archive