List of all members.
Detailed Description
Definition at line 152 of file streamers.
Constructor & Destructor Documentation
inlib::rroot::List::List |
( |
| ) |
[inline] |
virtual inlib::rroot::List::~List |
( |
| ) |
[inline, virtual] |
inlib::rroot::List::List |
( |
const List & |
a_from | ) |
[inline, protected] |
Definition at line 157 of file streamers.
:std::vector<iro*>(a_from){}
Member Function Documentation
void inlib::rroot::List::_clear |
( |
| ) |
[inline, protected] |
Definition at line 211 of file streamers.
{
inlib::clear<iro>(*this);
}
List& inlib::rroot::List::operator= |
( |
const List & |
| ) |
[inline, protected] |
bool inlib::rroot::List::stream |
( |
buffer & |
a_buffer | ) |
[inline] |
Definition at line 160 of file streamers.
{
_clear();
short v;
unsigned int s, c;
if(!a_buffer.read_version(v,s,c)) return false;
{uint32 id,bits;
if(!Object_stream(a_buffer,id,bits)) return false;}
if(!a_buffer.read(m_name)) return false;
int nobjects;
if(!a_buffer.read(nobjects)) return false;
for (int i = 0; i < nobjects; i++) {
dummy_fac fac(a_buffer.out());
ifac::args args;
iro* obj;
if(!a_buffer.read_object(fac,args,obj)) {
a_buffer.out() << "inlib::rroot::List::stream :"
<< " can't read object."
<< " index " << i
<< " over " << nobjects << " objects."
<< std::endl;
_clear();
return false;
}
unsigned char nch;
if(!a_buffer.read(nch)) {
_clear();
return false;
}
if(nch) {
char readOption[256];
if(!a_buffer.read_fast_array(readOption,nch)) {
_clear();
return false;
}
readOption[nch] = 0;
} else {
}
if(obj) push_back(obj);
}
if(!a_buffer.check_byte_count(s,c,"TList")) {
_clear();
return false;
}
return true;
}
Member Data Documentation
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/rroot/streamers