inlib
1.2.0
|
Public Member Functions | |
virtual const std::string & | store_cls () const |
virtual bool | stream (buffer &aBuffer) const |
virtual streamer_element * | copy () const |
streamer_base (const std::string &aName, const std::string &aTitle, int aOffset, int aBaseVersion) | |
virtual | ~streamer_base () |
streamer_base (const streamer_base &a_from) | |
streamer_base & | operator= (const streamer_base &a_from) |
Protected Attributes | |
int | fBaseVersion |
inlib::wroot::streamer_base::streamer_base | ( | const std::string & | aName, |
const std::string & | aTitle, | ||
int | aOffset, | ||
int | aBaseVersion | ||
) | [inline] |
Definition at line 177 of file element.
:streamer_element(aName,aTitle,aOffset,streamer_info::BASE,"BASE") ,fBaseVersion(aBaseVersion){ if (aName=="TObject") fType = streamer_info::TOBJECT; if (aName=="TNamed") fType = streamer_info::TNAMED; }
virtual inlib::wroot::streamer_base::~streamer_base | ( | ) | [inline, virtual] |
inlib::wroot::streamer_base::streamer_base | ( | const streamer_base & | a_from | ) | [inline] |
Definition at line 186 of file element.
:ibo(a_from) ,streamer_element(a_from) ,fBaseVersion(a_from.fBaseVersion) {}
virtual streamer_element* inlib::wroot::streamer_base::copy | ( | ) | const [inline, virtual] |
Implements inlib::wroot::streamer_element.
Definition at line 175 of file element.
{return new streamer_base(*this);}
streamer_base& inlib::wroot::streamer_base::operator= | ( | const streamer_base & | a_from | ) | [inline] |
Definition at line 191 of file element.
{ streamer_element::operator=(a_from); fBaseVersion = a_from.fBaseVersion; return *this; }
virtual const std::string& inlib::wroot::streamer_base::store_cls | ( | ) | const [inline, virtual] |
Reimplemented from inlib::wroot::streamer_element.
Definition at line 162 of file element.
{ static const std::string s_v("TStreamerBase"); return s_v; }
virtual bool inlib::wroot::streamer_base::stream | ( | buffer & | aBuffer | ) | const [inline, virtual] |
Reimplemented from inlib::wroot::streamer_element.
Definition at line 166 of file element.
{ unsigned int c; if(!aBuffer.write_version(3,c)) return false; if(!streamer_element::stream(aBuffer)) return false; if(!aBuffer.write(fBaseVersion)) return false; if(!aBuffer.set_byte_count(c)) return false; return true; }
int inlib::wroot::streamer_base::fBaseVersion [protected] |