Functions

ut_conversion.h File Reference

#include "pp_AttrProp.h"
#include <string>
#include <sstream>

Go to the source code of this file.

Functions

template<typename ClassName >
static ClassName toType (const char *s)
template<typename ClassName >
static ClassName toType (std::string s)
template<typename T >
static std::string tostr (T v)
template<typename T >
UT_getAttributeTyped (const PP_AttrProp *pAP, const gchar *name, T def)
template<typename T >
UT_getAttributeTyped (const PP_Revision *pAP, const gchar *name, T def)

Function Documentation

template<typename T >
static std::string tostr ( v  )  [static]
template<typename ClassName >
static ClassName toType ( std::string  s  )  [static]
template<typename ClassName >
static ClassName toType ( const char *  s  )  [static]
template<typename T >
T UT_getAttributeTyped ( const PP_AttrProp pAP,
const gchar *  name,
def 
)

References gchar, and PP_AttrProp::getAttribute().

Referenced by UT_getAttributeTyped().

template<typename T >
T UT_getAttributeTyped ( const PP_Revision pAP,
const gchar *  name,
def 
)