37#ifndef Alembic_Abc_ISchema_h
38#define Alembic_Abc_ISchema_h
77 return INFO::defaultName();
83 static bool matches(
const AbcA::MetaData &iMetaData,
100 static bool matches(
const AbcA::PropertyHeader &iHeader,
103 return matches( iHeader.getMetaData(), iMatching );
118 const std::string &iName,
122 init( iParent, iName, iArg0, iArg1 );
136 const AbcA::PropertyHeader &pheader = this->
getHeader();
140 "Incorrect match of schema: "
141 << pheader.getMetaData().get(
"schema" )
161 *
this =
ISchema( iProperty, iArg0, iArg1 );
171 const std::string &iName,
181 const std::string &iName,
195 "NULL parent passed into ISchema ctor" );
196 AbcA::CompoundPropertyReaderPtr parent = iParent.
getPtr();
197 ABCA_ASSERT( parent,
"NULL CompoundPropertyReaderPtr" );
199 const AbcA::PropertyHeader *pheader = parent->getPropertyHeader( iName );
202 "Nonexistent compound property: " << iName );
207 "Incorrect match of schema: "
208 << pheader->getMetaData().get(
"schema" )
213 m_property = parent->getCompoundProperty( iName );
#define ABCA_ASSERT(COND, TEXT)
#define ALEMBIC_ABC_SAFE_CALL_BEGIN(CONTEXT)
#define ALEMBIC_ABC_SAFE_CALL_END_RESET()
#define ALEMBIC_VERSION_NS
void setInto(Arguments &iArgs) const
SchemaInterpMatching getSchemaInterpMatching() const
ErrorHandler::Policy getErrorHandlerPolicy() const
const AbcA::PropertyHeader & getHeader() const
AbcA::CompoundPropertyReaderPtr getPtr() const
ICompoundProperty getParent() const
static bool matches(const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching)
static const char * getDefaultSchemaName()
static bool matches(const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
ISchema(const ICompoundProperty &iProperty, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
ISchema< INFO > this_type
static const char * getSchemaTitle()
ISchema(const ICompoundProperty &iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
ISchema(const ICompoundProperty &iProperty, WrapExistingFlag iFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
ErrorHandler::Policy GetErrorHandlerPolicy(SOMETHING iSomething, const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
SchemaInterpMatching GetSchemaInterpMatching(const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())