Pothos  0.2.1-g9f04573d
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Classes | Functions
Pothos::Util Namespace Reference

Classes

class  EvalInterface
 
class  OrderedQueue
 
class  SpinLock
 
class  UID
 
class  RingDeque
 
class  RefHolder
 
class  CompilerArgs
 
class  Compiler
 

Functions

POTHOS_API std::string typeInfoToString (const std::type_info &type)
 
template<typename T0 , typename T1 >
int compareTo (const T0 &v0, const T1 &v1)
 

Function Documentation

template<typename T0 , typename T1 >
int Pothos::Util::compareTo ( const T0 &  v0,
const T1 &  v1 
)

Compare two objects and return a integer result. The objects being compared require operator==() and operator<().

Parameters
v0value on the left hand side of the comparison
v1value on the right hand side of the comparison
Returns
0 for equal, -1 if v0 < v1, +1 if v0 > v1
POTHOS_API std::string Pothos::Util::typeInfoToString ( const std::type_info &  type)

Helper method to get the string representation of a type info. The implementation may look up in a table or demangles type.name().