HDK
|
#include <GABC_IArchive.h>
Public Types | |
using | gabc_istream = FS_IStreamDevice |
using | gabc_streambuf = FS_IStreamDeviceBuffer |
using | IArchive = Alembic::Abc::IArchive |
using | SetType = UT_Set< GABC_IItem * > |
Public Member Functions | |
bool | valid () const |
Test validity. More... | |
const std::string & | error () const |
Error (set on creation) More... | |
const std::vector< std::string > & | filenames () const |
Access the filename. More... | |
GABC_IObject | getTop () const |
Get the root object. More... | |
const IArchive & | archive () const |
Access to the underlying archive. More... | |
bool | isOgawa () const |
void | purgeObjects () |
Purge all object references. More... | |
void | reopenStream (int num_ogawa_streams=-1) |
void | incref () |
void | decref () |
Static Public Member Functions | |
static std::string | filenamesToString (const std::vector< std::string > &filenames) |
Friends | |
class | GABC_AutoLock |
void | reference (GABC_IItem *item) |
Called to maintain references to GABC_IItem objects. More... | |
void | unreference (GABC_IItem *item) |
Called to maintain references to GABC_IItem objects. More... | |
Wrapper around an Alembic archive. This provides thread-safe access to Alembic data.
Definition at line 58 of file GABC_IArchive.h.
Definition at line 61 of file GABC_IArchive.h.
Definition at line 62 of file GABC_IArchive.h.
Definition at line 63 of file GABC_IArchive.h.
Definition at line 64 of file GABC_IArchive.h.
|
inline |
Access to the underlying archive.
Definition at line 79 of file GABC_IArchive.h.
|
inline |
Reference counting
Definition at line 103 of file GABC_IArchive.h.
|
inline |
Error (set on creation)
Definition at line 70 of file GABC_IArchive.h.
|
inline |
Access the filename.
Definition at line 73 of file GABC_IArchive.h.
|
static |
Generate a single, user-friendly printable string from a list of filenames
GABC_IObject GABC_NAMESPACE::GABC_IArchive::getTop | ( | ) | const |
Get the root object.
|
inline |
Reference counting
Definition at line 102 of file GABC_IArchive.h.
|
inline |
Definition at line 81 of file GABC_IArchive.h.
void GABC_NAMESPACE::GABC_IArchive::purgeObjects | ( | ) |
Purge all object references.
void GABC_NAMESPACE::GABC_IArchive::reference | ( | GABC_IItem * | item | ) |
Called to maintain references to GABC_IItem objects.
Close and reopen the archive with the given number of file streams (-1 is to use the default)
void GABC_NAMESPACE::GABC_IArchive::unreference | ( | GABC_IItem * | item | ) |
Called to maintain references to GABC_IItem objects.
|
inline |
Test validity.
Definition at line 67 of file GABC_IArchive.h.
|
friend |
Definition at line 131 of file GABC_IArchive.h.