conversions.h File Reference

#include "rutz/traits.h"
#include "tcl/obj.h"

Include dependency graph for conversions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rutz
namespace  nub
namespace  tcl

Classes

struct  tcl::returnable< T >
 Trait class for extracting an appropriate return-type from T. More...
struct  tcl::tcl::returnable< const T >
 Specialization of tcl::returnable for const T. More...
struct  tcl::tcl::returnable< const T & >
 Specialization of tcl::returnable for const T&. More...

Typedefs

typedef struct Tcl_Obj Tcl_Obj

Functions

template<class T>
returnable< T >::type tcl::convert_to (const tcl::obj &obj)
 Convert a tcl::obj to a native c++ object.
template<class T>
returnable< T >::type tcl::convert_to (Tcl_Obj *obj)
 Convert a tcl::obj to a native c++ object.
int tcl::aux_convert_to (Tcl_Obj *obj, int *)
unsigned int tcl::aux_convert_to (Tcl_Obj *obj, unsigned int *)
long tcl::aux_convert_to (Tcl_Obj *obj, long *)
unsigned long tcl::aux_convert_to (Tcl_Obj *obj, unsigned long *)
long long tcl::aux_convert_to (Tcl_Obj *obj, long long *)
bool tcl::aux_convert_to (Tcl_Obj *obj, bool *)
double tcl::aux_convert_to (Tcl_Obj *obj, double *)
float tcl::aux_convert_to (Tcl_Obj *obj, float *)
const char * tcl::aux_convert_to (Tcl_Obj *obj, const char **)
fstring tcl::aux_convert_to (Tcl_Obj *obj, fstring *)
Tcl_Obj * tcl::aux_convert_to (Tcl_Obj *obj, Tcl_Obj **)
tcl::obj tcl::aux_convert_to (Tcl_Obj *obj, tcl::obj *)
template<class T>
tcl::obj tcl::convert_from (const T &val)
 Convert a native c++ object to a tcl::obj.
tcl::obj tcl::aux_convert_from (long long val)
tcl::obj tcl::aux_convert_from (long val)
tcl::obj tcl::aux_convert_from (unsigned long val)
tcl::obj tcl::aux_convert_from (int val)
tcl::obj tcl::aux_convert_from (unsigned int val)
tcl::obj tcl::aux_convert_from (unsigned char val)
tcl::obj tcl::aux_convert_from (bool val)
tcl::obj tcl::aux_convert_from (double val)
tcl::obj tcl::aux_convert_from (float val)
tcl::obj tcl::aux_convert_from (const char *val)
tcl::obj tcl::aux_convert_from (const fstring &val)
tcl::obj tcl::aux_convert_from (const rutz::value &val)
tcl::obj tcl::aux_convert_from (Tcl_Obj *val)
tcl::obj tcl::aux_convert_from (tcl::obj val)


Detailed Description

tcl conversion functions for basic types

Definition in file conversions.h.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:52:35 2008 by Doxygen version 1.5.5.