Public Member Functions | Private Types | Private Attributes | List of all members
PLMD::analysis::LandmarkRegister Class Reference

#include <LandmarkRegister.h>

Public Member Functions

 ~LandmarkRegister ()
 The destructor. More...
 
void add (std::string type, creator_pointer)
 Add a new landmark selection style to the register of landmark selectors. More...
 
void remove (creator_pointer f)
 Remove a landmark selection style from the register of metrics. More...
 
bool check (std::string type)
 Verify if a landmark selection style is present in the register. More...
 
LandmarkSelectionBasecreate (const LandmarkSelectionOptions &lo)
 Create a landmark selection object. More...
 

Private Types

typedef LandmarkSelectionBase *(* creator_pointer) (const LandmarkSelectionOptions &)
 Pointer to a function which, given the type for a ReferenceConfiguration, creates it. More...
 

Private Attributes

std::map< std::string, creator_pointerm
 The set of possible landmark selection algorithms we can work with. More...
 

Member Typedef Documentation

typedef LandmarkSelectionBase*(* PLMD::analysis::LandmarkRegister::creator_pointer) (const LandmarkSelectionOptions &)
private

Pointer to a function which, given the type for a ReferenceConfiguration, creates it.

Constructor & Destructor Documentation

PLMD::analysis::LandmarkRegister::~LandmarkRegister ( )

The destructor.

Member Function Documentation

void PLMD::analysis::LandmarkRegister::add ( std::string  type,
creator_pointer  f 
)

Add a new landmark selection style to the register of landmark selectors.

bool PLMD::analysis::LandmarkRegister::check ( std::string  type)

Verify if a landmark selection style is present in the register.

LandmarkSelectionBase * PLMD::analysis::LandmarkRegister::create ( const LandmarkSelectionOptions lo)

Create a landmark selection object.

void PLMD::analysis::LandmarkRegister::remove ( creator_pointer  f)

Remove a landmark selection style from the register of metrics.

Member Data Documentation

std::map<std::string,creator_pointer> PLMD::analysis::LandmarkRegister::m
private

The set of possible landmark selection algorithms we can work with.


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