Jpp  master_rocky-40-g5f0272dcd
the software that should make you happy
Public Member Functions | List of all members
JROOT::JDataFrame::JOutput Struct Referenceabstract

Interface for output. More...

Inheritance diagram for JROOT::JDataFrame::JOutput:
JROOT::JDataFrame::JBuffer< T >::JOutput_t

Public Member Functions

virtual ~JOutput ()
 Virtual destructor. More...
 
virtual char * getAddress (const size_t i)=0
 Get address. More...
 
template<class T >
void put (const size_t i, const T &value)
 Put value at given index. More...
 

Detailed Description

Interface for output.

Definition at line 47 of file JDataFrame.hh.

Constructor & Destructor Documentation

◆ ~JOutput()

virtual JROOT::JDataFrame::JOutput::~JOutput ( )
inlinevirtual

Virtual destructor.

Definition at line 51 of file JDataFrame.hh.

52  {}

Member Function Documentation

◆ getAddress()

virtual char* JROOT::JDataFrame::JOutput::getAddress ( const size_t  i)
pure virtual

Get address.

Parameters
iindex
Returns
address

Implemented in JROOT::JDataFrame::JBuffer< T >::JOutput_t.

◆ put()

template<class T >
void JROOT::JDataFrame::JOutput::put ( const size_t  i,
const T &  value 
)
inline

Put value at given index.

Parameters
iindex
valuevalue

Definition at line 71 of file JDataFrame.hh.

72  {
73  * ((T*) getAddress(i)) = value;
74  }
virtual char * getAddress(const size_t i)=0
Get address.

The documentation for this struct was generated from the following file: