AnalysisTree
Loading...
Searching...
No Matches
AnalysisTree::VectorConfig< T > Class Template Reference

Template class to store configuration, e. g. name and description of the vector element. More...

#include <BranchConfig.hpp>

Collaboration diagram for AnalysisTree::VectorConfig< T >:
Collaboration graph

Public Member Functions

 VectorConfig (const VectorConfig &)=default
 
 VectorConfig (const MapType &map)
 
 VectorConfig (VectorConfig &&) noexcept(std::is_nothrow_move_constructible< MapType >::value)=default
 
VectorConfigoperator= (VectorConfig &&) noexcept(std::is_nothrow_move_assignable< MapType >::value)=default
 
VectorConfigoperator= (const VectorConfig &)=default
 
virtual void AddField (const std::string &name, const std::string &title)
 
virtual void AddField (const std::string &name, ShortInt_t id, const std::string &title)
 
void AddField (const std::string &name, const ConfigElement &field)
 
virtual void AddFields (const std::vector< std::string > &names, const std::string &title)
 
ANALYSISTREE_ATTR_NODISCARD ShortInt_t GetId (const std::string &sField) const
 
virtual ANALYSISTREE_ATTR_NODISCARD const MapType & GetMap () const
 
virtual ANALYSISTREE_ATTR_NODISCARD ShortInt_t GetSize () const
 
virtual void Print () const
 

Protected Member Functions

void RemoveField (const std::string &name, int id)
 

Static Protected Member Functions

static std::vector< std::string > SplitString (const std::string &input)
 

Protected Attributes

MapType map_ {}
 
ShortInt_t size_ {0}
 

Detailed Description

template<typename T>
class AnalysisTree::VectorConfig< T >

Template class to store configuration, e. g. name and description of the vector element.


The documentation for this class was generated from the following files: