From 9d95b4a77423ea74222f3fadbbf0c2a6ca5491a9 Mon Sep 17 00:00:00 2001 From: Brian Silver Date: Fri, 27 Feb 2015 13:49:28 -0600 Subject: fapi2 bug fixes and cleanup Add assignment/equality operators to targets Add fapi2::buffer::pointer() Fix fapi2::buffer operator documentation Add inline to hw_access, error_info functions Remove error_info interator typdefs in favor of auto Change-Id: I8931215862c55188747a7de78f9344c0ca7ab517 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16096 Reviewed-by: Matt K. Light Reviewed-by: Thi N. Tran Reviewed-by: Brian Silver Tested-by: Brian Silver --- import/hwpf/fapi2/include/buffer.H | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'import/hwpf/fapi2/include') diff --git a/import/hwpf/fapi2/include/buffer.H b/import/hwpf/fapi2/include/buffer.H index 3082e41f..848f032a 100644 --- a/import/hwpf/fapi2/include/buffer.H +++ b/import/hwpf/fapi2/include/buffer.H @@ -256,25 +256,26 @@ namespace fapi2 #endif /// - /// @brief operator==() + /// @brief operator~() /// #ifdef DOXYGEN - buffer& operator==(const T& rhs) const; + buffer& operator~(const T& rhs) const; #endif /// - /// @brief operator!=() + /// @brief operator==() /// #ifdef DOXYGEN - bool operator!=(const T& rhs) const; + bool operator==(const T& rhs) const; #endif /// - /// @brief operator~() + /// @brief operator!=() /// #ifdef DOXYGEN - bool operator~(const T& rhs) const; + bool operator!=(const T& rhs) const; #endif + /// /// @brief Copy part of a OT into the DataBuffer /// @tparam TS Start bit to insert into (target start) -- cgit v1.2.3