コード例 #1
0
ファイル: NyxTime_Impl.cpp プロジェクト: cobreti/Nyx
	bool CTime::operator != (const CTime& time) const
	{
		if ( !Valid() || !time.Valid() )
			throw Nyx::CTimeException();

		return (m_Time != time.m_Time);
	}
コード例 #2
0
ファイル: NyxTime_Impl.cpp プロジェクト: cobreti/Nyx
	bool CTime::operator > (const CTime& time) const
	{
		if ( !Valid() || !time.Valid() )
			throw Nyx::CTimeException();

		return m_Time > time.m_Time;
	}
コード例 #3
0
ファイル: NyxTime_Impl.cpp プロジェクト: cobreti/Nyx
	const CTime CTime::operator + (const CTime& time) const
	{
		if ( !Valid() || !time.Valid() )
			throw Nyx::CTimeException();

		CTime	retval(0);

		retval.m_Time = m_Time + time.m_Time;
		return retval;
	}