xapian-core  2.0.0
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

map< string, Xapian::Weight *, std::less<> > wtschemes
 Registered weighting schemes. More...
 
map< string, Xapian::PostingSource *, std::less<> > postingsources
 Registered external posting sources. More...
 
map< string, Xapian::MatchSpy *, std::less<> > matchspies
 Registered match spies. More...
 
map< string, Xapian::LatLongMetric *, std::less<> > lat_long_metrics
 Registered lat-long metrics. More...
 
map< string, opt_intrusive_ptr< Xapian::KeyMaker >, std::less<> > key_makers
 Registered KeyMaker subclasses. 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 44 of file registry.cc.

Constructor & Destructor Documentation

◆ Internal()

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

Definition at line 161 of file registry.cc.

◆ ~Internal()

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

Definition at line 166 of file registry.cc.

Member Function Documentation

◆ add_defaults()

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

◆ clear_lat_long_metrics()

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

Clear all registered lat-long metrics.

Definition at line 267 of file registry.cc.

◆ clear_match_spies()

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

Clear all registered match spies.

Definition at line 259 of file registry.cc.

◆ clear_posting_sources()

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

Clear all registered posting sources.

Definition at line 251 of file registry.cc.

◆ clear_weighting_schemes()

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

Clear all registered weighting schemes.

Definition at line 243 of file registry.cc.

Friends And Related Function Documentation

◆ Xapian::Registry

friend class Xapian::Registry
friend

Definition at line 45 of file registry.cc.

Member Data Documentation

◆ key_makers

map<string, opt_intrusive_ptr<Xapian::KeyMaker>, std::less<> > Xapian::Registry::Internal::key_makers
private

Registered KeyMaker subclasses.

Definition at line 60 of file registry.cc.

Referenced by Xapian::Registry::get_key_maker(), and Xapian::Registry::register_key_maker().

◆ lat_long_metrics

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

Registered lat-long metrics.

Definition at line 57 of file registry.cc.

Referenced by Xapian::Registry::get_lat_long_metric(), and Xapian::Registry::register_lat_long_metric().

◆ matchspies

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

Registered match spies.

Definition at line 54 of file registry.cc.

Referenced by Xapian::Registry::get_match_spy(), and Xapian::Registry::register_match_spy().

◆ postingsources

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

Registered external posting sources.

Definition at line 51 of file registry.cc.

Referenced by Xapian::Registry::get_posting_source(), and Xapian::Registry::register_posting_source().

◆ wtschemes

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

Registered weighting schemes.

Definition at line 48 of file registry.cc.

Referenced by Xapian::Registry::get_weighting_scheme(), and Xapian::Registry::register_weighting_scheme().


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