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

#include <toolbox.hxx>

Public Member Functions

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

Public Attributes

value
 

Friends

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

Detailed Description

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

Definition at line 48 of file toolbox.hpp.

Member Function Documentation

◆ BOOST_STATIC_ASSERT()

template<typename T >
dunedaq::timing::stoul< T >::BOOST_STATIC_ASSERT ( (boost::is_unsigned< T >::value) )

◆ operator T()

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

Definition at line 15 of file toolbox.hxx.

15{ return value; }

Friends And Related Symbol Documentation

◆ operator>>

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

Definition at line 17 of file toolbox.hxx.

18 {
19 std::string buf;
20 in >> buf;
21 out.value = strtoul(buf.c_str(), NULL, 0);
22 return in;
23 }
FELIX Initialization std::string initerror FELIX queue timed out

Member Data Documentation

◆ value

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

Definition at line 13 of file toolbox.hxx.


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