ant
A2 ant: class-based analysis framework
ant::WrapTTree::Branch_Opt_t< T > Struct Template Reference

#include <WrapTTree.h>

+ Inheritance diagram for ant::WrapTTree::Branch_Opt_t< T >:
+ Collaboration diagram for ant::WrapTTree::Branch_Opt_t< T >:

Public Member Functions

template<typename... Args>
 Branch_Opt_t (WrapTTree &wraptree, const std::string &name, Args &&... args)
 
T & operator= (const T &v)
 
T & operator= (T &&v)
 
- Public Member Functions inherited from ant::WrapTTree::Branch_t< T >
template<typename... Args>
 Branch_t (WrapTTree &wraptree, const std::string &name, bool *optionalIsPresent, Args &&... args)
 
 ~Branch_t ()=default
 
 Branch_t (const Branch_t &)=delete
 
Branch_toperator= (const Branch_t &other)
 
 Branch_t (Branch_t &&)=delete
 
Branch_toperator= (Branch_t &&)=delete
 
 operator T & ()
 
 operator const T & () const
 
T & operator= (const T &v)
 
T & operator= (T &&v)
 
T & operator() ()
 
const T & operator() () const
 
template<typename U = T>
U::reference operator[] (std::size_t n)
 
template<typename U = T>
U::const_reference operator[] (std::size_t n) const
 

Public Attributes

bool IsPresent
 
- Public Attributes inherited from ant::WrapTTree::Branch_t< T >
const std::string Name
 

Constructor & Destructor Documentation

◆ Branch_Opt_t()

template<typename T >
template<typename... Args>
ant::WrapTTree::Branch_Opt_t< T >::Branch_Opt_t ( WrapTTree wraptree,
const std::string &  name,
Args &&...  args 
)
inline

Member Function Documentation

◆ operator=() [1/2]

template<typename T >
T& ant::WrapTTree::Branch_Opt_t< T >::operator= ( const T &  v)
inline

◆ operator=() [2/2]

template<typename T >
T& ant::WrapTTree::Branch_Opt_t< T >::operator= ( T &&  v)
inline

Member Data Documentation

◆ IsPresent

template<typename T >
bool ant::WrapTTree::Branch_Opt_t< T >::IsPresent

The documentation for this struct was generated from the following file: