g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::column_booking Class Reference

Public Member Functions

 column_booking (const std::string &a_name, cid a_cid, void *a_user_obj)
 
virtual ~column_booking ()
 
 column_booking (const column_booking &a_from)
 
column_bookingoperator= (const column_booking &a_from)
 
const std::string & name () const
 
cid cls_id () const
 
void * user_obj () const
 
void set_user_obj (void *a_obj)
 

Protected Attributes

std::string m_name
 
cid m_cid
 
void * m_user_obj
 

Detailed Description

Definition at line 17 of file ntuple_booking.

Constructor & Destructor Documentation

◆ column_booking() [1/2]

tools::column_booking::column_booking ( const std::string &  a_name,
cid  a_cid,
void *  a_user_obj 
)
inline

Definition at line 19 of file ntuple_booking.

20  :m_name(a_name)
21  ,m_cid(a_cid)
22  ,m_user_obj(a_user_obj) //WARNING : not owner.
23  {}

◆ ~column_booking()

virtual tools::column_booking::~column_booking ( )
inlinevirtual

Definition at line 24 of file ntuple_booking.

24 {}

◆ column_booking() [2/2]

tools::column_booking::column_booking ( const column_booking a_from)
inline

Definition at line 26 of file ntuple_booking.

27  :m_name(a_from.m_name)
28  ,m_cid(a_from.m_cid)
29  ,m_user_obj(a_from.m_user_obj)
30  {}

Member Function Documentation

◆ cls_id()

cid tools::column_booking::cls_id ( ) const
inline

Definition at line 40 of file ntuple_booking.

40 {return m_cid;}

◆ name()

const std::string& tools::column_booking::name ( ) const
inline

Definition at line 39 of file ntuple_booking.

39 {return m_name;}

◆ operator=()

column_booking& tools::column_booking::operator= ( const column_booking a_from)
inline

Definition at line 31 of file ntuple_booking.

31  {
32  if(&a_from==this) return *this;
33  m_name = a_from.m_name;
34  m_cid = a_from.m_cid;
35  m_user_obj = a_from.m_user_obj;
36  return *this;
37  }

◆ set_user_obj()

void tools::column_booking::set_user_obj ( void *  a_obj)
inline

Definition at line 42 of file ntuple_booking.

42 {m_user_obj = a_obj;}

◆ user_obj()

void* tools::column_booking::user_obj ( ) const
inline

Definition at line 41 of file ntuple_booking.

41 {return m_user_obj;}

Member Data Documentation

◆ m_cid

cid tools::column_booking::m_cid
protected

Definition at line 45 of file ntuple_booking.

◆ m_name

std::string tools::column_booking::m_name
protected

Definition at line 44 of file ntuple_booking.

◆ m_user_obj

void* tools::column_booking::m_user_obj
protected

Definition at line 46 of file ntuple_booking.


The documentation for this class was generated from the following file:
tools::column_booking::m_name
std::string m_name
Definition: ntuple_booking:44
tools::column_booking::m_cid
cid m_cid
Definition: ntuple_booking:45
tools::column_booking::m_user_obj
void * m_user_obj
Definition: ntuple_booking:46