Data from a Store, possibly filtered with a RefList.
More...
#include <remote.h>
Data from a Store, possibly filtered with a RefList.
Definition at line 354 of file remote.h.
| Xpace::Remote::Content::Content |
( |
| ) |
|
|
inlineprotected |
| virtual Xpace::Remote::Content::~Content |
( |
| ) |
|
|
inlineprotectedvirtual |
| static Content* Xpace::Remote::Content::create |
( |
const Store * |
store, |
|
|
const RefList * |
refList = 0 |
|
) |
| |
|
static |
- Parameters
-
| store | content comes from here |
| refList | get only content from these refs |
| void Xpace::Remote::Content::destroy |
( |
| ) |
|
| virtual size_t Xpace::Remote::Content::get |
( |
String * |
ret, |
|
|
intArray * |
siblingPos, |
|
|
size_t * |
bytePos, |
|
|
bool |
fullNodes = true, |
|
|
bool |
showMore = true, |
|
|
uint |
maxNodes = 0 |
|
) |
| |
|
pure virtual |
get a range of content
- Return values
-
| something | like “<count>2<><Symbol>DWTI<><Date>20000505<><end>0,2<>\0” |
- Parameters
-
| siblingPos | list of sibling numbers: start here, go no deeper than siblingPos.bufferSize |
- Return values
-
| siblingPos | list of sibling numbers: fillin with next |
- Parameters
-
| charPos | start here (within a node) |
- Return values
-
| charPos | fillin next (within a node) |
- Parameters
-
| fullNodes | don't break a node due to size.bufferSize (if possible) |
| showMore | leave stubs for unreturned subtrees |
| maxNodes | retrieve no more than this many nodes |
- Returns
- the number of chars filled in
| static bool Xpace::Remote::Content::convertStub |
( |
intArray * |
siblingPos, |
|
|
size_t * |
bytePos, |
|
|
const String & |
stub |
|
) |
| |
|
static |
convert an XML stub to a sibling pos and a byte pos
- Return values
-
| siblingPos | the siblings |
| bytePos | the bytes |
- Parameters
-
- Returns
- true iff the stub was valid
The documentation for this class was generated from the following file: