RDCatalog::LinearCatalog< entryType, orderType > Class Template Reference

a linear Catalog (analogous to an std::vector) More...

#include <Catalog.h>

Inheritance diagram for RDCatalog::LinearCatalog< entryType, orderType >:

RDCatalog::Catalog< entryType, orderType >

List of all members.

Public Member Functions

std::string Serialize ()
unsigned int addEntry (entryType *entry, bool updateFPLength=true)
 adds an entry to the catalog
const entryType * getEntryWithIdx (unsigned int idx) const
 returns a particular entry in the Catalog


Detailed Description

template<class entryType, class orderType>
class RDCatalog::LinearCatalog< entryType, orderType >

a linear Catalog (analogous to an std::vector)

Here there is no particular hierarchy, simply a collection of entries.

Definition at line 454 of file Catalog.h.


Member Function Documentation

template<class entryType, class orderType>
std::string RDCatalog::LinearCatalog< entryType, orderType >::Serialize (  ) 

template<class entryType, class orderType>
unsigned int RDCatalog::LinearCatalog< entryType, orderType >::addEntry ( entryType *  entry,
bool  updateFPLength = true 
) [virtual]

adds an entry to the catalog

Parameters:
entry the entry to be added
updateFPLength (optional) if this is true, our internal fingerprint length will also be updated.

Implements RDCatalog::Catalog< entryType, orderType >.

template<class entryType, class orderType>
const entryType* RDCatalog::LinearCatalog< entryType, orderType >::getEntryWithIdx ( unsigned int  idx  )  const [virtual]

returns a particular entry in the Catalog

Implements RDCatalog::Catalog< entryType, orderType >.


The documentation for this class was generated from the following file:
Generated on Sat May 24 08:36:33 2008 for RDCode by  doxygen 1.5.3