ReactOS  0.4.12-dev-51-ge94618b
ATL::CFileTimeSpan Class Reference

#include <atltime.h>

Public Member Functions

 CFileTimeSpan () throw ()
 
 CFileTimeSpan (const CFileTimeSpan &span) throw ()
 
 CFileTimeSpan (LONGLONG nSpan) throw ()
 
LONGLONG GetTimeSpan () const throw ()
 
void SetTimeSpan (LONGLONG nSpan) throw ()
 
CFileTimeSpan operator- (CFileTimeSpan span) const throw ()
 
bool operator!= (CFileTimeSpan span) const throw ()
 
CFileTimeSpan operator+ (CFileTimeSpan span) const throw ()
 
CFileTimeSpanoperator+= (CFileTimeSpan span) throw ()
 
bool operator< (CFileTimeSpan span) const throw ()
 
bool operator<= (CFileTimeSpan span) const throw ()
 
CFileTimeSpanoperator= (const CFileTimeSpan &span) throw ()
 
CFileTimeSpanoperator-= (CFileTimeSpan span) throw ()
 
bool operator== (CFileTimeSpan span) const throw ()
 
bool operator> (CFileTimeSpan span) const throw ()
 
bool operator>= (CFileTimeSpan span) const throw ()
 

Private Attributes

LONGLONG m_nSpan
 

Detailed Description

Definition at line 445 of file atltime.h.

Constructor & Destructor Documentation

◆ CFileTimeSpan() [1/3]

ATL::CFileTimeSpan::CFileTimeSpan ( )
throw (
)
inline

Definition at line 449 of file atltime.h.

450  {
451  m_nSpan = 0;
452  }
LONGLONG m_nSpan
Definition: atltime.h:447

◆ CFileTimeSpan() [2/3]

ATL::CFileTimeSpan::CFileTimeSpan ( const CFileTimeSpan span)
throw (
)
inline

Definition at line 454 of file atltime.h.

455  {
456  m_nSpan = span.GetTimeSpan();
457  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ CFileTimeSpan() [3/3]

ATL::CFileTimeSpan::CFileTimeSpan ( LONGLONG  nSpan)
throw (
)
inline

Definition at line 459 of file atltime.h.

460  {
461  m_nSpan = nSpan;
462  }
LONGLONG m_nSpan
Definition: atltime.h:447

Member Function Documentation

◆ GetTimeSpan()

LONGLONG ATL::CFileTimeSpan::GetTimeSpan ( ) const
throw (
)
inline

Definition at line 464 of file atltime.h.

Referenced by operator+=(), operator-=(), and operator=().

465  {
466  return m_nSpan;
467  }
LONGLONG m_nSpan
Definition: atltime.h:447

◆ operator!=()

bool ATL::CFileTimeSpan::operator!= ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 479 of file atltime.h.

480  {
481  return m_nSpan != span.GetTimeSpan();
482  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator+()

CFileTimeSpan ATL::CFileTimeSpan::operator+ ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 484 of file atltime.h.

485  {
486  return CFileTimeSpan(m_nSpan + span.GetTimeSpan());
487  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator+=()

Definition at line 489 of file atltime.h.

490  {
491  m_nSpan += span.GetTimeSpan();
492  return *this;
493  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator-()

CFileTimeSpan ATL::CFileTimeSpan::operator- ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 474 of file atltime.h.

475  {
476  return CFileTimeSpan(m_nSpan - span.GetTimeSpan());
477  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator-=()

Definition at line 511 of file atltime.h.

512  {
513  m_nSpan -= span.GetTimeSpan();
514  return *this;
515  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator<()

bool ATL::CFileTimeSpan::operator< ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 495 of file atltime.h.

496  {
497  return m_nSpan < span.GetTimeSpan();
498  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator<=()

bool ATL::CFileTimeSpan::operator<= ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 500 of file atltime.h.

501  {
502  return m_nSpan <= span.GetTimeSpan();
503  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator=()

Definition at line 505 of file atltime.h.

506  {
507  m_nSpan = span.GetTimeSpan();
508  return *this;
509  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator==()

bool ATL::CFileTimeSpan::operator== ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 517 of file atltime.h.

518  {
519  return m_nSpan == span.GetTimeSpan();
520  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator>()

bool ATL::CFileTimeSpan::operator> ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 522 of file atltime.h.

523  {
524  return m_nSpan > span.GetTimeSpan();
525  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ operator>=()

bool ATL::CFileTimeSpan::operator>= ( CFileTimeSpan  span) const
throw (
)
inline

Definition at line 527 of file atltime.h.

528  {
529  return m_nSpan >= span.GetTimeSpan();
530  }
LONGLONG m_nSpan
Definition: atltime.h:447
LONGLONG GetTimeSpan() const
Definition: atltime.h:464

◆ SetTimeSpan()

void ATL::CFileTimeSpan::SetTimeSpan ( LONGLONG  nSpan)
throw (
)
inline

Definition at line 469 of file atltime.h.

470  {
471  m_nSpan = nSpan;
472  }
LONGLONG m_nSpan
Definition: atltime.h:447

Member Data Documentation

◆ m_nSpan

LONGLONG ATL::CFileTimeSpan::m_nSpan
private

Definition at line 447 of file atltime.h.


The documentation for this class was generated from the following file: