xapian-core  1.4.26
Classes | Namespaces | Functions
registry.cc File Reference

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 <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, T *> &registry, const T &obj)
 
template<class T >
static const T * lookup_object (map< string, T *> registry, const string &name)
 

Detailed Description

Class for looking up user subclasses during unserialisation.

Definition in file registry.cc.

Function Documentation

◆ lookup_object()

template<class T >
static const T* lookup_object ( map< string, T *>  registry,
const string &  name 
)
inlinestatic

◆ register_object()

template<class T >
static void register_object ( map< string, T *> &  registry,
const T &  obj 
)
inlinestatic