api/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/matchspy.h"
#include "xapian/postingsource.h"
#include "xapian/weight.h"
#include "registryinternal.h"
#include "debuglog.h"
#include <algorithm>
#include <map>

Include dependency graph for registry.cc:

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 * > &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

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

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


Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.