newspeoplefor developersdocumentationdownloads

_attridtyped.h File Reference

#include "attr/_attrid.h"

Go to the source code of this file.


Classes

class  _attridTyped< _AttrIdType >
 Template class to add compile time type information to the _attrid class. More...

Defines

#define _DeclareAttribute(id, type)   extern const type id ## Data; extern const type* id
#define _DefineAttribute(id, typeConstant, type)
#define _DefineStorableAttribute(id, typeConstant, type)
#define DeclareVoid(id)   _DeclareAttribute( id, _attridTyped<attr::VoidT> );
#define DefineVoid(id)   _DefineAttribute( id, _attrid::Void, _attridTyped<attr::VoidT> );
#define DefineStorableVoid(id)   _DefineStorableAttribute( id, _attrid::Void, _attridTyped<attr::VoidT> );
#define DeclareBool(id)   _DeclareAttribute( id, _attridTyped<attr::BoolT> );
#define DefineBool(id)   _DefineAttribute( id, _attrid::Bool, _attridTyped<attr::BoolT> );
#define DefineStorableBool(id)   _DefineStorableAttribute( id, _attrid::Bool, _attridTyped<attr::BoolT> );
#define DeclareInt(id)   _DeclareAttribute( id, _attridTyped<attr::IntT> );
#define DefineInt(id)   _DefineAttribute( id, _attrid::Int, _attridTyped<attr::IntT> );
#define DefineStorableInt(id)   _DefineStorableAttribute( id, _attrid::Int, _attridTyped<attr::IntT> );
#define DeclareFloat(id)   _DeclareAttribute( id, _attridTyped<attr::FloatT> );
#define DefineFloat(id)   _DefineAttribute( id, _attrid::Float, _attridTyped<attr::FloatT> );
#define DefineStorableFloat(id)   _DefineStorableAttribute( id, _attrid::Float, _attridTyped<attr::FloatT> );
#define DeclareString(id)   _DeclareAttribute( id, _attridTyped<attr::StringT> );
#define DefineString(id)   _DefineAttribute( id, _attrid::String, _attridTyped<attr::StringT> );
#define DefineStorableString(id)   _DefineStorableAttribute( id, _attrid::String, _attridTyped<attr::StringT> );
#define DeclareVector3(id)   _DeclareAttribute( id, _attridTyped<attr::Vector3T> );
#define DefineVector3(id)   _DefineAttribute( id, _attrid::Vector3, _attridTyped<attr::Vector3T> );
#define DefineStorableVector3(id)   _DefineStorableAttribute( id, _attrid::Vector3, _attridTyped<attr::Vector3T> );
#define DeclareVector4(id)   _DeclareAttribute( id, _attridTyped<attr::Vector4T> );
#define DefineVector4(id)   _DefineAttribute( id, _attrid::Vector4, _attridTyped<attr::Vector4T> );
#define DefineStorableVector4(id)   _DefineStorableAttribute( id, _attrid::Vector4, _attridTyped<attr::Vector4T> );
#define DeclareMatrix44(id)   _DeclareAttribute( id, _attridTyped<attr::Matrix44T> );
#define DefineMatrix44(id)   _DefineAttribute( id, _attrid::Matrix44, _attridTyped<attr::Matrix44T> );
#define DefineStorableMatrix44(id)   _DefineStorableAttribute( id, _attrid::Matrix44, _attridTyped<attr::Matrix44T> );

Define Documentation

#define _DeclareAttribute id,
type   )     extern const type id ## Data; extern const type* id
 

Definition at line 45 of file _attridtyped.h.

#define _DefineAttribute id,
typeConstant,
type   ) 
 

Value:

const type id ## Data (#id, typeConstant, _attrid::Read|_attrid::Write);\
    const type* id = & id ## Data

Definition at line 47 of file _attridtyped.h.

#define _DefineStorableAttribute id,
typeConstant,
type   ) 
 

Value:

const type id ## Data (#id, typeConstant, _attrid::Read|_attrid::Write|_attrid::Store);\
    const type* id = & id ## Data

Definition at line 51 of file _attridtyped.h.

#define DeclareVoid id   )     _DeclareAttribute( id, _attridTyped<attr::VoidT> );
 

