type-names.h File Reference

#include "numbers.h"
#include "data-string.h"

Include dependency graph for type-names.h:

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

Go to the source code of this file.

Defines

#define BASIC_TYPE(WHAT, NAME, CLASS)

Functions

BASIC_TYPES QString type_name (Data)
Data to_data (Data blah)
void convertTo (const Data &data, Data &target)


Define Documentation

#define BASIC_TYPE ( WHAT,
NAME,
CLASS   ) 

Value:

inline QString type_name(WHAT ) { return #NAME;}; \
inline Data to_data(WHAT input)     { return CLASS(input);}; \
inline void convertTo(const Data& data, NAME& target) {target = (CLASS)data;};

Definition at line 30 of file type-names.h.


Function Documentation

void convertTo ( const Data data,
Data target 
) [inline]

Definition at line 38 of file type-names.h.

Here is the caller graph for this function:

Data to_data ( Data  blah  )  [inline]

Definition at line 37 of file type-names.h.

Here is the caller graph for this function:

BASIC_TYPES QString type_name ( Data   )  [inline]

Definition at line 36 of file type-names.h.

Here is the caller graph for this function:


Generated on Sat Feb 20 19:04:26 2010 for Data Objects by  doxygen 1.5.9