diff options
Diffstat (limited to 'src/include/usr/targeting/common/attributeTank.H')
| -rw-r--r-- | src/include/usr/targeting/common/attributeTank.H | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/include/usr/targeting/common/attributeTank.H b/src/include/usr/targeting/common/attributeTank.H index a3f9afeab..ccb568889 100644 --- a/src/include/usr/targeting/common/attributeTank.H +++ b/src/include/usr/targeting/common/attributeTank.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2017 */ +/* Contributors Listed Below - COPYRIGHT 2013,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -146,6 +146,28 @@ namespace AttributeTank #ifndef STANDALONE_COMPILE /** + * @struct Attribute + * + * This structure defines a single attribute. + */ + struct Attribute + { + /** + * @brief Constructor + */ + Attribute(); + + /** + * @brief Destructor. Frees memory + */ + ~Attribute(); + + // Public data + AttributeHeader iv_hdr; + uint8_t * iv_pVal; // Pointer to attribute value + }; + + /** * @struct AttributeSerializedChunk * * This structure defines a chunk of memory for containing serialized @@ -397,28 +419,6 @@ private: AttributeTank(const AttributeTank & i_right); AttributeTank & operator=(const AttributeTank & i_right); - /** - * @struct Attribute - * - * This structure defines a single attribute. - */ - struct Attribute - { - /** - * @brief Constructor - */ - Attribute(); - - /** - * @brief Destructor. Frees memory - */ - ~Attribute(); - - // Public data - AttributeHeader iv_hdr; - uint8_t * iv_pVal; // Pointer to attribute value - }; - // The attributes // Note: A possible performance boost could be to store the elements in a // map, the key could be a sub-structure. |

