============================= REFERENCE LIST ==========
More...
#include <remote.h>
============================= REFERENCE LIST ==========
Definition at line 78 of file remote.h.
| Xpace::Remote::RefList::RefList |
( |
| ) |
|
|
inlineprotected |
| virtual Xpace::Remote::RefList::~RefList |
( |
| ) |
|
|
inlineprotectedvirtual |
| void Xpace::Remote::RefList::destroy |
( |
| ) |
|
| virtual bool Xpace::Remote::RefList::operator! |
( |
| ) |
const |
|
pure virtual |
- Returns
- true iff the list is empty
| virtual uint64 Xpace::Remote::RefList::getCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- number of refs in the list
| virtual void Xpace::Remote::RefList::getSiblingCount |
( |
intArray * |
atLevel | ) |
|
|
pure virtual |
return numbers of siblings at levels in the list N.B could be quite slow
- Parameters
-
| atLevel | if (atLevel[n] != 0), count siblings at level n |
- Return values
-
| atLevel | fill in the number of siblings at level n |
- Returns
- number of distinct siblings in the list
| virtual size_t Xpace::Remote::RefList::getRefs |
( |
intArray * |
ret, |
|
|
uint64 |
start, |
|
|
uint |
size = 1 |
|
) |
| |
|
pure virtual |
get a range of references
- Return values
-
- Parameters
-
| start | start of range |
| size | number of values (e.g., document num, paragraph, sentence) to return for each ref |
- Returns
- number of references (not values) in retval
| virtual void Xpace::Remote::RefList::opAnd |
( |
RefList * |
rhs | ) |
|
|
pure virtual |
this list AND another list
- Parameters
-
| virtual void Xpace::Remote::RefList::opOr |
( |
RefList * |
rhs | ) |
|
|
pure virtual |
this list OR another list
- Parameters
-
| virtual void Xpace::Remote::RefList::opNot |
( |
| ) |
|
|
pure virtual |
| virtual bool Xpace::Remote::RefList::hasRef |
( |
const intArray & |
ref | ) |
|
|
pure virtual |
does the list contain this ref? N.B.
Could be quite slow
- Parameters
-
| ref | the reference, e.g. [56789, 2, 1] |
- Returns
- true iff list contains the ref
The documentation for this class was generated from the following file: