Represents runtime schema See User's Manual More...
Public Member Functions | |
RuntimeSchema () | |
Default constructor. More... | |
RuntimeSchema (const boost::shared_ptr< SchemaDef > &schema) | |
Construct from a share_ptr to a SchemaDef object. More... | |
RuntimeSchema (const SchemaDef &schema) | |
Construct from a reference to a SchemaDef object. More... | |
const SchemaDef & | GetSchema () const |
Returns constant reference to SchemaDef object. More... | |
Represents runtime schema See User's Manual
bond::RuntimeSchema::RuntimeSchema | ( | ) |
Default constructor.
bond::RuntimeSchema::RuntimeSchema | ( | const boost::shared_ptr< SchemaDef > & | schema | ) |
Construct from a share_ptr to a SchemaDef object.
|
explicit |
Construct from a reference to a SchemaDef object.
This ctor should be used only when it can be guaranteed that liftime of the SchemaDef object referenced by the schema argument is longer than lifetime of any copy of the RuntimeSchema object being constructed. In most cases it is safer to use the ctor taking shared_ptr<SchemaDef>.
const SchemaDef & bond::RuntimeSchema::GetSchema | ( | ) | const |
Returns constant reference to SchemaDef object.