DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::timing::stol< T > Struct Template Reference

#include <toolbox.hxx>

Public Member Functions

 BOOST_STATIC_ASSERT ((boost::is_signed< T >::value))
 
 operator T () const
 

Public Attributes

value
 

Friends

std::istream & operator>> (std::istream &in, stol &out)
 

Detailed Description

template<typename T>
struct dunedaq::timing::stol< T >

Definition at line 46 of file toolbox.hpp.

Member Function Documentation

◆ BOOST_STATIC_ASSERT()

template<typename T >
dunedaq::timing::stol< T >::BOOST_STATIC_ASSERT ( (boost::is_signed< T >::value) )

◆ operator T()

template<typename T >
dunedaq::timing::stol< T >::operator T ( ) const
inline

Definition at line 34 of file toolbox.hxx.

34{ return value; }

Friends And Related Symbol Documentation

◆ operator>>

template<typename T >
std::istream & operator>> ( std::istream & in,
stol< T > & out )
friend

Definition at line 36 of file toolbox.hxx.

37 {
38 std::string buf;
39 in >> buf;
40 out.value = strtol(buf.c_str(), NULL, 0);
41 return in;
42 }
FELIX Initialization std::string initerror FELIX queue timed out

Member Data Documentation

◆ value

template<typename T >
T dunedaq::timing::stol< T >::value

Definition at line 32 of file toolbox.hxx.


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