#include <DataHistory.h>
Public Member Functions | |
bool | operator() (const DataHistory *lhs, const DataHistory *rhs) const |
bool | operator() (const DataHistory &lhs, const DataHistory &rhs) const |
Definition at line 29 of file DataHistory.h.
bool DataHistory::DataHistoryOrder::operator() | ( | const DataHistory * | lhs, | |
const DataHistory * | rhs | |||
) | const [inline] |
Definition at line 31 of file DataHistory.h.
00031 { 00032 if (lhs->m_dataClassID == rhs->m_dataClassID) { 00033 if (lhs->m_dataKey == rhs->m_dataKey) { 00034 return ( lhs->m_algHist < rhs->m_algHist ); 00035 } else { 00036 return ( lhs->m_dataKey < rhs->m_dataKey ); 00037 } 00038 } else { 00039 return (lhs->m_dataClassID < rhs->m_dataClassID); 00040 } 00041 00042 }
bool DataHistory::DataHistoryOrder::operator() | ( | const DataHistory & | lhs, | |
const DataHistory & | rhs | |||
) | const [inline] |
Definition at line 43 of file DataHistory.h.
00043 { 00044 if (lhs.m_dataClassID == rhs.m_dataClassID) { 00045 if (lhs.m_dataKey == rhs.m_dataKey) { 00046 return ( lhs.m_algHist < rhs.m_algHist ); 00047 } else { 00048 return ( lhs.m_dataKey < rhs.m_dataKey ); 00049 } 00050 } else { 00051 return (lhs.m_dataClassID < rhs.m_dataClassID); 00052 } 00053 }