Jpp  18.5.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
JROOT::JRootAddress< T > Struct Template Reference

Auxiliary classd for address handling within TTree or TChain. More...

#include <JRootAddress.hh>

Inheritance diagram for JROOT::JRootAddress< T >:
JROOT::JChainReader< T > JROOT::JTreeReader< T > JROOT::JTreeReaderObjectIterator< T > JROOT::JTreeReaderAccessibleObjectIterator< T > JROOT::JRootFileReader< T, true >

Public Member Functions

 JRootAddress ()
 Default constructor. More...
 
 JRootAddress (const JRootAddress &address)
 Copy constructor. More...
 
void release ()
 Release memory. More...
 
TgetAddress () const
 Get address. More...
 

Protected Attributes

Taddress
 

Detailed Description

template<class T>
struct JROOT::JRootAddress< T >

Auxiliary classd for address handling within TTree or TChain.

Definition at line 18 of file JRootAddress.hh.

Constructor & Destructor Documentation

template<class T>
JROOT::JRootAddress< T >::JRootAddress ( )
inline

Default constructor.

Definition at line 22 of file JRootAddress.hh.

22  :
23  address(NULL)
24  {}
template<class T>
JROOT::JRootAddress< T >::JRootAddress ( const JRootAddress< T > &  address)
inline

Copy constructor.

Note that the internal address of this class is not copied but instead set to NULL.

Parameters
addressROOT address

Definition at line 34 of file JRootAddress.hh.

34  :
35  address(NULL)
36  {}

Member Function Documentation

template<class T>
void JROOT::JRootAddress< T >::release ( )
inline

Release memory.

Definition at line 42 of file JRootAddress.hh.

43  {
44  if (address != NULL) {
45 
46  delete address;
47 
48  address = NULL;
49  }
50  }
template<class T>
T* JROOT::JRootAddress< T >::getAddress ( ) const
inline

Get address.

Returns
address

Definition at line 58 of file JRootAddress.hh.

59  {
60  return address;
61  }

Member Data Documentation

template<class T>
T* JROOT::JRootAddress< T >::address
protected

Definition at line 64 of file JRootAddress.hh.


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