MAK Legion API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dataTypes.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "legionDataStore/export.h"
12 
13 namespace Legion
14 {
16  enum class DataType
17  {
18  Bool,
19  UInt8,
20  Int8,
21  UInt16,
22  Int16,
23  UInt32,
24  Int32,
25  UInt64,
26  Int64,
27  Float,
28  Double,
29  Vector2f,
30  Vector2d,
31  Vector3f,
32  Vector3d,
33  Vector4f,
34  Vector4d,
35  ObjectType,
37  };
38 
40  typedef unsigned char UInt8;
41  typedef signed char Int8;
42  typedef unsigned short UInt16;
43  typedef short Int16;
44  typedef unsigned int UInt32;
45  typedef int Int32;
46  typedef unsigned long long UInt64;
47  typedef long long Int64;
48 
53  typedef UInt8 Bool;
54 
55  static const UInt8 True = 1;
56  static const UInt8 False = 0;
57 
59  const UInt32 VariableCardinality = 0xffffffff;
60 
63 }
DataType
Datatypes supported by the Legion infrastructure.
Definition: dataTypes.h:16
long long Int64
Definition: dataTypes.h:47
UInt16 ClientIdentifier
Definition: dataTypes.h:52
const UInt32 VariableCardinality
\ brief variable cardinality attributes use this value for the cardinality field. ...
Definition: dataTypes.h:59
UInt64 GlobalIdentifier
a globally unique identifier
Definition: dataTypes.h:50
LEGION_DLL UInt32 dataTypeSize(DataType type)
Returns the size in bytes of a data type.
#define LEGION_DLL
Definition: legionDataStore/export.h:24
unsigned int UInt32
Definition: dataTypes.h:44
signed char Int8
Definition: dataTypes.h:41
unsigned short UInt16
Definition: dataTypes.h:42
static const UInt8 True
Definition: dataTypes.h:55
UInt64 TransactionIdentifier
Definition: dataTypes.h:51
unsigned long long UInt64
Definition: dataTypes.h:46
static const UInt8 False
Definition: dataTypes.h:56
unsigned char UInt8
Typedefs for integer types.
Definition: dataTypes.h:40
UInt64 InstanceHandle
Definition: readStateInstance.h:20
short Int16
Definition: dataTypes.h:43
int Int32
Definition: dataTypes.h:45
UInt8 Bool
Definition: dataTypes.h:53

Document ID: Generated on Mon Mar 8 15:11:30 EST 2021 from SVN revision 225633
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)