WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
value_conversion_util.h File Reference
#include <string>
#include "base/values.h"
#include "value_conversion_traits.h"
Include dependency graph for value_conversion_util.h:

Functions

template<typename T >
base::Value * CreateValueFrom (const T &t)
 
template<typename T >
bool SetFromValue (const base::Value *value, T *t)
 
template<typename T >
base::ListValue * CreateListValueFrom (const T &t)
 
template<typename T1 , typename T2 >
base::ListValue * CreateListValueFrom (const T1 &t1, const T2 &t2)
 
template<typename T1 , typename T2 , typename T3 >
base::ListValue * CreateListValueFrom (const T1 &t1, const T2 &t2, const T3 &t3)
 
template<typename T >
bool SetFromListValue (const base::ListValue *list, T *t)
 
template<typename T1 , typename T2 >
bool SetFromListValue (const base::ListValue *list, T1 *t1, T2 *t2)
 
template<typename T1 , typename T2 , typename T3 >
bool SetFromListValue (const base::ListValue *list, T1 *t1, T2 *t2, T3 *t3)
 

Function Documentation

template<typename T >
base::ListValue* CreateListValueFrom ( const T &  t)
template<typename T1 , typename T2 >
base::ListValue* CreateListValueFrom ( const T1 &  t1,
const T2 &  t2 
)
template<typename T1 , typename T2 , typename T3 >
base::ListValue* CreateListValueFrom ( const T1 &  t1,
const T2 &  t2,
const T3 &  t3 
)
template<typename T >
base::Value* CreateValueFrom ( const T &  t)
template<typename T >
bool SetFromListValue ( const base::ListValue *  list,
T *  t 
)
template<typename T1 , typename T2 >
bool SetFromListValue ( const base::ListValue *  list,
T1 *  t1,
T2 *  t2 
)
template<typename T1 , typename T2 , typename T3 >
bool SetFromListValue ( const base::ListValue *  list,
T1 *  t1,
T2 *  t2,
T3 *  t3 
)
template<typename T >
bool SetFromValue ( const base::Value *  value,
T *  t 
)