Definition at line 55 of file _attridtyped.h.

#define DefineVoid id   )     _DefineAttribute( id, _attrid::Void, _attridTyped<attr::VoidT> );
 

Definition at line 56 of file _attridtyped.h.

#define DefineStorableVoid id   )     _DefineStorableAttribute( id, _attrid::Void, _attridTyped<attr::VoidT> );
 

Definition at line 57 of file _attridtyped.h.

#define DeclareBool id   )     _DeclareAttribute( id, _attridTyped<attr::BoolT> );
 

Definition at line 59 of file _attridtyped.h.

#define DefineBool id   )     _DefineAttribute( id, _attrid::Bool, _attridTyped<attr::BoolT> );
 

Definition at line 60 of file _attridtyped.h.

#define DefineStorableBool id   )     _DefineStorableAttribute( id, _attrid::Bool, _attridTyped<attr::BoolT> );
 

Definition at line 61 of file _attridtyped.h.

#define DeclareInt id   )     _DeclareAttribute( id, _attridTyped<attr::IntT> );
 

Definition at line 63 of file _attridtyped.h.

#define DefineInt id   )     _DefineAttribute( id, _attrid::Int, _attridTyped<attr::IntT> );
 

Definition at line 64 of file _attridtyped.h.

#define DefineStorableInt id   )     _DefineStorableAttribute( id, _attrid::Int, _attridTyped<attr::IntT> );
 

Definition at line 65 of file _attridtyped.h.

#define DeclareFloat id   )     _DeclareAttribute( id, _attridTyped<attr::FloatT> );
 

Definition at line 67 of file _attridtyped.h.

#define DefineFloat id   )     _DefineAttribute( id, _attrid::Float, _attridTyped<attr::FloatT> );
 

Definition at line 68 of file _attridtyped.h.

#define DefineStorableFloat id   )     _DefineStorableAttribute( id, _attrid::Float, _attridTyped<attr::FloatT> );
 

Definition at line 69 of file _attridtyped.h.

#define DeclareString id   )     _DeclareAttribute( id, _attridTyped<attr::StringT> );
 

Definition at line 71 of file _attridtyped.h.

#define DefineString id   )     _DefineAttribute( id, _attrid::String, _attridTyped<attr::StringT> );
 

Definition at line 72 of file _attridtyped.h.

#define DefineStorableString id   )     _DefineStorableAttribute( id, _attrid::String, _attridTyped<attr::StringT> );
 

Definition at line 73 of file _attridtyped.h.

#define DeclareVector3 id   )     _DeclareAttribute( id, _attridTyped<attr::Vector3T> );
 

Definition at line 75 of file _attridtyped.h.

#define DefineVector3 id   )     _DefineAttribute( id, _attrid::Vector3, _attridTyped<attr::Vector3T> );
 

Definition at line 76 of file _attridtyped.h.

#define DefineStorableVector3 id   )     _DefineStorableAttribute( id, _attrid::Vector3, _attridTyped<attr::Vector3T> );
 

Definition at line 77 of file _attridtyped.h.

#define DeclareVector4 id   )     _DeclareAttribute( id, _attridTyped<attr::Vector4T> );
 

Definition at line 79 of file _attridtyped.h.

#define DefineVector4 id   )     _DefineAttribute( id, _attrid::Vector4, _attridTyped<attr::Vector4T> );
 

Definition at line 80 of file _attridtyped.h.

#define DefineStorableVector4 id   )     _DefineStorableAttribute( id, _attrid::Vector4, _attridTyped<attr::Vector4T> );
 

Definition at line 81 of file _attridtyped.h.

#define DeclareMatrix44 id   )     _DeclareAttribute( id, _attridTyped<attr::Matrix44T> );
 

Definition at line 83 of file _attridtyped.h.

#define DefineMatrix44 id   )     _DefineAttribute( id, _attrid::Matrix44, _attridTyped<attr::Matrix44T> );
 

Definition at line 84 of file _attridtyped.h.

#define DefineStorableMatrix44 id   )     _DefineStorableAttribute( id, _attrid::Matrix44, _attridTyped<attr::Matrix44T> );
 

Definition at line 85 of file _attridtyped.h.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.