diff options
author | Chris Phan <cphan@us.ibm.com> | 2014-08-21 21:48:36 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-12-03 10:46:43 -0600 |
commit | 605137529b178862bf2c28ea3c3da4fb48394991 (patch) | |
tree | 9ef0d3c4de57d3abd62ef79a0f73adf4df0c71ae /src/usr/diag/attn/test/attncomp.H | |
parent | 884df0a961451b7b00d99e07512b19f801ee7587 (diff) | |
download | blackbird-hostboot-605137529b178862bf2c28ea3c3da4fb48394991.tar.gz blackbird-hostboot-605137529b178862bf2c28ea3c3da4fb48394991.zip |
ATTN: code re-org in preparation for HBRT support
Change-Id: I100fafcfc794e8828e992438bacf8303a029a566
RTC: 110949
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12949
Tested-by: Jenkins Server
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/attn/test/attncomp.H')
-rw-r--r-- | src/usr/diag/attn/test/attncomp.H | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/src/usr/diag/attn/test/attncomp.H b/src/usr/diag/attn/test/attncomp.H deleted file mode 100644 index fd6de6ccc..000000000 --- a/src/usr/diag/attn/test/attncomp.H +++ /dev/null @@ -1,104 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/attn/test/attncomp.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ -/* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ -/* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ -/* */ -/* IBM_PROLOG_END_TAG */ -#ifndef __TEST_ATTNCOMP_H -#define __TEST_ATTNCOMP_H - -/** - * @file attncomp.H - * - * @brief HBATTN test lib comparison functors. - */ - -#include "attntest.H" - -namespace ATTN -{ - -/** - * @brief AttnDataSwo Less than comparison functor for PRDF::AttnData structs. - */ -class AttnDataSwo -{ - public: - - /** - * @brief operator() Less than comparison for PRDF::AttnData structs. - * - * @param[in] i_l One of two PRDF::AttnData structs to be compared. - * @param[in] i_r One of two PRDF::AttnData structs to be compared. - * - * @return bool Comparison result. - * - * @retval[true] i_l < i_r; - * @retval[false] i_r < i_l; - */ - bool operator()( - const PRDF::AttnData & i_l, - const PRDF::AttnData & i_r) const - { - return compare(i_l, i_r) < 0; - } -}; - -/** - * @brief AttnDataEq Equality comparison predicate for PRDF::AttnData structs. - */ -class AttnDataEq -{ - public: - - /** - * @brief operator() Equality comparison for PRDF::AttnData structs. - * - * @param[in] i_r One of two PRDF::AttnData structs to be compared. - * - * @return bool Comparison result. - * - * @retval[true] i_l == i_r; - * @retval[false] i_l != i_r; - */ - bool operator()( - const PRDF::AttnData & i_r) const - { - return compare(iv_d, i_r) == 0; - } - - /** - * @brief ctor - * - * @param[in] i_l One of two PRDF::AttnData structs to be compared. - */ - explicit AttnDataEq(const PRDF::AttnData & i_l) : - iv_d(i_l) {} - - private: - - /** - * @brief iv_d - * - * One of two PRDF::AttnData structs to be compared. - */ - const PRDF::AttnData & iv_d; -}; -} -#endif |