void Sys processDescriptions GDA DAFDescriptions ResourceDescriptionI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
void
Sys::processDescriptions(GDA::DAFDescriptions::ResourceDescriptionIteratorSP & rdi,
BaseProcessor * f)
{
GDA::DAFDescriptions::ResourceDescriptionSequenceSP seq;
bool moreFollows = false;
f->init();
do
{
moreFollows = rdi->next_n (10, seq);
if (seq)
foreach (const GDA::DAFDescriptions::ResourceDescription &des, *seq)
f->process(des);
} while(moreFollows && seq && !seq->empty());
rdi->destroy();
}