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

Public Member Functions

 std_vector_be (std::ostream &a_out, bool a_byte_swap, uint32 a_compression, seek a_seek_directory, const std::string &a_name, const std::string &a_title, const std::vector< T > &a_def, bool a_verbose)
 
virtual ~std_vector_be ()
 
- Public Member Functions inherited from tools::wroot::std_vector_be_ref< T >
 std_vector_be_ref (std::ostream &a_out, bool a_byte_swap, uint32 a_compression, seek a_seek_directory, const std::string &a_name, const std::string &a_title, const std::vector< T > &a_ref, bool a_verbose)
 
virtual ~std_vector_be_ref ()
 
const std::vector< T > & variable () const
 
std::vector< T > & variable ()
 
- Public Member Functions inherited from tools::wroot::branch_element
virtual const std::string & store_cls () const
 
virtual bool stream (buffer &a_buffer) const
 
 branch_element (std::ostream &a_out, bool a_byte_swap, uint32 a_compression, seek a_seek_directory, const std::string &a_name, const std::string &a_title, bool a_verbose)
 
virtual ~branch_element ()
 
leaf_elementcreate_leaf_element (const std::string &a_name)
 
- Public Member Functions inherited from tools::wroot::branch
 branch (std::ostream &a_out, bool a_byte_swap, uint32 a_compression, seek a_seek_directory, const std::string &a_name, const std::string &a_title, bool a_verbose)
 
virtual ~branch ()
 
const std::string & name () const
 
const std::string & title () const
 
uint64 entries () const
 
uint64 tot_bytes () const
 
void set_tot_bytes (uint64 a_value)
 
uint64 zip_bytes () const
 
void set_zip_bytes (uint64 a_value)
 
void set_basket_size (uint32 a_size)
 
uint32 basket_size () const
 
template<class T >
leaf_ref< T > * create_leaf_ref (const std::string &a_name, const T &a_ref)
 
leaf_string_refcreate_leaf_string_ref (const std::string &a_name, const std::string &a_ref)
 
template<class T >
leaf< T > * create_leaf (const std::string &a_name)
 
leaf_stringcreate_leaf_string (const std::string &a_name)
 
leaf_elementcreate_leaf_element (const std::string &a_name, int a_id, int a_type)
 
template<class T >
leaf_std_vector_ref< T > * create_leaf_std_vector_ref (const std::string &a_name, base_leaf &a_leaf_count, const std::vector< T > &a_ref)
 
const std::vector< base_leaf * > & leaves () const
 
void reset ()
 
bool fill (ifile &a_file, uint32 &a_nbytes, uint32 &a_add_bytes, uint32 &a_nout)
 
bool add_basket (ifile &a_file, basket &a_basket, uint32 &a_add_bytes, uint32 &a_nout)
 for parallelization : ///////////////////////////////////////////////// More...
 
bool pfill (iadd_basket &a_badd, uint32 a_nev)
 
bool end_pfill (iadd_basket &a_badd)
 
- Public Member Functions inherited from tools::wroot::ibo
virtual ~ibo ()
 

Protected Member Functions

 std_vector_be (const std_vector_be &a_from)
 
std_vector_beoperator= (const std_vector_be &a_from)
 
- Protected Member Functions inherited from tools::wroot::std_vector_be_ref< T >
 std_vector_be_ref (const std_vector_be_ref &a_from)
 
std_vector_be_refoperator= (const std_vector_be_ref &a_from)
 
virtual bool fill_leaves (buffer &a_buffer)
 
- Protected Member Functions inherited from tools::wroot::branch_element
 branch_element (const branch_element &a_from)
 
branch_elementoperator= (const branch_element &a_from)
 
- Protected Member Functions inherited from tools::wroot::branch
 branch (const branch &a_from)
 
branchoperator= (const branch &)
 
bool check_alloc_fBasketXxx ()
 

Protected Attributes

std::vector< T > m_def
 
std::vector< T > m_value
 
- Protected Attributes inherited from tools::wroot::std_vector_be_ref< T >
const std::vector< T > & m_ref
 
- Protected Attributes inherited from tools::wroot::branch_element
std::string fClassName
 
int fClassVersion
 
int fID
 
int fType
 
int fStreamerType
 
- Protected Attributes inherited from tools::wroot::branch
std::ostream & m_out
 
bool m_byte_swap
 
bool m_verbose
 
seek m_seek_directory
 
obj_array< basketm_baskets
 
std::string m_name
 
std::string m_title
 
bool fAutoDelete
 
obj_array< base_leafm_leaves
 
uint32 fCompress
 
uint32 m_basket_size
 
uint32 m_write_basket
 
uint64 m_entry_number
 
uint64 m_entries
 
uint64 m_tot_bytes
 
uint64 m_zip_bytes
 
uint32 m_max_baskets
 
uint32fBasketBytes
 
uint32fBasketEntry
 
seekfBasketSeek
 

Additional Inherited Members

- Public Attributes inherited from tools::wroot::branch
std::vector< basket * > m_parallel_baskets
 for parallelization : More...
 

Detailed Description

template<class T>
class tools::wroot::std_vector_be< T >

Definition at line 140 of file branch_element.

Constructor & Destructor Documentation

◆ std_vector_be() [1/2]

template<class T >
tools::wroot::std_vector_be< T >::std_vector_be ( std::ostream &  a_out,
bool  a_byte_swap,
uint32  a_compression,
seek  a_seek_directory,
const std::string &  a_name,
const std::string &  a_title,
const std::vector< T > &  a_def,
bool  a_verbose 
)
inline

Definition at line 149 of file branch_element.

152  :parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_name,a_title,m_value,a_verbose)
153  ,m_def(a_def),m_value(a_def)
154  {
155 #ifdef TOOLS_MEM
156  mem::increment(s_class().c_str());
157 #endif
158  }

◆ ~std_vector_be()

template<class T >
virtual tools::wroot::std_vector_be< T >::~std_vector_be ( )
inlinevirtual

Definition at line 159 of file branch_element.

159  {
160 #ifdef TOOLS_MEM
161  mem::decrement(s_class().c_str());
162 #endif
163  }

◆ std_vector_be() [2/2]

template<class T >
tools::wroot::std_vector_be< T >::std_vector_be ( const std_vector_be< T > &  a_from)
inlineprotected

Definition at line 165 of file branch_element.

166  :ibo(a_from)
167  ,parent(a_from)
168  ,m_def(a_from.m_def)
169  ,m_value(a_from.m_value)
170  {}

Member Function Documentation

◆ operator=()

template<class T >
std_vector_be& tools::wroot::std_vector_be< T >::operator= ( const std_vector_be< T > &  a_from)
inlineprotected

Definition at line 171 of file branch_element.

171  {
172  parent::operator=(a_from);
173  m_def = a_from.m_def;
174  m_value = a_from.m_value;
175  return *this;
176  }

Member Data Documentation

◆ m_def

template<class T >
std::vector<T> tools::wroot::std_vector_be< T >::m_def
protected

Definition at line 178 of file branch_element.

◆ m_value

template<class T >
std::vector<T> tools::wroot::std_vector_be< T >::m_value
protected

Definition at line 179 of file branch_element.


The documentation for this class was generated from the following file:
tools::wroot::std_vector_be::m_def
std::vector< T > m_def
Definition: branch_element:178
tools::wroot::std_vector_be::m_value
std::vector< T > m_value
Definition: branch_element:179
tools::wroot::std_vector_be_ref::operator=
std_vector_be_ref & operator=(const std_vector_be_ref &a_from)
Definition: branch_element:115