data.cpp File Reference

#include "data.h"
#include "null.h"
#include "numbers.h"
#include "array.h"
#include "symbol.h"
#include "data-string.h"
#include "data-token.h"

Include dependency graph for data.cpp:

Go to the source code of this file.

Defines

#define ARRAY_TYPE(T, D)
#define BASIC_TYPE(T, N, C)

Variables

 BASIC_TYPES


Define Documentation

#define ARRAY_TYPE ( T,
 ) 

Value:

Data::operator Array<T,D>() const \
{ \
  if (typeid(*content)!=typeid(Array<T,D>)) \
    type_error("Array<"#T ","#D ">"); \
  return *(Array<T,D>*)content; \
}

Definition at line 135 of file data.cpp.

#define BASIC_TYPE ( T,
N,
 ) 

Value:

Data::operator C() const \
{\
  if (typeid(*content)!=typeid(C)) \
    type_error(#C); \
  return *(C*)content; \
}

Definition at line 145 of file data.cpp.


Variable Documentation

Definition at line 152 of file data.cpp.


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