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

#include <WrapTTree.h>

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

Public Member Functions

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

const std::string Name
 

Constructor & Destructor Documentation

◆ Branch_t() [1/3]

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

◆ ~Branch_t()

template<typename T >
ant::WrapTTree::Branch_t< T >::~Branch_t ( )
default

◆ Branch_t() [2/3]

template<typename T >
ant::WrapTTree::Branch_t< T >::Branch_t ( const Branch_t< T > &  )
delete

◆ Branch_t() [3/3]

template<typename T >
ant::WrapTTree::Branch_t< T >::Branch_t ( Branch_t< T > &&  )
delete

Member Function Documentation

◆ operator const T &()

template<typename T >
ant::WrapTTree::Branch_t< T >::operator const T & ( ) const
inline

◆ operator T &()

template<typename T >
ant::WrapTTree::Branch_t< T >::operator T& ( )
inline

◆ operator()() [1/2]

template<typename T >
T& ant::WrapTTree::Branch_t< T >::operator() ( )
inline

◆ operator()() [2/2]

template<typename T >
const T& ant::WrapTTree::Branch_t< T >::operator() ( ) const
inline

◆ operator=() [1/4]

template<typename T >
Branch_t& ant::WrapTTree::Branch_t< T >::operator= ( const Branch_t< T > &  other)
inline

◆ operator=() [2/4]

template<typename T >
Branch_t& ant::WrapTTree::Branch_t< T >::operator= ( Branch_t< T > &&  )
delete

◆ operator=() [3/4]

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

◆ operator=() [4/4]

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

◆ operator[]() [1/2]

template<typename T >
template<typename U = T>
U::reference ant::WrapTTree::Branch_t< T >::operator[] ( std::size_t  n)
inline

◆ operator[]() [2/2]

template<typename T >
template<typename U = T>
U::const_reference ant::WrapTTree::Branch_t< T >::operator[] ( std::size_t  n) const
inline

Member Data Documentation

◆ Name

template<typename T >
const std::string ant::WrapTTree::Branch_t< T >::Name

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