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

Public Member Functions

virtual void * cast (tools::cid a_class) const
 
virtual tools::cid id_cls () const
 
 std_vector_column (store &a_store, pages &a_pages, bool a_write, const std::string &a_name, size_t a_basket_size)
 
virtual ~std_vector_column ()
 
const std::vector< T > & data () const
 
- Public Member Functions inherited from tools::hdf5::ntuple::std_vector_column_ref< T >
virtual bool add ()
 
virtual bool fetch_entry ()
 
virtual void reset ()
 
virtual const std::string & name () const
 
virtual bool set_basket_size (size_t)
 
 std_vector_column_ref (store &a_store, pages &a_pages, bool a_write, const std::string &a_name, size_t, std::vector< T > &a_ref)
 
virtual ~std_vector_column_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::std_vector_column_ref< T >
static tools::cid id_class ()
 

Protected Member Functions

 std_vector_column (const std_vector_column &a_from)
 
std_vector_columnoperator= (const std_vector_column &a_from)
 
- Protected Member Functions inherited from tools::hdf5::ntuple::std_vector_column_ref< T >
 std_vector_column_ref (const std_vector_column_ref &a_from)
 
std_vector_column_refoperator= (const std_vector_column_ref &a_from)
 

Protected Attributes

std::vector< T > m_tmp
 
- Protected Attributes inherited from tools::hdf5::ntuple::std_vector_column_ref< T >
storem_store
 
pagesm_branch
 
bool m_write
 
std::string m_name
 
std::vector< T > & m_ref
 

Detailed Description

template<class T>
class tools::hdf5::ntuple::std_vector_column< T >

Definition at line 446 of file ntuple.

Constructor & Destructor Documentation

◆ std_vector_column() [1/2]

template<class T >
tools::hdf5::ntuple::std_vector_column< T >::std_vector_column ( store a_store,
pages a_pages,
bool  a_write,
const std::string &  a_name,
size_t  a_basket_size 
)
inline

Definition at line 462 of file ntuple.

463  :parent(a_store,a_pages,a_write,a_name,a_basket_size,m_tmp)
464  {}

◆ ~std_vector_column()

template<class T >
virtual tools::hdf5::ntuple::std_vector_column< T >::~std_vector_column ( )
inlinevirtual

Definition at line 465 of file ntuple.

465 {}

◆ std_vector_column() [2/2]

template<class T >
tools::hdf5::ntuple::std_vector_column< T >::std_vector_column ( const std_vector_column< T > &  a_from)
inlineprotected

Definition at line 467 of file ntuple.

468  :icol(a_from)
469  ,parent(a_from)
470  {}

Member Function Documentation

◆ cast()

template<class T >
virtual void* tools::hdf5::ntuple::std_vector_column< T >::cast ( tools::cid  a_class) const
inlinevirtual

Reimplemented from tools::hdf5::ntuple::std_vector_column_ref< T >.

Definition at line 456 of file ntuple.

456  {
457  if(void* p = tools::cmp_cast<std_vector_column>(this,a_class)) {return p;}
458  else return 0;
459  }

◆ data()

template<class T >
const std::vector<T>& tools::hdf5::ntuple::std_vector_column< T >::data ( ) const
inline

Definition at line 480 of file ntuple.

480 {return m_tmp;}

◆ id_class()

template<class T >
static tools::cid tools::hdf5::ntuple::std_vector_column< T >::id_class ( )
inlinestatic

Definition at line 455 of file ntuple.

455 {return tools::_cid_std_vector<T>();}

◆ id_cls()

template<class T >
virtual tools::cid tools::hdf5::ntuple::std_vector_column< T >::id_cls ( ) const
inlinevirtual

Reimplemented from tools::hdf5::ntuple::std_vector_column_ref< T >.

Definition at line 460 of file ntuple.

460 {return id_class();}

◆ operator=()

template<class T >
std_vector_column& tools::hdf5::ntuple::std_vector_column< T >::operator= ( const std_vector_column< T > &  a_from)
inlineprotected

Definition at line 471 of file ntuple.

471  {
472  parent::operator=(a_from);
473  return *this;
474  }

Member Data Documentation

◆ m_tmp

template<class T >
std::vector<T> tools::hdf5::ntuple::std_vector_column< T >::m_tmp
protected

Definition at line 482 of file ntuple.


The documentation for this class was generated from the following file:
tools::hdf5::ntuple::std_vector_column::m_tmp
std::vector< T > m_tmp
Definition: ntuple:482
tools::hdf5::ntuple::std_vector_column_ref::operator=
std_vector_column_ref & operator=(const std_vector_column_ref &a_from)
Definition: ntuple:342
tools::hdf5::ntuple::std_vector_column::id_class
static tools::cid id_class()
Definition: ntuple:455