HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT::Accumulator< T > Class Template Reference

#include <UT_Accumulator.h>

Public Member Functions

 Accumulator (const T &init_val)
 
SYS_FORCE_INLINE T & operator+= (const T &rhs)
 
sum () const
 

Detailed Description

template<typename T>
class UT::Accumulator< T >

Definition at line 24 of file UT_Accumulator.h.

Constructor & Destructor Documentation

template<typename T>
UT::Accumulator< T >::Accumulator ( const T &  init_val)
inlineexplicit

Definition at line 27 of file UT_Accumulator.h.

Member Function Documentation

template<typename T>
SYS_FORCE_INLINE T& UT::Accumulator< T >::operator+= ( const T &  rhs)
inline

Definition at line 31 of file UT_Accumulator.h.

template<typename T>
T UT::Accumulator< T >::sum ( ) const
inline

Definition at line 43 of file UT_Accumulator.h.


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