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

Public Member Functions

virtual const std::string & store_cls () const
 
virtual bool stream (buffer &aBuffer) const
 
virtual streamer_elementcopy () const
 
 streamer_object_any (const std::string &aName, const std::string &aTitle, int aOffset, const std::string &aTypeName)
 
virtual ~streamer_object_any ()
 
 streamer_object_any (const streamer_object_any &a_from)
 
streamer_object_anyoperator= (const streamer_object_any &a_from)
 
- Public Member Functions inherited from tools::wroot::streamer_element
virtual void out (std::ostream &aOut) const
 
 streamer_element (const std::string &aName, const std::string &aTitle, int aOffset, int aType, const std::string &aTypeName)
 
virtual ~streamer_element ()
 
virtual void setArrayDimension (int aDimension)
 
virtual void setMaxIndex (int aDimension, int aMaximum)
 
virtual void fullName (std::string &a_s) const
 
- Public Member Functions inherited from tools::wroot::ibo
virtual ~ibo ()
 

Additional Inherited Members

- Protected Member Functions inherited from tools::wroot::streamer_element
 streamer_element (const streamer_element &a_from)
 
streamer_elementoperator= (const streamer_element &a_from)
 
- Protected Attributes inherited from tools::wroot::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 504 of file element.

Constructor & Destructor Documentation

◆ streamer_object_any() [1/2]

tools::wroot::streamer_object_any::streamer_object_any ( const std::string &  aName,
const std::string &  aTitle,
int  aOffset,
const std::string &  aTypeName 
)
inline

Definition at line 520 of file element.

522  :streamer_element(aName,aTitle,aOffset,streamer__info::OBJECT_ANY,aTypeName)
523  {}

◆ ~streamer_object_any()

virtual tools::wroot::streamer_object_any::~streamer_object_any ( )
inlinevirtual

Definition at line 524 of file element.

524 {}

◆ streamer_object_any() [2/2]

tools::wroot::streamer_object_any::streamer_object_any ( const streamer_object_any a_from)
inline

Definition at line 526 of file element.

526 :ibo(a_from),streamer_element(a_from){}

Member Function Documentation

◆ copy()

virtual streamer_element* tools::wroot::streamer_object_any::copy ( ) const
inlinevirtual

Implements tools::wroot::streamer_element.

Definition at line 518 of file element.

518 {return new streamer_object_any(*this);}

◆ operator=()

streamer_object_any& tools::wroot::streamer_object_any::operator= ( const streamer_object_any a_from)
inline

Definition at line 527 of file element.

527  {
529  return *this;
530  }

◆ store_cls()

virtual const std::string& tools::wroot::streamer_object_any::store_cls ( ) const
inlinevirtual

Reimplemented from tools::wroot::streamer_element.

Definition at line 506 of file element.

506  {
507  static const std::string s_v("TStreamerObjectAny");
508  return s_v;
509  }

◆ stream()

virtual bool tools::wroot::streamer_object_any::stream ( buffer aBuffer) const
inlinevirtual

Reimplemented from tools::wroot::streamer_element.

Definition at line 510 of file element.

510  {
511  unsigned int c;
512  if(!aBuffer.write_version(2,c)) return false;
513  if(!streamer_element::stream(aBuffer)) return false;
514  if(!aBuffer.set_byte_count(c)) return false;
515  return true;
516  }

The documentation for this class was generated from the following file:
tools::wroot::streamer_element::stream
virtual bool stream(buffer &aBuffer) const
Definition: element:64
tools::wroot::streamer__info::OBJECT_ANY
@ OBJECT_ANY
Definition: element:34
tools::wroot::streamer_object_any::streamer_object_any
streamer_object_any(const std::string &aName, const std::string &aTitle, int aOffset, const std::string &aTypeName)
Definition: element:520
tools::wroot::streamer_element::streamer_element
streamer_element(const std::string &aName, const std::string &aTitle, int aOffset, int aType, const std::string &aTypeName)
Definition: element:88
tools::wroot::streamer_element::operator=
streamer_element & operator=(const streamer_element &a_from)
Definition: element:116