|
xapian-core
2.0.0
|
Class for looking up user subclasses during unserialisation. More...
#include <config.h>#include "xapian/registry.h"#include "xapian/error.h"#include "xapian/geospatial.h"#include "xapian/intrusive_ptr.h"#include "xapian/matchspy.h"#include "xapian/postingsource.h"#include "xapian/weight.h"#include "debuglog.h"#include "stringutils.h"#include <algorithm>#include <map>#include <string>
Include dependency graph for registry.cc:Go to the source code of this file.
Classes | |
| class | Xapian::Registry::Internal |
Namespaces | |
| Xapian | |
| The Xapian namespace contains public interfaces for the Xapian library. | |
Functions | |
| template<class T > | |
| static void | register_object (map< string, opt_intrusive_ptr< T >, std::less<>> ®istry, T *obj_) |
| Register an optionally ref-counted object. More... | |
| template<class T > | |
| static void | register_object (map< string, T *, std::less<>> ®istry, const T &obj) |
| Register an object that requires cloning. More... | |
| template<class T > | |
| static const T * | lookup_object (map< string, opt_intrusive_ptr< T >, std::less<>> registry, string_view name) |
| Look up an optionally ref-counted object. More... | |
| template<class T > | |
| static const T * | lookup_object (map< string, T *, std::less<>> registry, string_view name) |
| Look up an object that requires cloning. More... | |
Class for looking up user subclasses during unserialisation.
Definition in file registry.cc.
|
inlinestatic |
Look up an optionally ref-counted object.
Definition at line 137 of file registry.cc.
Referenced by Xapian::Registry::get_key_maker(), Xapian::Registry::get_lat_long_metric(), Xapian::Registry::get_match_spy(), Xapian::Registry::get_posting_source(), and Xapian::Registry::get_weighting_scheme().
|
inlinestatic |
Look up an object that requires cloning.
Definition at line 150 of file registry.cc.
|
inlinestatic |
Register an optionally ref-counted object.
Definition at line 85 of file registry.cc.
References rare.
Referenced by Xapian::Registry::register_key_maker(), Xapian::Registry::register_lat_long_metric(), Xapian::Registry::register_match_spy(), Xapian::Registry::register_posting_source(), and Xapian::Registry::register_weighting_scheme().
|
inlinestatic |
Register an object that requires cloning.
Definition at line 104 of file registry.cc.