Example #1
0
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 );
}
Example #2
0
void Object::save( IndexedIOPtr ioInterface, const IndexedIO::EntryID &name ) const
{
	boost::shared_ptr<SaveContext> context( new SaveContext( ioInterface ) );
	context->save( this, ioInterface.get(), name );
}