CAcPerl Class

# CAcPerl Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

This accessor is a base class for accessors which use an Perl file to implement the interface of the CAccessor base class More...

`#include <../libInvertedFile/include/CAcPerl.h>`

Inherits: CAccessor

## Public Members

- CAcPerl (const CXMLElement& inContentElement)
- virtual operator bool ()
- CXMLElement* cloneCollectionElement ()
- string IDToURL (long int)
- struct pair<bool,CAccessorElement> IDToAccessorElement (long int)
- struct pair<bool,long int> URLToID (const string &)
- void getAllIDs (list<TID> &)
- void getAllAccessorElements (list<CAccessorElement> &)
- void getRandomIDs (list<long int > &, unsigned int)
- void getRandomAccessorElements (list<CAccessorElement > &, unsigned int)
- int size ()

## Detailed Description

This accessor is a base class for accessors which use an Perl file to implement the interface of the CAccessor base class.

If we do not want to get very deeply into perl, we have to make this accessor some kind of pseudo accessor

## CAcPerl(const CXMLElement& inContentElement)

Constructor: slurp in an url2fts file and fill the maps.

## virtual operator bool()

Is this accessor up and working?

## CXMLElement* cloneCollectionElement()

Get the mCollectionElement

| Kdoc