Nebula
Loading...
Searching...
No Matches
attributedefinition.h File Reference

Go to the source code of this file.

Classes

class  Attr::AttributeDefinition< VALUETYPE, TYPE >
 This extends the typeless AttributeDefinitionBase class by a typed template class, which adds compiletime-type-safety to attribute definitions. More...
 

Namespaces

namespace  Attr
 

Macros

#define DeclareByte(NAME, FOURCC, ACCESSMODE)
 
#define DefineByte(NAME, FOURCC, ACCESSMODE)
 
#define DefineByteWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareShort(NAME, FOURCC, ACCESSMODE)
 
#define DefineShort(NAME, FOURCC, ACCESSMODE)
 
#define DefineShortWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareUShort(NAME, FOURCC, ACCESSMODE)
 
#define DefineUShort(NAME, FOURCC, ACCESSMODE)
 
#define DefineUShortWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareInt(NAME, FOURCC, ACCESSMODE)
 
#define DefineInt(NAME, FOURCC, ACCESSMODE)
 
#define DefineIntWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareUInt(NAME, FOURCC, ACCESSMODE)
 
#define DefineUInt(NAME, FOURCC, ACCESSMODE)
 
#define DefineUIntWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareInt64(NAME, FOURCC, ACCESSMODE)
 
#define DefineInt64(NAME, FOURCC, ACCESSMODE)
 
#define DefineInt64WithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareUInt64(NAME, FOURCC, ACCESSMODE)
 
#define DefineUInt64(NAME, FOURCC, ACCESSMODE)
 
#define DefineUInt64WithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareFloat(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloatWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareDouble(NAME, FOURCC, ACCESSMODE)
 
#define DefineDouble(NAME, FOURCC, ACCESSMODE)
 
#define DefineDoubleWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareBool(NAME, FOURCC, ACCESSMODE)
 
#define DefineBool(NAME, FOURCC, ACCESSMODE)
 
#define DefineBoolWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareFloat2(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat2(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat2WithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareFloat4(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat4(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat4WithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareQuaternion(NAME, FOURCC, ACCESSMODE)
 
#define DefineQuaternion(NAME, FOURCC, ACCESSMODE)
 
#define DefineQuaternionWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareString(NAME, FOURCC, ACCESSMODE)
 
#define DefineString(NAME, FOURCC, ACCESSMODE)
 
#define DefineStringWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareMatrix44(NAME, FOURCC, ACCESSMODE)
 
#define DefineMatrix44(NAME, FOURCC, ACCESSMODE)
 
#define DefineMatrix44WithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareTransform44(NAME, FOURCC, ACCESSMODE)
 
#define DefineTransform44(NAME, FOURCC, ACCESSMODE)
 
#define DefineTransform44WithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareBlob(NAME, FOURCC, ACCESSMODE)
 
#define DefineBlob(NAME, FOURCC, ACCESSMODE)
 
#define DefineBlobWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareGuid(NAME, FOURCC, ACCESSMODE)
 
#define DefineGuid(NAME, FOURCC, ACCESSMODE)
 
#define DefineGuidWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareVoidPtr(NAME, FOURCC, ACCESSMODE)
 
#define DefineVoidPtr(NAME, FOURCC, ACCESSMODE)
 
#define DefineVoidPtrWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareIntArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineIntArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineIntArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareFloatArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloatArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloatArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareBoolArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineBoolArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineBoolArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareFloat2Array(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat2Array(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat2ArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareFloat4Array(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat4Array(NAME, FOURCC, ACCESSMODE)
 
#define DefineFloat4ArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareStringArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineStringArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineStringArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareMatrix44Array(NAME, FOURCC, ACCESSMODE)
 
#define DefineMatrix44Array(NAME, FOURCC, ACCESSMODE)
 
#define DefineMatrix44ArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareBlobArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineBlobArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineBlobArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 
#define DeclareGuidArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineGuidArray(NAME, FOURCC, ACCESSMODE)
 
#define DefineGuidArrayWithDefault(NAME, FOURCC, ACCESSMODE, DEFVAL)
 

Macro Definition Documentation

◆ DeclareBlob

#define DeclareBlob ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::BlobTypeClass, Util::Blob> NAME;

◆ DeclareBlobArray

#define DeclareBlobArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::BlobArrayTypeClass, Util::Array<Util::Blob>> NAME;

◆ DeclareBool

#define DeclareBool ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::BoolTypeClass, bool> NAME;

◆ DeclareBoolArray

#define DeclareBoolArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::BoolArrayTypeClass, Util::Array<bool>> NAME;

