g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::wroot::streamer_basic_pointer Class Reference
Inheritance diagram for tools::wroot::streamer_basic_pointer:
Inheritance graph
[legend]
Collaboration diagram for tools::wroot::streamer_basic_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_basic_pointer (const std::string &aName, const std::string &aTitle, int aOffset, int aType, const std::string &aCountName, const std::string &aCountClass, int aCountVersion, const std::string &aTypeName)
 
virtual ~streamer_basic_pointer ()
 
 streamer_basic_pointer (const streamer_basic_pointer &a_from)
 
streamer_basic_pointeroperator= (const streamer_basic_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 ()
 

Protected Attributes

int fCountVersion
 
std::string fCountName
 
std::string fCountClass
 
- 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...
 

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)
 

Detailed Description

Definition at line 361 of file element.

Constructor & Destructor Documentation

◆ streamer_basic_pointer() [1/2]

tools::wroot::streamer_basic_pointer::streamer_basic_pointer ( const std::string &  aName,
const std::string &  aTitle,
int  aOffset,
int  aType,
const std::string &  aCountName,
const std::string &  aCountClass,
int  aCountVersion,
const std::string &  aTypeName 
)
inline

Definition at line 380 of file element.

386  :streamer_element(aName,aTitle,aOffset,aType+streamer__info::POINTER,aTypeName)
387  ,fCountVersion(aCountVersion)
388  ,fCountName(aCountName)
389  ,fCountClass(aCountClass)
390  {}

◆ ~streamer_basic_pointer()

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

Definition at line 391 of file element.

391 {}

◆ streamer_basic_pointer() [2/2]

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

Definition at line 393 of file element.

394  :ibo(a_from),streamer_element(a_from)
395  ,fCountVersion(a_from.fCountVersion)
396  ,fCountName(a_from.fCountName)
397  ,fCountClass(a_from.fCountClass)
398  {}

Member Function Documentation

◆ copy()

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

Implements tools::wroot::streamer_element.

Definition at line 378 of file element.

378 {return new streamer_basic_pointer(*this);}

◆ operator=()

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

Definition at line 399 of file element.

399  {
401  fCountVersion = a_from.fCountVersion;
402  fCountName = a_from.fCountName;
403  fCountClass = a_from.fCountClass;
404  return *this;
405  }

◆ store_cls()

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

Reimplemented from tools::wroot::streamer_element.

Definition at line 363 of file element.

363  {
364  static const std::string s_v("TStreamerBasicPointer");
365  return s_v;
366  }

◆ stream()

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

Reimplemented from tools::wroot::streamer_element.

Definition at line 367 of file element.

367  {
368  unsigned int c;
369  if(!aBuffer.write_version(2,c)) return false;
370  if(!streamer_element::stream(aBuffer)) return false;
371  if(!aBuffer.write(fCountVersion)) return false;
372  if(!aBuffer.write(fCountName)) return false;
373  if(!aBuffer.write(fCountClass)) return false;
374  if(!aBuffer.set_byte_count(c)) return false;
375  return true;
376  }

Member Data Documentation

◆ fCountClass

std::string tools::wroot::streamer_basic_pointer::fCountClass
protected

Definition at line 409 of file element.

◆ fCountName

std::string tools::wroot::streamer_basic_pointer::fCountName
protected

Definition at line 408 of file element.

◆ fCountVersion

int tools::wroot::streamer_basic_pointer::fCountVersion
protected

Definition at line 407 of file element.


The documentation for this class was generated from the following file:
tools::wroot::streamer_basic_pointer::fCountName
std::string fCountName
Definition: element:408
tools::wroot::streamer_basic_pointer::fCountVersion
int fCountVersion
Definition: element:407
tools::wroot::streamer_element::stream
virtual bool stream(buffer &aBuffer) const
Definition: element:64
tools::wroot::streamer__info::POINTER
@ POINTER
Definition: element:19
tools::wroot::streamer_basic_pointer::streamer_basic_pointer
streamer_basic_pointer(const std::string &aName, const std::string &aTitle, int aOffset, int aType, const std::string &aCountName, const std::string &aCountClass, int aCountVersion, const std::string &aTypeName)
Definition: element:380
tools::wroot::streamer_basic_pointer::fCountClass
std::string fCountClass
Definition: element:409
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