35 #include <Riostream.h>
90 fValidity(src.fValidity)
136 return !(*
this == pos2);
145 if (
this == &src)
return *
this;
148 TObject::operator=(src);
164 AliErrorStream() <<
"Wrong object type." << endl;
168 return ( *
this < *pair ) ? -1 : 1;
231 stream <<
"AliMpIntPair::Invalid";
AliMpIntPair & operator=(const AliMpIntPair &src)
Int_t GetFirst() const
Return first value.
Bool_t operator==(const AliMpIntPair &pos2) const
Bool_t IsValid() const
Return validity.
Int_t fFirst
the first value
Int_t fSecond
the second value
AliMpIntPair operator+(const AliMpIntPair &op1, const AliMpIntPair &op2)
void operator+=(const AliMpIntPair &op)
AliMpIntPair operator*(const AliMpIntPair &op1, const AliMpIntPair &op2)
Bool_t operator<(const AliMpIntPair &pos2) const
void operator-=(const AliMpIntPair &op)
Bool_t operator!=(const AliMpIntPair &pos2) const
virtual Int_t Compare(const TObject *obj) const
ostream & operator<<(ostream &stream, const AliMpIntPair &op)
AliMpIntPair operator-(const AliMpIntPair &op1, const AliMpIntPair &op2)
Int_t GetSecond() const
Return second value.