CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
RegressionTestPayload Class Reference

#include <RegressionTestPayload.h>

Inheritance diagram for RegressionTestPayload:
PrimitivePayload ArrayPayload

Public Types

typedef Data T_Data
 

Public Member Functions

bool operator!= (const RegressionTestPayload &rhs) const
 
bool operator== (const RegressionTestPayload &rhs) const
 
 RegressionTestPayload ()
 
 RegressionTestPayload (int seed)
 
- Public Member Functions inherited from PrimitivePayload
bool operator!= (const PrimitivePayload &rhs) const
 
bool operator== (const PrimitivePayload &rhs) const
 
 PrimitivePayload ()
 
 PrimitivePayload (int seed)
 
- Public Member Functions inherited from ArrayPayload
 ArrayPayload ()
 
 ArrayPayload (int seed)
 
bool operator!= (const ArrayPayload &rhs) const
 
bool operator== (const ArrayPayload &rhs) const
 

Public Attributes

Data m_data0
 
T_Data m_data1
 
int m_i
 

Detailed Description

Definition at line 14 of file RegressionTestPayload.h.

Member Typedef Documentation

Definition at line 18 of file RegressionTestPayload.h.

Constructor & Destructor Documentation

RegressionTestPayload::RegressionTestPayload ( )

Definition at line 32 of file RegressionTestPayload.cc.

RegressionTestPayload::RegressionTestPayload ( int  seed)

Definition at line 40 of file RegressionTestPayload.cc.

40  :
41  PrimitivePayload( seed ) ,
42  ArrayPayload( seed ),
43  m_i( seed ),
44  m_data0( seed ),
45  m_data1(seed ){
46 }

Member Function Documentation

bool RegressionTestPayload::operator!= ( const RegressionTestPayload rhs) const

Definition at line 56 of file RegressionTestPayload.cc.

References operator==().

56  {
57  return !operator==( rhs );
58 }
bool operator==(const RegressionTestPayload &rhs) const
bool RegressionTestPayload::operator== ( const RegressionTestPayload rhs) const

Definition at line 47 of file RegressionTestPayload.cc.

References m_data0, m_data1, m_i, and cppFunctionSkipper::operator.

Referenced by operator!=().

47  {
48  if( PrimitivePayload::operator!=(rhs) ) return false;
49  if( ArrayPayload::operator!=(rhs) ) return false;
50  if( m_i != rhs.m_i ) return false;
51  if( m_data0 != rhs.m_data0 ) return false;
52  if( m_data1 != rhs.m_data1 ) return false;
53  return true;
54 }

Member Data Documentation

Data RegressionTestPayload::m_data0

Definition at line 23 of file RegressionTestPayload.h.

Referenced by operator==().

T_Data RegressionTestPayload::m_data1

Definition at line 24 of file RegressionTestPayload.h.

Referenced by operator==().

int RegressionTestPayload::m_i

Definition at line 22 of file RegressionTestPayload.h.

Referenced by operator==().