g4tools  5.4.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tools::rroot::ntuple::column_vector_string Class Reference
Inheritance diagram for tools::rroot::ntuple::column_vector_string:
Inheritance graph
[legend]
Collaboration diagram for tools::rroot::ntuple::column_vector_string:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (cid a_class) const
 
virtual cid id_cls () const
 
virtual const std::string & name () const
 
 column_vector_string (ifile &a_file, branch &a_branch, leaf_string &a_leaf, int64 &a_index, char a_sep)
 
virtual ~column_vector_string ()
 
const std::vector< std::string > & get_value () const
 
- Public Member Functions inherited from tools::rroot::ntuple::column_vector_string_ref
virtual bool fetch_entry () const
 
 column_vector_string_ref (ifile &a_file, branch &a_branch, leaf_string &a_leaf, int64 &a_index, std::vector< std::string > &a_ref, char a_sep)
 
virtual ~column_vector_string_ref ()
 
bool get_entry (std::vector< std::string > &a_v) const
 
- Public Member Functions inherited from tools::rroot::ntuple::column_string_ref
 column_string_ref (ifile &a_file, branch &a_branch, leaf_string &a_leaf, int64 &a_index, std::string &a_ref)
 
virtual ~column_string_ref ()
 
bool get_entry (std::string &a_v) const
 
- Public Member Functions inherited from tools::read::icol
virtual ~icol ()
 
virtual void stop ()
 

Static Public Member Functions

static cid id_class ()
 
- Static Public Member Functions inherited from tools::rroot::ntuple::column_vector_string_ref
static cid id_class ()
 
- Static Public Member Functions inherited from tools::rroot::ntuple::column_string_ref
static cid id_class ()
 

Protected Member Functions

 column_vector_string (const column_vector_string &a_from)
 
column_vector_stringoperator= (const column_vector_string &a_from)
 
- Protected Member Functions inherited from tools::rroot::ntuple::column_vector_string_ref
 column_vector_string_ref (const column_vector_string_ref &a_from)
 
column_vector_string_refoperator= (const column_vector_string_ref &a_from)
 
bool _fetch_entry () const
 
- Protected Member Functions inherited from tools::rroot::ntuple::column_string_ref
 column_string_ref (const column_string_ref &a_from)
 
column_string_refoperator= (const column_string_ref &a_from)
 
bool _fetch_entry () const
 

Protected Attributes

std::vector< std::string > m_value
 
- Protected Attributes inherited from tools::rroot::ntuple::column_vector_string_ref
std::vector< std::string > & m_ref
 
char m_sep
 
std::string m_value
 
- Protected Attributes inherited from tools::rroot::ntuple::column_string_ref
ifilem_file
 
branchm_branch
 
leaf_stringm_leaf
 
int64m_index
 
std::string & m_ref
 

Detailed Description

Definition at line 297 of file ntuple.

Constructor & Destructor Documentation

◆ column_vector_string() [1/2]

tools::rroot::ntuple::column_vector_string::column_vector_string ( ifile a_file,
branch a_branch,
leaf_string a_leaf,
int64 a_index,
char  a_sep 
)
inline

Definition at line 309 of file ntuple.

310  :parent(a_file,a_branch,a_leaf,a_index,m_value,a_sep)
311  {}

◆ ~column_vector_string()

virtual tools::rroot::ntuple::column_vector_string::~column_vector_string ( )
inlinevirtual

Definition at line 312 of file ntuple.

312 {}

◆ column_vector_string() [2/2]

tools::rroot::ntuple::column_vector_string::column_vector_string ( const column_vector_string a_from)
inlineprotected

Definition at line 314 of file ntuple.

315  :read::icol(a_from)
316  ,parent(a_from)
317  ,m_value(a_from.m_value)
318  {}

Member Function Documentation

◆ cast()

virtual void* tools::rroot::ntuple::column_vector_string::cast ( cid  a_class) const
inlinevirtual

Reimplemented from tools::rroot::ntuple::column_vector_string_ref.

Definition at line 302 of file ntuple.

302  {
303  if(void* p = cmp_cast<column_vector_string>(this,a_class)) return p;
304  return parent::cast(a_class);
305  }

◆ get_value()

const std::vector<std::string>& tools::rroot::ntuple::column_vector_string::get_value ( ) const
inline

Definition at line 325 of file ntuple.

325 {return m_value;}

◆ id_class()

static cid tools::rroot::ntuple::column_vector_string::id_class ( )
inlinestatic

Definition at line 300 of file ntuple.

300 {return _cid_std_vector<std::string>();}

◆ id_cls()

virtual cid tools::rroot::ntuple::column_vector_string::id_cls ( ) const
inlinevirtual

Reimplemented from tools::rroot::ntuple::column_vector_string_ref.

Definition at line 306 of file ntuple.

306 {return id_class();}

◆ name()

virtual const std::string& tools::rroot::ntuple::column_vector_string::name ( ) const
inlinevirtual

Reimplemented from tools::rroot::ntuple::column_vector_string_ref.

Definition at line 307 of file ntuple.

307 {return m_leaf.name();}

◆ operator=()

column_vector_string& tools::rroot::ntuple::column_vector_string::operator= ( const column_vector_string a_from)
inlineprotected

Definition at line 319 of file ntuple.

319  {
320  if(&a_from==this) return *this;
321  m_value = a_from.m_value;
322  return *this;
323  }

Member Data Documentation

◆ m_value

std::vector<std::string> tools::rroot::ntuple::column_vector_string::m_value
protected

Definition at line 327 of file ntuple.


The documentation for this class was generated from the following file:
tools::rroot::base_leaf::name
const std::string & name() const
Definition: base_leaf:146
tools::rroot::ntuple::column_vector_string_ref::cast
virtual void * cast(cid a_class) const
Definition: ntuple:251
tools::rroot::ntuple::column_vector_string::m_value
std::vector< std::string > m_value
Definition: ntuple:327
tools::rroot::ntuple::column_vector_string::id_class
static cid id_class()
Definition: ntuple:300
tools::rroot::ntuple::column_string_ref::m_leaf
leaf_string & m_leaf
Definition: ntuple:205