Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ClassAttributeMap = ClassAttributeMap {}
- classHasLocation :: Str -> Bool
- classHasRotation :: Str -> Bool
- getAttributeIdLimit :: Map Word32le Word32le -> Maybe Word
- getAttributeMap :: ClassAttributeMap -> Map CompressedWord Word32le -> CompressedWord -> Maybe (Map Word32le Word32le)
- getAttributeName :: ClassAttributeMap -> Map Word32le Word32le -> CompressedWord -> Maybe Str
- getClassName :: Str -> Maybe Str
- getName :: IntMap Str -> Word32le -> Maybe Str
- getObjectName :: Map Word32le Str -> Word32le -> Maybe Str
- makeClassAttributeMap :: List Str -> List ClassMapping -> List Cache -> List Str -> ClassAttributeMap
Documentation
data ClassAttributeMap Source #
This data structure holds all the information about classes, objects, and
attributes in the replay. The class hierarchy is not fixed; it is encoded
in the Content
. Similarly, the attributes that belong
to each class are not fixed either. Converting the raw data into a usable
structure is tedious; see makeClassAttributeMap
.
ClassAttributeMap | |
|
classHasLocation :: Str -> Bool Source #
classHasRotation :: Str -> Bool Source #
getAttributeMap :: ClassAttributeMap -> Map CompressedWord Word32le -> CompressedWord -> Maybe (Map Word32le Word32le) Source #
getAttributeName :: ClassAttributeMap -> Map Word32le Word32le -> CompressedWord -> Maybe Str Source #
makeClassAttributeMap Source #
:: List Str | From |
-> List ClassMapping | From |
-> List Cache | From |
-> List Str | From |
-> ClassAttributeMap |
Makes a ClassAttributeMap
given the necessary fields from the
Content
.