stage/include/ost/img/value_util.hh File Reference

#include <time.h>
#include <boost/random.hpp>
#include <ost/img/data_types.hh>
#include <ost/img/module_config.hh>

Go to the source code of this file.

Namespaces

namespace  ost
namespace  ost::img

Typedefs

typedef
boost::variate_generator
< boost::mt19937
&, boost::uniform_int<> > 
UniformIntGenerator

Functions

template<typename T >
DLLIMPORT T Random ()
template<>
Complex Random< Complex > ()
template<>
Word Random< Word > ()
UniformIntGenerator GetUniformIntGenerator (int min, int max)
template<typename V , typename R >
DLLIMPORT R Val2Val (const V &v)
template<>
Real Val2Val< Complex, Real > (const Complex &c)
template<>
Word Val2Val< Complex, Word > (const Complex &c)
template<typename T >
DLLIMPORT DataType Val2Type ()
template<>
DataType Val2Type< Complex > ()
template<>
DataType Val2Type< Real > ()
template<>
DataType Val2Type< Word > ()
template<typename T >
DLLIMPORT String Val2String ()
template<>
String Val2String< Complex > ()
template<>
String Val2String< Real > ()
template<>
String Val2String< Word > ()
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1