diff options
Diffstat (limited to 'import/hwpf/fapi2/include/buffer.H')
-rw-r--r-- | import/hwpf/fapi2/include/buffer.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/import/hwpf/fapi2/include/buffer.H b/import/hwpf/fapi2/include/buffer.H index bec8b0d4..a4e9a359 100644 --- a/import/hwpf/fapi2/include/buffer.H +++ b/import/hwpf/fapi2/include/buffer.H @@ -236,6 +236,12 @@ namespace fapi2 /// @name Buffer Manipulation Functions ///@{ + /// + /// @brief Get a pointer to the buffer bits + /// @return Pointer to the buffer itself + /// + inline T* pointer(void) { return &this->iv_data; } + // Note: Many (all?) of these are not needed and the compiler complains // as the cast to T yields a better operator. There are here mainly for // documenation purposes. |