#include <OArchive.h>
Definition at line 52 of file OArchive.h.
By convention, we always define "this_type" in every Abc class. This convention is relied upon by the unspecified-bool-type conversion.
Definition at line 58 of file OArchive.h.
Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::OArchive |
( |
| ) |
|
|
inline |
The default constructor creates an empty OArchive function set. ...
Definition at line 66 of file OArchive.h.
template<class ARCHIVE_CTOR >
The explicit constructor creates an archive with the given file name. Additional arguments that may be passed are the error handling policy and meta data.
- Parameters
-
iCtor | We need to pass in a constructor which provides an explicit link to the concrete implementation of AbcCoreAbstract that we're using. |
iFileName | File name |
iArg0 | Optionally could be the error handling policy, or the meta data. |
iArg1 | Optionally could be the error handling policy, or the meta data. |
Definition at line 199 of file OArchive.h.
This attaches an OArchive wrapper around an existing ArchiveWriterPtr, with an optional error handling policy.
- Parameters
-
iPtr | The pointer ... |
iPolicy | Optional error handling policy ... |
Definition at line 89 of file OArchive.h.
Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::~OArchive |
( |
| ) |
|
uint32_t Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::addTimeSampling |
( |
const AbcA::TimeSampling & |
iTs | ) |
|
Adds the TimeSampling to the Archive TimeSampling pool. If the TimeSampling already exists in the pool, the index for the match should be returned. index 0 is automatically reserved for uniform time sampling with a start time of 0 and time per cycle of 1 (aka identity sampling)
Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::ALEMBIC_OPERATOR_BOOL |
( |
valid() |
| ) |
|
The unspecified-bool-type operator casts the object to "true" if it is valid, and "false" otherwise.
int8_t Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::getCompressionHint |
( |
| ) |
const |
Get the compression applied to array properties. The value will be -1 for uncompressed, and 0-9 for weak through strong gzip compression.
std::string Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::getName |
( |
| ) |
const |
Default copy constructor Default assignment operator Returns the file name. It is an error to do so with an invalid object.
uint32_t Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::getNumTimeSamplings |
( |
| ) |
|
Returns the total number of TimeSamplingPtrs in the Archive TimeSampling pool.
getPtr, as usual, returns a shared ptr to the underlying AbcCoreAbstract object, in this case the ArchiveWriterPtr.
Definition at line 169 of file OArchive.h.
Returns the TimeSampling at a given index. index 0 is automatically reserved for uniform time sampling with a start time of 0 and time per cycle of 1 (aka identity sampling)
OObject Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::getTop |
( |
| ) |
|
This returns the single top-level OObject that exists automatically as part of the archive.
void Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::reset |
( |
| ) |
|
|
inline |
Reset returns this function set to an empty, default state.
Definition at line 173 of file OArchive.h.
void Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::setCompressionHint |
( |
int8_t |
iCh | ) |
|
Set the compression applied to array properties. Value of -1 means uncompressed, and values of 0-9 indicate increasingly compressed data, at the expense of time.
bool Alembic::Abc::ALEMBIC_VERSION_NS::OArchive::valid |
( |
| ) |
const |
|
inline |
Valid returns whether this function set is valid.
Definition at line 177 of file OArchive.h.
The documentation for this class was generated from the following file: