Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeRoot.h File Reference

#include <vector>
#include "ShapeSpace.h"
#include "ShapeTypes.h"
#include "BaseData.h"

Include dependency graph for ShapeRoot.h:

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

Go to the source code of this file.

Namespaces

namespace  DualCoding

Classes

class  ShapeRoot
 Parent class for all Shape<xxxData> objects. More...

Defines

#define ShapeRootTypeConst(_arg, _type)   (*reinterpret_cast<const Shape<_type>*>(&_arg))
#define ShapeRootType(_arg, _type)   (*reinterpret_cast<Shape<_type>*>(&_arg))
#define SHAPESTUFF_H(T)
#define SHAPESTUFF_CC(T)

Functions

std::ostream & operator<< (std::ostream &os, const ShapeRoot &r)


Define Documentation

#define ShapeRootType ( _arg,
_type   )     (*reinterpret_cast<Shape<_type>*>(&_arg))

#define SHAPESTUFF_CC (  ) 

Value:

T* Shape<T>::operator->() { sanity_check(); return static_cast<T*>(data); };        \
  T* Shape<T>::operator->() const { sanity_check(); return static_cast<T*>(data); };  \
  T& Shape<T>::getData() const { return  *static_cast<T*>(data); };

Definition at line 99 of file ShapeRoot.h.

#define SHAPESTUFF_H (  ) 

Value:

Shape<T>() : ShapeRoot() {} \
  Shape<T>(T* newdata) : ShapeRoot(addShape(newdata)) {}  \
  virtual T* operator->(); \
  virtual T* operator->() const; \
  virtual T& getData() const;

Definition at line 92 of file ShapeRoot.h.


DualCoding 4.0
Generated Thu Nov 22 00:53:26 2007 by Doxygen 1.5.4