Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

data_item.H File Reference

#include "std/hash.H"
#include "net/stream.H"
#include "net/net_types.H"
#include "rtti.H"

Include dependency graph for data_item.H:

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

Go to the source code of this file.

Classes

class  TAGformat
class  TAG
class  TAG_meth< T >
class  TAG_val< T, V >
class  DATA_ITEM
class  TDI< T >
class  FUNC_ITEM

Defines

#define DECODER_ADD(X)   DATA_ITEM::add_decoder(X::static_name(), new X(), 1)
#define DECLARE_NETWORK_TAGS(CLASS_NAME)
#define CDATA_ITEM   const DATA_ITEM
#define CTAGlist   const TAGlist

Typedefs

typedef ARRAY< TAG * > TAGlist

Functions

STAT_STR_RET NAME (const str_ptr &)
STAT_STR_RET NAME (const int &)
STAT_STR_RET NAME (const double &)
STAT_STR_RET NAME (const mlib::Wvec &)
STAT_STR_RET NAME (const mlib::Wpt &)
STAT_STR_RET NAME (const COLOR &)
template<class T>
STAT_STR_RET NAME (const T &x)
STDdstreamoperator<< (STDdstream &s, CDATA_ITEM &d)
STDdstreamoperator>> (STDdstream &s, DATA_ITEM *&d)

Variables

Cstr_ptr NAME_INT
Cstr_ptr NAME_DOUBLE
Cstr_ptr NAME_COLOR
Cstr_ptr NAME_VEC3D
Cstr_ptr NAME_POINT3D
Cstr_ptr NAME_STR_PTR


Define Documentation

#define CDATA_ITEM   const DATA_ITEM
 

Definition at line 34 of file data_item.H.

#define CTAGlist   const TAGlist
 

Definition at line 90 of file data_item.H.

#define DECLARE_NETWORK_TAGS CLASS_NAME   ) 
 

Value:

TAGlist *CLASS_NAME::_##CLASS_NAME##tags = 0; \
static int CLASS_NAME##st=DECODER_ADD(CLASS_NAME);

Definition at line 12 of file data_item.H.

#define DECODER_ADD  )     DATA_ITEM::add_decoder(X::static_name(), new X(), 1)
 

Definition at line 10 of file data_item.H.

Referenced by DecoderAdds::DecoderAdds(), and DECODERS::DECODERS().


Typedef Documentation

typedef ARRAY<TAG *> TAGlist
 

Definition at line 89 of file data_item.H.


Function Documentation

template<class T>
STAT_STR_RET NAME const T &  x  )  [inline]
 

Definition at line 32 of file data_item.H.

STAT_STR_RET NAME const COLOR  )  [inline]
 

Definition at line 30 of file data_item.H.

References NAME_COLOR.

STAT_STR_RET NAME const mlib::Wpt  )  [inline]
 

Definition at line 29 of file data_item.H.

References NAME_POINT3D.

STAT_STR_RET NAME const mlib::Wvec  )  [inline]
 

Definition at line 28 of file data_item.H.

References NAME_VEC3D.

STAT_STR_RET NAME const double &   )  [inline]
 

Definition at line 27 of file data_item.H.

References NAME_DOUBLE.

STAT_STR_RET NAME const int &   )  [inline]
 

Definition at line 26 of file data_item.H.

References NAME_INT.

STAT_STR_RET NAME const str_ptr  )  [inline]
 

Definition at line 25 of file data_item.H.

References NAME_STR_PTR.

Referenced by TDI< T >::class_name().

STDdstream& operator<< STDdstream s,
CDATA_ITEM &  d
[inline]
 

Definition at line 228 of file data_item.H.

STDdstream& operator>> STDdstream s,
DATA_ITEM *&  d
[inline]
 

Definition at line 230 of file data_item.H.

References DATA_ITEM::Decode().


Variable Documentation

Cstr_ptr NAME_COLOR
 

Referenced by NAME().

Cstr_ptr NAME_DOUBLE
 

Referenced by NAME().

Cstr_ptr NAME_INT
 

Referenced by NAME().

Cstr_ptr NAME_POINT3D
 

Referenced by NAME().

Cstr_ptr NAME_STR_PTR
 

Referenced by NAME().

Cstr_ptr NAME_VEC3D
 

Referenced by NAME().


Generated on Mon Sep 18 11:40:19 2006 for jot by  doxygen 1.4.4