37 #ifndef Alembic_Abc_ArchiveInfo_h
38 #define Alembic_Abc_ArchiveInfo_h
64 template <
class ARCHIVE_CTOR>
88 template <
class ARCHIVE_CTOR>
127 Util::uint32_t & oAlembicApiVersion,
148 Util::uint32_t & oAlembicApiVersion,
177 template <
class ARCHIVE_CTOR>
190 if ( iApplicationWriter !=
"" )
192 md.
set( kApplicationNameKey, iApplicationWriter );
198 #if defined _WIN32 || defined _WIN64
199 ctime_s( dateBuf, 128, &rawtimeNow);
201 ctime_r( &rawtimeNow, dateBuf );
204 std::size_t bufLen = strlen( dateBuf );
205 if ( bufLen > 0 && dateBuf[bufLen - 1] ==
'\n' )
207 dateBuf[bufLen - 1] =
'\0';
209 md.
set( kDateWrittenKey, dateBuf );
211 if ( iUserDescription !=
"" )
213 md.
set( kUserDescriptionKey, iUserDescription );
221 return OArchive( iCtor, iFileName, md, policy );
225 template <
class ARCHIVE_CTOR>
235 iUserDescription, iArg0, iArg1 );
hboost::math::policies::policy< hboost::math::policies::domain_error< hboost::math::policies::ignore_error >, hboost::math::policies::pole_error< hboost::math::policies::ignore_error >, hboost::math::policies::overflow_error< hboost::math::policies::ignore_error >, hboost::math::policies::underflow_error< hboost::math::policies::ignore_error >, hboost::math::policies::denorm_error< hboost::math::policies::ignore_error >, hboost::math::policies::rounding_error< hboost::math::policies::ignore_error >, hboost::math::policies::evaluation_error< hboost::math::policies::ignore_error >, hboost::math::policies::indeterminate_result_error< hboost::math::policies::ignore_error > > policy
GT_API const UT_StringHolder time
GLsizei const GLchar *const * string
AbcA::MetaData GetMetaData(const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
ErrorHandler::Policy GetErrorHandlerPolicyFromArgs(const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
ALEMBIC_EXPORT void GetArchiveInfo(IArchive &iArchive, std::string &oApplicationWriter, std::string &oAlembicVersion, Util::uint32_t &oAlembicApiVersion, std::string &oDateWritten, std::string &oUserDescription)
#define ALEMBIC_EXPORT_CONST
OArchive CreateArchiveWithInfo(ARCHIVE_CTOR iCtor, const std::string &iFileName, const std::string &iApplicationWriter, const std::string &iUserDescription, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
ALEMBIC_EXPORT void GetArchiveStartAndEndTime(IArchive &iArchive, double &oStartTime, double &oEndTime)
#define ALEMBIC_VERSION_NS