mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
92 lines
2.3 KiB
C++
92 lines
2.3 KiB
C++
// -*- C++ -*-
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator += (const ACE_Time_Value &tv)
|
|
{
|
|
this->ACE_Time_Value::operator +=(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator += (time_t tv)
|
|
{
|
|
this->ACE_Time_Value::operator +=(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator = (const ACE_Time_Value_T<TIME_POLICY> &tv)
|
|
{
|
|
this->time_policy_ = tv.time_policy_;
|
|
this->ACE_Time_Value::operator =(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator = (const ACE_Time_Value &tv)
|
|
{
|
|
this->ACE_Time_Value::operator =(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator = (time_t tv)
|
|
{
|
|
this->ACE_Time_Value::operator =(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator -= (const ACE_Time_Value &tv)
|
|
{
|
|
this->ACE_Time_Value::operator -=(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator -= (time_t tv)
|
|
{
|
|
this->ACE_Time_Value::operator -=(tv);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator *= (double d)
|
|
{
|
|
this->ACE_Time_Value::operator *=(d);
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> ACE_Time_Value_T<TIME_POLICY>::operator++ (int)
|
|
{
|
|
ACE_Time_Value_T<TIME_POLICY> tv (*this);
|
|
++*this;
|
|
return tv;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator++ (void)
|
|
{
|
|
this->ACE_Time_Value::operator ++();
|
|
return *this;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> ACE_Time_Value_T<TIME_POLICY>::operator-- (int)
|
|
{
|
|
ACE_Time_Value_T<TIME_POLICY> tv (*this);
|
|
--*this;
|
|
return tv;
|
|
}
|
|
|
|
template <class TIME_POLICY>
|
|
ACE_Time_Value_T<TIME_POLICY> &ACE_Time_Value_T<TIME_POLICY>::operator-- (void)
|
|
{
|
|
this->ACE_Time_Value::operator --();
|
|
return *this;
|
|
}
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|