Bazaar developer reference

CvRandom::operator==(const CvRandom &) const

Defined in
CvRandom.cpp, line 70
Class
CvRandom
Hook name
CivHooks::CvRandom_op_eq

Hooks

static bool BeforeCvRandom_op_eq(const CvRandom* self, const CvRandom& source, bool& result);static void AfterCvRandom_op_eq(const CvRandom* self, const CvRandom& source, bool& result);static bool ReplaceCvRandom_op_eq(bool (*original)(const CvRandom*, const CvRandom&), const CvRandom* self, const CvRandom& source);CivRegisterBefore<CivHooks::CvRandom_op_eq>(host, &BeforeCvRandom_op_eq);CivRegisterAfter<CivHooks::CvRandom_op_eq>(host, &AfterCvRandom_op_eq);CivRegisterReplace<CivHooks::CvRandom_op_eq>(host, &ReplaceCvRandom_op_eq);

Code

70bool CvRandom::operator==(const CvRandom& source) const71{72#if defined(MOD_BUGFIX_RANDOM)73	return(m_ulRandomSeed == source.m_ulRandomSeed && m_ulCallCount == source.m_ulCallCount);74#else75	return(m_ulRandomSeed == source.m_ulRandomSeed);76#endif77}

Called by