mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-02-13 09:47:15 +01:00
Update entity interfaces to include a typedef to a bitset used by event types.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
@@ -124,6 +125,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -198,6 +202,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -284,6 +291,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -358,6 +368,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -434,6 +447,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -596,6 +612,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -670,6 +689,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -743,6 +765,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -816,6 +841,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
@@ -900,6 +928,9 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::array< Instance, Limit > Instances;
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
typedef std::bitset< Limit > Set;
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user