xapian-core  1.4.27
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Xapian::Registry::Internal Class Reference
+ Inheritance diagram for Xapian::Registry::Internal:
+ Collaboration diagram for Xapian::Registry::Internal:

Public Member Functions

 Internal ()
 
 ~Internal ()
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Private Member Functions

void add_defaults ()
 Add the standard subclasses provided in the API. More...
 
void clear_weighting_schemes ()
 Clear all registered weighting schemes. More...
 
void clear_posting_sources ()
 Clear all registered posting sources. More...
 
void clear_match_spies ()
 Clear all registered match spies. More...
 
void clear_lat_long_metrics ()
 Clear all registered lat-long metrics. More...
 

Private Attributes

std::map< std::string, Xapian::Weight * > wtschemes
 Registered weighting schemes. More...
 
std::map< std::string, Xapian::PostingSource * > postingsources
 Registered external posting sources. More...
 
std::map< std::string, Xapian::MatchSpy * > matchspies
 Registered match spies. More...
 
std::map< std::string, Xapian::LatLongMetric * > lat_long_metrics
 Registered lat-long metrics. More...
 

Friends

class Xapian::Registry
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::intrusive_base
unsigned _refs
 Reference count. More...
 

Detailed Description

Definition at line 41 of file registry.cc.

Constructor & Destructor Documentation

◆ Internal()

Xapian::Registry::Internal::Internal ( )

Definition at line 122 of file registry.cc.

◆ ~Internal()

Xapian::Registry::Internal::~Internal ( )

Definition at line 127 of file registry.cc.

Member Function Documentation

◆ add_defaults()

void Xapian::Registry::Internal::add_defaults ( )
private

Add the standard subclasses provided in the API.

Definition at line 136 of file registry.cc.

References Xapian::MatchSpy::name(), Xapian::Weight::name(), Xapian::PostingSource::name(), and Xapian::LatLongMetric::name().

◆ clear_lat_long_metrics()

void Xapian::Registry::Internal::clear_lat_long_metrics ( )
private

Clear all registered lat-long metrics.

Definition at line 221 of file registry.cc.

◆ clear_match_spies()

void Xapian::Registry::Internal::clear_match_spies ( )
private

Clear all registered match spies.

Definition at line 212 of file registry.cc.

◆ clear_posting_sources()

void Xapian::Registry::Internal::clear_posting_sources ( )
private

Clear all registered posting sources.

Definition at line 203 of file registry.cc.

◆ clear_weighting_schemes()

void Xapian::Registry::Internal::clear_weighting_schemes ( )
private

Clear all registered weighting schemes.

Definition at line 194 of file registry.cc.

Friends And Related Function Documentation

◆ Xapian::Registry

friend class Xapian::Registry
friend

Definition at line 42 of file registry.cc.

Member Data Documentation

◆ lat_long_metrics

std::map<std::string, Xapian::LatLongMetric *> Xapian::Registry::Internal::lat_long_metrics
private

Registered lat-long metrics.

Definition at line 54 of file registry.cc.

◆ matchspies

std::map<std::string, Xapian::MatchSpy *> Xapian::Registry::Internal::matchspies
private

Registered match spies.

Definition at line 51 of file registry.cc.

◆ postingsources

std::map<std::string, Xapian::PostingSource *> Xapian::Registry::Internal::postingsources
private

Registered external posting sources.

Definition at line 48 of file registry.cc.

◆ wtschemes

std::map<std::string, Xapian::Weight *> Xapian::Registry::Internal::wtschemes
private

Registered weighting schemes.

Definition at line 45 of file registry.cc.


The documentation for this class was generated from the following file: