29 #include "libMRML/include/uses-declarations.h"
30 #include "libMRML/include/CXMLElement.h"
31 #include "libMRML/include/CSelfDestroyPointer.h"
50 const char*
const*
const inAttributeList=0);
115 pair<bool,string>
getType()
const;
136 const char*
const*
const inAttributeList=0);
139 const list< pair<string,string> >& inList);
150 class CSortByID_CA:
public binary_function<const CAlgorithm&,const CAlgorithm&,bool>{
158 class CSortByBase_CA:
public binary_function<const CAlgorithm&,const CAlgorithm&,bool>{
string getID() const
get the id of the algorithm
Definition: CAlgorithm.h:158
The algorithm collection is kind of a factory for CQuery structures:
Definition: CAlgorithmCollection.h:58
string getAlgorithmName() const
get the name of the algorithm
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
void setDefault(CAlgorithm &inDefault)
set the default we do not take any destroy responsability
CAlgorithm * clone() const
clone this
string getBaseType() const
get the basetype of the algorithm
double getWeight() const
get the name of the algorithm
An algorithm is a CXMLElement which is linked to a CSessionManager together they are able to build CQ...
Definition: CAlgorithm.h:43
Definition: CAlgorithm.h:150
The Query manager for Queries on inverted Files.
Definition: CQuery.h:73
bool configure(CAlgorithmCollection &inBaseConfiguration)
reading an attribute for strings
pair< bool, string > getType() const
get the type of the algorithm
string getCollectionID() const
get the name of the collection to be treated by this algorithm
void mergeAttributes(const CAlgorithm &inAlgorithm)
merging the attributes of two algorithms.
CAlgorithm(const char *, const char *const *const inAttributeList=0)
hand things through to the CXMLElement constructor
string toOldMRML() const
puts out a flat algorithm tag with just ID and name
void mergeChildLists(const CAlgorithm &inAlgorithm)
merging the child lists of two algorithms.
virtual void addChild(const string &, const char *const *const inAttributeList=0)
Same as in CXMLElement, but making a CAlgorithm instead.
pair< bool, string > getInheritsFrom() const
The father inside the configuration.