CMS 3D CMS Logo

Public Member Functions | Public Attributes

Param Struct Reference

#include <ArrayPayload.h>

List of all members.

Public Member Functions

bool operator!= (const Param &rhs) const
bool operator== (const Param &rhs) const
 Param ()
 Param (int seed)

Public Attributes

int p_i
std::string p_s

Detailed Description

Definition at line 8 of file ArrayPayload.h.


Constructor & Destructor Documentation

Param::Param ( )

Definition at line 4 of file ArrayPayload.cc.

            :
  p_i( -1 ),
  p_s(""){
}
Param::Param ( int  seed)

Definition at line 9 of file ArrayPayload.cc.

References p_s.

                      :
  p_i( seed ),
  p_s(""){
  std::stringstream ss;
  ss << seed;
  p_s = ss.str();   
}

Member Function Documentation

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

Definition at line 23 of file ArrayPayload.cc.

References operator==().

                                              {
  return !operator==( rhs );
}
bool Param::operator== ( const Param rhs) const

Definition at line 17 of file ArrayPayload.cc.

References p_i, and p_s.

Referenced by operator!=().

                                              {
  if( p_i != rhs.p_i ) return false;
  if( p_s != rhs.p_s ) return false;
  return true;  
}

Member Data Documentation

Definition at line 11 of file ArrayPayload.h.

Referenced by operator==().

std::string Param::p_s

Definition at line 12 of file ArrayPayload.h.

Referenced by operator==(), and Param().