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

Public Member Functions

virtual void * cast (tools::cid a_class) const
 
virtual tools::cid id_cls () const
 
 column_string (store &a_store, pages &a_pages, bool a_write, const std::string &a_name, tools::uint32 a_basket_size)
 
virtual ~column_string ()
 
bool fill (const std::string &a_value)
 
bool get_entry (std::string &a_value) const
 
- Public Member Functions inherited from tools::hdf5::ntuple::column_string_ref
virtual bool add ()
 
virtual bool fetch_entry ()
 
virtual void reset ()
 
virtual const std::string & name () const
 
virtual bool set_basket_size (size_t)
 
 column_string_ref (store &a_store, pages &a_pages, bool a_write, const std::string &a_name, size_t, std::string &a_ref)
 
virtual ~column_string_ref ()
 
- Public Member Functions inherited from tools::hdf5::ntuple::icol
virtual ~icol ()
 

Static Public Member Functions

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

Protected Member Functions

 column_string (const column_string &a_from)
 
column_stringoperator= (const column_string &a_from)
 
- Protected Member Functions inherited from tools::hdf5::ntuple::column_string_ref
 column_string_ref (const column_string_ref &a_from)
 
column_string_refoperator= (const column_string_ref &a_from)
 

Protected Attributes

std::string m_tmp
 
- Protected Attributes inherited from tools::hdf5::ntuple::column_string_ref
storem_store
 
pagesm_branch
 
bool m_write
 
std::string m_name
 
std::string & m_ref
 

Detailed Description

Definition at line 646 of file ntuple.

Constructor & Destructor Documentation

◆ column_string() [1/2]

tools::hdf5::ntuple::column_string::column_string ( store a_store,
pages a_pages,
bool  a_write,
const std::string &  a_name,
tools::uint32  a_basket_size 
)
inline

Definition at line 662 of file ntuple.

663  :parent(a_store,a_pages,a_write,a_name,a_basket_size,m_tmp)
664  {
665 #ifdef TOOLS_MEM
666  tools::mem::increment(s_class().c_str());
667 #endif
668  }

◆ ~column_string()

virtual tools::hdf5::ntuple::column_string::~column_string ( )
inlinevirtual

Definition at line 669 of file ntuple.

669  {
670 #ifdef TOOLS_MEM
671  tools::mem::decrement(s_class().c_str());
672 #endif
673  }

◆ column_string() [2/2]

tools::hdf5::ntuple::column_string::column_string ( const column_string a_from)
inlineprotected

Definition at line 675 of file ntuple.

676  :icol(a_from)
677  ,parent(a_from)
678  {}

Member Function Documentation

◆ cast()

virtual void* tools::hdf5::ntuple::column_string::cast ( tools::cid  a_class) const
inlinevirtual

Reimplemented from tools::hdf5::ntuple::column_string_ref.

Definition at line 656 of file ntuple.

656  {
657  if(void* p = tools::cmp_cast<column_string>(this,a_class)) {return p;}
658  else return 0;
659  }

◆ fill()

bool tools::hdf5::ntuple::column_string::fill ( const std::string &  a_value)
inline

Definition at line 685 of file ntuple.

685 {m_tmp = a_value;return true;}

◆ get_entry()

bool tools::hdf5::ntuple::column_string::get_entry ( std::string &  a_value) const
inline

Definition at line 686 of file ntuple.

686 {a_value = m_tmp;return true;}

◆ id_class()

static tools::cid tools::hdf5::ntuple::column_string::id_class ( )
inlinestatic

Definition at line 652 of file ntuple.

652  {
653  static const std::string s_v;
654  return tools::_cid(s_v);
655  }

◆ id_cls()

virtual tools::cid tools::hdf5::ntuple::column_string::id_cls ( ) const
inlinevirtual

Reimplemented from tools::hdf5::ntuple::column_string_ref.

Definition at line 660 of file ntuple.

660 {return id_class();}

◆ operator=()

column_string& tools::hdf5::ntuple::column_string::operator= ( const column_string a_from)
inlineprotected

Definition at line 679 of file ntuple.

679  {
680  if(&a_from==this) return *this;
681  parent::operator=(a_from);
682  return *this;
683  }

Member Data Documentation

◆ m_tmp

std::string tools::hdf5::ntuple::column_string::m_tmp
protected

Definition at line 688 of file ntuple.


The documentation for this class was generated from the following file:
tools::_cid
cid _cid(byte)
Definition: cids:14
tools::hdf5::ntuple::column_string_ref::operator=
column_string_ref & operator=(const column_string_ref &a_from)
Definition: ntuple:544
tools::hdf5::ntuple::column_string::m_tmp
std::string m_tmp
Definition: ntuple:688
tools::hdf5::ntuple::column_string::id_class
static tools::cid id_class()
Definition: ntuple:652