#include <config.h>
#include "xapian/registry.h"
#include "xapian/error.h"
#include "xapian/matchspy.h"
#include "xapian/postingsource.h"
#include "xapian/weight.h"
#include "registryinternal.h"
#include "debuglog.h"
#include <algorithm>
#include <map>

Go to the source code of this file.
Namespaces | |
| namespace | Xapian |
| The Xapian namespace contains public interfaces for the Xapian library. | |
Functions | |
| template<class T > | |
| static void | register_object (map< string, T * > ®istry, const T &obj) |
| template<class T > | |
| static const T * | lookup_object (map< string, T * > registry, const string &name) |
Definition in file registry.cc.
| static const T* lookup_object | ( | map< string, T * > | registry, | |
| const string & | name | |||
| ) | [inline, static] |
Definition at line 74 of file registry.cc.
Referenced by Xapian::Registry::get_match_spy(), Xapian::Registry::get_posting_source(), and Xapian::Registry::get_weighting_scheme().
| static void register_object | ( | map< string, T * > & | registry, | |
| const T & | obj | |||
| ) | [inline, static] |
Definition at line 41 of file registry.cc.
References rare.
Referenced by Xapian::Registry::register_match_spy(), Xapian::Registry::register_posting_source(), and Xapian::Registry::register_weighting_scheme().