MAK Legion 1.1 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 
52  typedef UInt32 ClientId;
53  typedef UInt8 Bool;
54 
55  static const UInt8 True = 1;
56  static const UInt8 False = 0;
57 
59  const UInt32 VariableCardinality = 0xffffffff;
60 
62  LEGION_DLL UInt32 dataTypeSize(DataType type);
63 }
DataType
Datatypes supported by the Legion infrastructure.
Definition: dataTypes.h:16
long long Int64
Definition: dataTypes.h:47
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.
unsigned int UInt32
Definition: dataTypes.h:44
UInt32 ClientId
Definition: dataTypes.h:52
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 Wed May 26 15:17:05 EDT 2021 from SVN revision 229676
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)