From 9447522be38994a483668229bc56bb043e447cde Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Thu, 16 Apr 2015 01:05:23 +0200 Subject: Autoformat --- src/core/common/Variant.hpp | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'src/core/common/Variant.hpp') 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 { -- cgit v1.2.3