◆ DeclareByte

#define DeclareByte ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::ByteTypeClass, byte> NAME;

◆ DeclareDouble

#define DeclareDouble ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::DoubleTypeClass, double> NAME;

◆ DeclareFloat

#define DeclareFloat ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::FloatTypeClass, float> NAME;

◆ DeclareFloat2

#define DeclareFloat2 ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Float2TypeClass, Math::float2> NAME;

◆ DeclareFloat2Array

#define DeclareFloat2Array ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Float2ArrayTypeClass, Util::Array<Math::float2>> NAME;

◆ DeclareFloat4

#define DeclareFloat4 ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Float4TypeClass, Math::vec4> NAME;

◆ DeclareFloat4Array

#define DeclareFloat4Array ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Float4ArrayTypeClass, Util::Array<Math::vec4>> NAME;

◆ DeclareFloatArray

#define DeclareFloatArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::FloatArrayTypeClass, Util::Array<float>> NAME;

◆ DeclareGuid

#define DeclareGuid ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::GuidTypeClass, Util::Guid> NAME;

◆ DeclareGuidArray

#define DeclareGuidArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::GuidArrayTypeClass, Util::Array<Util::Guid>> NAME;

◆ DeclareInt

#define DeclareInt ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::IntTypeClass, int> NAME;

◆ DeclareInt64

#define DeclareInt64 ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Int64TypeClass, int64_t> NAME;

◆ DeclareIntArray

#define DeclareIntArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::IntArrayTypeClass, Util::Array<int>> NAME;

◆ DeclareMatrix44

#define DeclareMatrix44 ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Matrix44TypeClass, Math::mat4> NAME;

◆ DeclareMatrix44Array

#define DeclareMatrix44Array ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Matrix44ArrayTypeClass, Util::Array<Math::mat4>> NAME;

◆ DeclareQuaternion

#define DeclareQuaternion ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::QuaternionTypeClass, Math::quaternion> NAME;

◆ DeclareShort

#define DeclareShort ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::ShortTypeClass, short> NAME;

◆ DeclareString

#define DeclareString ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::StringTypeClass, Util::String> NAME;

◆ DeclareStringArray

#define DeclareStringArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::StringArrayTypeClass, Util::Array<Util::String>> NAME;

◆ DeclareTransform44

#define DeclareTransform44 ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::Transform44TypeClass, Math::transform44> NAME;

◆ DeclareUInt

#define DeclareUInt ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::UIntTypeClass, uint> NAME;

◆ DeclareUInt64

#define DeclareUInt64 ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::UInt64TypeClass, uint64_t> NAME;

◆ DeclareUShort

#define DeclareUShort ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::UShortTypeClass, ushort> NAME;

◆ DeclareVoidPtr

#define DeclareVoidPtr ( NAME,
FOURCC,
ACCESSMODE )
Value:
extern const AttributeDefinition<Attr::VoidPtrTypeClass, void*> NAME;

◆ DefineBlob

#define DefineBlob ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::BlobTypeClass, Util::Blob> NAME(#NAME, "Util::Blob", FOURCC,ACCESSMODE, Util::Blob());
The Util::Blob class encapsulates a chunk of raw memory into a C++ object which can be copied,...
Definition blob.h:22

◆ DefineBlobArray

#define DefineBlobArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::BlobArrayTypeClass, Util::Array<Util::Blob>> NAME(#NAME, "Util::Array<Util::Blob>", FOURCC,ACCESSMODE, Util::Array<Util::Blob>());
Nebula's dynamic array class.
Definition array.h:60

◆ DefineBlobArrayWithDefault

#define DefineBlobArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::BlobArrayTypeClass, Util::Array<Util::Blob>> NAME(#NAME, "Util::Array<Util::Blob>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineBlobWithDefault

#define DefineBlobWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::BlobTypeClass, Util::Blob> NAME(#NAME, "Util::Blob", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineBool

#define DefineBool ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::BoolTypeClass, bool> NAME(#NAME, "bool", FOURCC,ACCESSMODE, bool(false));

◆ DefineBoolArray

#define DefineBoolArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::BoolArrayTypeClass, Util::Array<bool>> NAME(#NAME, "Util::Array<bool>", FOURCC,ACCESSMODE, Util::Array<bool>());

◆ DefineBoolArrayWithDefault

#define DefineBoolArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::BoolArrayTypeClass, Util::Array<bool>> NAME(#NAME, "Util::Array<bool>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineBoolWithDefault

#define DefineBoolWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::BoolTypeClass, bool> NAME(#NAME, "bool", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineByte

