Scope
helpers.h File Reference

Go to the source code of this file.

Classes

class  ScopeMessage< T >
 
class  StopCondition
 
struct  Scaler< T >
 

Macros

#define LODWORD32(l)   ((DWORD32)(((ULONG64)(l)) & 0xffffffff))
 
#define HIDWORD32(l)   ((DWORD32)((((ULONG64)(l)) >> 32) & 0xffffffff))
 
#define DBOUT(s)
 

Enumerations

enum  ScopeMessageTag { nothing, abort }
 

Functions

template<class T >
Signum (const T &_v)
 
template<class Interface >
void SafeRelease (Interface **ppInterfaceToRelease)
 
Rounding functions

For convenience, round double to whatever

double round (const double &v)
 
uint64_t round2ui64 (const double &v)
 
uint32_t round2ui32 (const double &v)
 
uint16_t round2ui16 (const double &v)
 
uint8_t round2ui8 (const double &v)
 
int64_t round2i64 (const double &v)
 
int32_t round2i32 (const double &v)
 
int16_t round2i16 (const double &v)
 
int8_t round2i8 (const double &v)
 
template<class T >
round2 (const double &v)
 
Date/Time string functions

Provide nice formatting of date or time

std::wstring GetCurrentDateString ()
 
std::wstring GetCurrentTimeString (const bool &_filenamecompatible=true)
 

Detailed Description

Various helper functions and classes for Scope.

Definition in file helpers.h.