void Options::save( SaveContext *context ) const { PreWorldRenderable::save( context ); IndexedIOPtr container = context->container( staticTypeName(), m_ioVersion ); context->save( m_options.get(), container.get(), g_optionsEntry ); }
void Object::save( IndexedIOPtr ioInterface, const IndexedIO::EntryID &name ) const { boost::shared_ptr<SaveContext> context( new SaveContext( ioInterface ) ); context->save( this, ioInterface.get(), name ); }