#define DefineByte ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::ByteTypeClass, byte> NAME(#NAME, "byte", FOURCC,ACCESSMODE, byte(0));

◆ DefineByteWithDefault

#define DefineByteWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::ByteTypeClass, byte> NAME(#NAME, "byte", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineDouble

#define DefineDouble ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::DoubleTypeClass, double> NAME(#NAME, "double", FOURCC,ACCESSMODE, double(0.0));

◆ DefineDoubleWithDefault

#define DefineDoubleWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::DoubleTypeClass, double> NAME(#NAME, "double", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineFloat

#define DefineFloat ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::FloatTypeClass, float> NAME(#NAME, "float", FOURCC,ACCESSMODE, float(0.0f));

◆ DefineFloat2

#define DefineFloat2 ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Float2TypeClass, Math::float2> NAME(#NAME, "Math::float2", FOURCC,ACCESSMODE, Math::float2(0.0f, 0.0f));
Definition scalar.h:58

◆ DefineFloat2Array

#define DefineFloat2Array ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Float2ArrayTypeClass, Util::Array<Math::float2>> NAME(#NAME, "Util::Array<Math::float2>", FOURCC,ACCESSMODE, Util::Array<Math::float2>());

◆ DefineFloat2ArrayWithDefault

#define DefineFloat2ArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Float2ArrayTypeClass, Util::Array<Math::float2>> NAME(#NAME, "Util::Array<Math::float2>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineFloat2WithDefault

#define DefineFloat2WithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Float2TypeClass, Math::float2> NAME(#NAME, "Math::float2", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineFloat4

#define DefineFloat4 ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Float4TypeClass, Math::vec4> NAME(#NAME, "Math::vec4", FOURCC,ACCESSMODE, Math::vec4(0.0f, 0.0f, 0.0f, 0.0f));
A 4D vector.
Definition vec4.h:24

◆ DefineFloat4Array

#define DefineFloat4Array ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Float4ArrayTypeClass, Util::Array<Math::vec4>> NAME(#NAME, "Util::Array<Math::vec4>", FOURCC,ACCESSMODE, Util::Array<Math::vec4>());

◆ DefineFloat4ArrayWithDefault

#define DefineFloat4ArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Float4ArrayTypeClass, Util::Array<Math::vec4>> NAME(#NAME, "Util::Array<Math::vec4>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineFloat4WithDefault

#define DefineFloat4WithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Float4TypeClass, Math::vec4> NAME(#NAME, "Math::vec4", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineFloatArray

#define DefineFloatArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::FloatArrayTypeClass, Util::Array<float>> NAME(#NAME, "Util::Array<float>", FOURCC,ACCESSMODE, Util::Array<float>());

◆ DefineFloatArrayWithDefault

#define DefineFloatArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::FloatArrayTypeClass, Util::Array<float>> NAME(#NAME, "Util::Array<float>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineFloatWithDefault

#define DefineFloatWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::FloatTypeClass, float> NAME(#NAME, "float", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineGuid

#define DefineGuid ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::GuidTypeClass, Util::Guid> NAME(#NAME, "Util::Guid", FOURCC,ACCESSMODE, Util::Guid());
Implements a GUID.

◆ DefineGuidArray

#define DefineGuidArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::GuidArrayTypeClass, Util::Array<Util::Guid>> NAME(#NAME, "Util::Array<Util::Guid>", FOURCC,ACCESSMODE, Util::Array<Util::Guid>());

◆ DefineGuidArrayWithDefault

#define DefineGuidArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::GuidArrayTypeClass, Util::Array<Util::Guid>> NAME(#NAME, "Util::Array<Util::Guid>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineGuidWithDefault

#define DefineGuidWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::GuidTypeClass, Util::Guid> NAME(#NAME, "Util::Guid", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineInt

#define DefineInt ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::IntTypeClass, int> NAME(#NAME, "int", FOURCC,ACCESSMODE, int(0));

◆ DefineInt64

#define DefineInt64 ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Int64TypeClass, int64_t> NAME(#NAME, "int64", FOURCC,ACCESSMODE, int64_t(0));

◆ DefineInt64WithDefault

#define DefineInt64WithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Int64TypeClass, int64_t> NAME(#NAME, "int64", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineIntArray

#define DefineIntArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::IntArrayTypeClass, Util::Array<int>> NAME(#NAME, "Util::Array<int>", FOURCC,ACCESSMODE, Util::Array<int>());

◆ DefineIntArrayWithDefault

#define DefineIntArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::IntArrayTypeClass, Util::Array<int>> NAME(#NAME, "Util::Array<int>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineIntWithDefault

