diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-16 01:05:23 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:26:11 +0200 |
commit | 9447522be38994a483668229bc56bb043e447cde (patch) | |
tree | 398184d6cc4f123918f5149ebed67d5c23cfd470 /src/core/common/Variant.hpp | |
parent | 05e46e97806491843bdfacbc566a54f09f1c815a (diff) |
Autoformat
Diffstat (limited to 'src/core/common/Variant.hpp')
-rw-r--r-- | src/core/common/Variant.hpp | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/src/core/common/Variant.hpp b/src/core/common/Variant.hpp index 9a201c7..7cdec24 100644 --- a/src/core/common/Variant.hpp +++ b/src/core/common/Variant.hpp @@ -80,29 +80,28 @@ struct VariantMetadata { * Structure holding the actual metadata. */ struct Meta { + /** + * Field used to store the type of a Variant (4 Bit, space for 16 + * objects). + */ + uint8_t variantType : 4; + + /** + * Field used to store the location at which the Variant was found + * (30 Bit). + */ + uint32_t locationOffset : 30; // Enough for 1GB - /** - * Field used to store the type of a Variant (4 Bit, space for 16 - * objects). - */ - uint8_t variantType : 4; - - /** - * Field used to store the location at which the Variant was found - * (30 Bit). - */ - uint32_t locationOffset : 30; // Enough for 1GB - - /** - * Field used to store the length of the value from which the - * variant was parsed (14 Bit). - */ - uint16_t locationLength : 14; // 16.000 Bytes of context - - /** - * Unique id of the file from which the variant was parsed. - */ - uint16_t locationSourceId : 16; // 65.000 Source files + /** + * Field used to store the length of the value from which the + * variant was parsed (14 Bit). + */ + uint16_t locationLength : 14; // 16.000 Bytes of context + + /** + * Unique id of the file from which the variant was parsed. + */ + uint16_t locationSourceId : 16; // 65.000 Source files }; union { |