g4tools  5.4.0
Public Member Functions | List of all members
tools::wroot::streamer_object_pointer Class Reference
Inheritance diagram for tools::wroot::streamer_object_pointer:
Inheritance graph
[legend]
Collaboration diagram for tools::wroot::streamer_object_pointer:
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_pointer (const std::string &aName, const std::string &aTitle, int aOffset, const std::string &aTypeName)
 
virtual ~streamer_object_pointer ()
 
 streamer_object_pointer (const streamer_object_pointer &a_from)
 
streamer_object_pointeroperator= (const streamer_object_pointer &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 474 of file element.

Constructor & Destructor Documentation

◆ streamer_object_pointer() [1/2]

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

Definition at line 490 of file element.

492  :streamer_element(aName,aTitle,aOffset,streamer__info::OBJECT_POINTER,aTypeName){
493  if(aTitle.substr(0,2)=="->") fType = streamer__info::OBJECT_ARROW;
494  }

◆ ~streamer_object_pointer()

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

Definition at line 495 of file element.

495 {}

◆ streamer_object_pointer() [2/2]

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

Definition at line 497 of file element.

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

Member Function Documentation

◆ copy()

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

Implements tools::wroot::streamer_element.

Definition at line 488 of file element.

488 {return new streamer_object_pointer(*this);}

◆ operator=()

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

Definition at line 498 of file element.

498  {
500  return *this;
501  }

◆ store_cls()

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

Reimplemented from tools::wroot::streamer_element.

Definition at line 476 of file element.

476  {
477  static const std::string s_v("TStreamerObjectPointer");
478  return s_v;
479  }

◆ stream()

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

Reimplemented from tools::wroot::streamer_element.

Definition at line 480 of file element.

480  {
481  unsigned int c;
482  if(!aBuffer.write_version(2,c)) return false;
483  if(!streamer_element::stream(aBuffer)) return false;
484  if(!aBuffer.set_byte_count(c)) return false;
485  return true;
486  }

The documentation for this class was generated from the following file:
tools::wroot::streamer__info::OBJECT_POINTER
@ OBJECT_POINTER
Definition: element:36
tools::wroot::streamer_element::stream
virtual bool stream(buffer &aBuffer) const
Definition: element:64
tools::wroot::streamer_object_pointer::streamer_object_pointer
streamer_object_pointer(const std::string &aName, const std::string &aTitle, int aOffset, const std::string &aTypeName)
Definition: element:490
tools::wroot::streamer__info::OBJECT_ARROW
@ OBJECT_ARROW
Definition: element:35
tools::wroot::streamer_element::fType
int fType
Definition: element:154
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