#define DefineIntWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::IntTypeClass, int> NAME(#NAME, "int", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineMatrix44

#define DefineMatrix44 ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Matrix44TypeClass, Math::mat4> NAME(#NAME, "Math::mat4", FOURCC,ACCESSMODE, Math::mat4());
A 4x4 single point precision float matrix.
Definition mat4.h:49

◆ DefineMatrix44Array

#define DefineMatrix44Array ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Matrix44ArrayTypeClass, Util::Array<Math::mat4>> NAME(#NAME, "Util::Array<Math::mat4>", FOURCC,ACCESSMODE, Util::Array<Math::mat4>());

◆ DefineMatrix44ArrayWithDefault

#define DefineMatrix44ArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Matrix44ArrayTypeClass, Util::Array<Math::mat4>> NAME(#NAME, "Util::Array<Math::mat4>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineMatrix44WithDefault

#define DefineMatrix44WithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Matrix44TypeClass, Math::mat4> NAME(#NAME, "Math::mat4", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineQuaternion

#define DefineQuaternion ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::QuaternionTypeClass, Math::quaternion> NAME(#NAME, "Math::quaternion", FOURCC,ACCESSMODE, Math::quaternion(0.0f, 0.0f, 0.0f, 1.0f));

◆ DefineQuaternionWithDefault

#define DefineQuaternionWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::QuaternionTypeClass, Math::quaternion> NAME(#NAME, "Math::quaternion", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineShort

#define DefineShort ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::ShortTypeClass, short> NAME(#NAME, "short", FOURCC,ACCESSMODE, short(0));

◆ DefineShortWithDefault

#define DefineShortWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::ShortTypeClass, short> NAME(#NAME, "short", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineString

#define DefineString ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::StringTypeClass, Util::String> NAME(#NAME, "Util::String", FOURCC,ACCESSMODE, Util::String());
Nebula's universal string class.
Definition string.h:50

◆ DefineStringArray

#define DefineStringArray ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::StringArrayTypeClass, Util::Array<Util::String>> NAME(#NAME, "Util::Array<Util::String>", FOURCC,ACCESSMODE, Util::Array<Util::String>());

◆ DefineStringArrayWithDefault

#define DefineStringArrayWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::StringArrayTypeClass, Util::Array<Util::String>> NAME(#NAME, "Util::Array<Util::String>", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineStringWithDefault

#define DefineStringWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::StringTypeClass, Util::String> NAME(#NAME, "Util::String", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineTransform44

#define DefineTransform44 ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::Transform44TypeClass, Math::transform44> NAME(#NAME, "Math::transform44", FOURCC,ACCESSMODE, Math::transform44());
A 4x4 matrix which is described by translation, rotation and scale.
Definition transform44.h:20

◆ DefineTransform44WithDefault

#define DefineTransform44WithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::Transform44TypeClass, Math::transform44> NAME(#NAME, "Math::transform44", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineUInt

#define DefineUInt ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::UIntTypeClass, uint> NAME(#NAME, "uint", FOURCC,ACCESSMODE, uint(0));
unsigned int uint
Definition types.h:31

◆ DefineUInt64

#define DefineUInt64 ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::UInt64TypeClass, uint64_t> NAME(#NAME, "uint64", FOURCC,ACCESSMODE, uint64_t(0));

◆ DefineUInt64WithDefault

#define DefineUInt64WithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::UInt64TypeClass, uint64_t> NAME(#NAME, "uint64", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineUIntWithDefault

#define DefineUIntWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::UIntTypeClass, uint> NAME(#NAME, "uint", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineUShort

#define DefineUShort ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::UShortTypeClass, ushort> NAME(#NAME, "ushort", FOURCC,ACCESSMODE, ushort(0));
unsigned short ushort
Definition types.h:32

◆ DefineUShortWithDefault

#define DefineUShortWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::UShortTypeClass, ushort> NAME(#NAME, "ushort", FOURCC,ACCESSMODE,DEFVAL);

◆ DefineVoidPtr

#define DefineVoidPtr ( NAME,
FOURCC,
ACCESSMODE )
Value:
const AttributeDefinition<Attr::VoidPtrTypeClass, void*> NAME(#NAME, "void*", FOURCC,ACCESSMODE, nullptr);

◆ DefineVoidPtrWithDefault

#define DefineVoidPtrWithDefault ( NAME,
FOURCC,
ACCESSMODE,
DEFVAL )
Value:
const AttributeDefinition<Attr::VoidPtrTypeClass, void*> NAME(#NAME, "void*", FOURCC,ACCESSMODE,DEFVAL);