|
kDB: Knowledge DataBase
|
#include <MetaType.h>
Classes | |
| struct | Private |
Public Member Functions | |
| DeserialisationContexts (const DeserialisationContexts &_rhs) | |
| DeserialisationContexts & | operator= (const DeserialisationContexts &_rhs) |
| cres_qresult< AbstractDeserialisationContext * > | getContext (const knowCore::Uri &_uri) const |
| template<typename _T_ > | |
| cres_qresult< _T_ * > | getContext (const knowCore::Uri &_uri) const |
| void | addContext (const knowCore::Uri &_uri, AbstractDeserialisationContext *_context) |
Store AbstractDeserialisationContext that are used by the meta-type system during deserialisation of objects. This is mostly useful for deserialising objects whose implementation vary depending on context.
This class use shared data, and cannot be cloned.
| void DeserialisationContexts::addContext | ( | const knowCore::Uri & | _uri, |
| AbstractDeserialisationContext * | _context ) |
Add a context to the set of contexts. The ownership of _context is transfered to this DeserialisationContexts.
| cres_qresult< AbstractDeserialisationContext * > DeserialisationContexts::getContext | ( | const knowCore::Uri & | _uri | ) | const |
| cres_qresult< _T_ * > knowCore::DeserialisationContexts::getContext | ( | const knowCore::Uri & | _uri | ) | const |