g4tools  5.4.0
Public Member Functions | Protected Member Functions | List of all members
tools::rroot::dummy_streamer_element Class Reference
Inheritance diagram for tools::rroot::dummy_streamer_element:
Inheritance graph
[legend]
Collaboration diagram for tools::rroot::dummy_streamer_element:
Collaboration graph
[legend]

Public Member Functions

virtual irocopy () const
 
virtual bool stream (buffer &a_buffer)
 
 dummy_streamer_element ()
 
virtual ~dummy_streamer_element ()
 
- Public Member Functions inherited from tools::rroot::streamer_element
virtual void * cast (const std::string &a_class) const
 
virtual void * cast (cid a_class) const
 
virtual const std::string & s_cls () const
 
virtual void out (std::ostream &aOut) const
 
 streamer_element ()
 
virtual ~streamer_element ()
 
virtual void fullName (std::string &a_s) const
 
const std::string & type_name () const
 
- Public Member Functions inherited from tools::rroot::iro
virtual ~iro ()
 

Protected Member Functions

 dummy_streamer_element (const dummy_streamer_element &a_from)
 
dummy_streamer_elementoperator= (const dummy_streamer_element &a_from)
 
- Protected Member Functions inherited from tools::rroot::streamer_element
 streamer_element (const streamer_element &a_from)
 
streamer_elementoperator= (const streamer_element &a_from)
 

Additional Inherited Members

- Static Public Member Functions inherited from tools::rroot::streamer_element
static const std::string & s_class ()
 
static cid id_class ()
 
- Protected Attributes inherited from tools::rroot::streamer_element
std::string fName
 
std::string fTitle
 
int fType
 
int fSize
 
int fArrayLength
 
int fArrayDim
 
int fMaxIndex [5]
 
int fOffset
 
std::string fTypeName
 element offset in class More...
 

Detailed Description

Definition at line 125 of file info.

Constructor & Destructor Documentation

◆ dummy_streamer_element() [1/2]

tools::rroot::dummy_streamer_element::dummy_streamer_element ( )
inline

Definition at line 143 of file info.

143 {}

◆ ~dummy_streamer_element()

virtual tools::rroot::dummy_streamer_element::~dummy_streamer_element ( )
inlinevirtual

Definition at line 144 of file info.

144 {}

◆ dummy_streamer_element() [2/2]

tools::rroot::dummy_streamer_element::dummy_streamer_element ( const dummy_streamer_element a_from)
inlineprotected

Definition at line 146 of file info.

146 :iro(a_from),parent(a_from){}

Member Function Documentation

◆ copy()

virtual iro* tools::rroot::dummy_streamer_element::copy ( ) const
inlinevirtual

Reimplemented from tools::rroot::streamer_element.

Definition at line 128 of file info.

128 {return new dummy_streamer_element(*this);}

◆ operator=()

dummy_streamer_element& tools::rroot::dummy_streamer_element::operator= ( const dummy_streamer_element a_from)
inlineprotected

Definition at line 147 of file info.

147  {
148  parent::operator=(a_from);
149  return *this;
150  }

◆ stream()

virtual bool tools::rroot::dummy_streamer_element::stream ( buffer a_buffer)
inlinevirtual

Reimplemented from tools::rroot::streamer_element.

Definition at line 129 of file info.

129  {
130  //the below code skips correctly the data in the file.
131  uint32 startpos = a_buffer.length();
132  short v;
133  unsigned int s,c;
134  if(!a_buffer.read_version(v,s,c)) return false;
135 
136  if(!parent::stream(a_buffer)) return false;
137 
138  a_buffer.set_offset(startpos+c+sizeof(unsigned int));
139  if(!a_buffer.check_byte_count(s,c,"dummy_streamer_element")) return false;
140  return true;
141  }

The documentation for this class was generated from the following file:
tools::rroot::streamer_element::stream
virtual bool stream(buffer &a_buffer)
Definition: info:39
tools::rroot::dummy_streamer_element::dummy_streamer_element
dummy_streamer_element()
Definition: info:143
tools::rroot::streamer_element::operator=
streamer_element & operator=(const streamer_element &a_from)
Definition: info:89
tools::uint32
unsigned int uint32
Definition: typedefs:71