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

Public Member Functions

 column_binding (const std::string &a_name, cid a_cid, void *a_user_obj)
 
virtual ~column_binding ()
 
 column_binding (const column_binding &a_from)
 
column_bindingoperator= (const column_binding &a_from)
 
const std::string & name () const
 
cid get_cid () const
 
void * user_obj () const
 

Protected Attributes

std::string m_name
 
cid m_cid
 
void * m_user_obj
 

Detailed Description

Definition at line 17 of file ntuple_binding.

Constructor & Destructor Documentation

◆ column_binding() [1/2]

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

Definition at line 19 of file ntuple_binding.

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

◆ ~column_binding()

virtual tools::column_binding::~column_binding ( )
inlinevirtual

Definition at line 24 of file ntuple_binding.

24 {}

◆ column_binding() [2/2]

tools::column_binding::column_binding ( const column_binding a_from)
inline

Definition at line 26 of file ntuple_binding.

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

◆ get_cid()

cid tools::column_binding::get_cid ( ) const
inline

Definition at line 40 of file ntuple_binding.

40 {return m_cid;}

◆ name()

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

Definition at line 39 of file ntuple_binding.

39 {return m_name;}

◆ operator=()

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

Definition at line 31 of file ntuple_binding.

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  }

◆ user_obj()

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

Definition at line 41 of file ntuple_binding.

41 {return m_user_obj;}

Member Data Documentation

◆ m_cid

cid tools::column_binding::m_cid
protected

Definition at line 44 of file ntuple_binding.

◆ m_name

std::string tools::column_binding::m_name
protected

Definition at line 43 of file ntuple_binding.

◆ m_user_obj

void* tools::column_binding::m_user_obj
protected

Definition at line 45 of file ntuple_binding.


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