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

Classes

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

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().