CMS 3D CMS Logo

Public Member Functions | Public Attributes

Inheritances Class Reference

#include <Inheritances.h>

List of all members.

Public Member Functions

 Inheritances (int payloadID)
 Inheritances ()
bool operator!= (const Inheritances &ref) const
bool operator== (const Inheritances &ref) const

Public Attributes

TestData testData
TestInheritance testInheritance

Detailed Description

Definition at line 26 of file Inheritances.h.


Constructor & Destructor Documentation

Inheritances::Inheritances ( int  payloadID)

Definition at line 88 of file Inheritances.cc.

                                        :
        testData(payloadID),
        testInheritance(payloadID)
{}
Inheritances::Inheritances ( )

Definition at line 92 of file Inheritances.cc.

{}

Member Function Documentation

bool Inheritances::operator!= ( const Inheritances ref) const

Definition at line 107 of file Inheritances.cc.

References operator==().

{
        return !operator==(ref);
}
bool Inheritances::operator== ( const Inheritances ref) const

Definition at line 94 of file Inheritances.cc.

References testData, and testInheritance.

Referenced by operator!=().

{
        if(testData != ref.testData)
        {
                return false;
        }
        if(testInheritance != ref.testInheritance)
        {
                return false;
        }
        return true;
}

Member Data Documentation

Definition at line 28 of file Inheritances.h.

Referenced by TestPayloadClass::DataToFile(), and operator==().

Definition at line 29 of file Inheritances.h.

Referenced by TestPayloadClass::DataToFile(), and operator==().