ReactOS 0.4.15-dev-7842-g558ab78
ATL::CFileTimeSpan Class Reference

#include <atltime.h>

Public Member Functions

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

Private Attributes

LONGLONG m_nSpan
 

Detailed Description

Definition at line 445 of file atltime.h.

Constructor & Destructor Documentation

◆ CFileTimeSpan() [1/3]

ATL::CFileTimeSpan::CFileTimeSpan ( )
inlinenoexcept

Definition at line 449 of file atltime.h.

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

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

◆ CFileTimeSpan() [2/3]

ATL::CFileTimeSpan::CFileTimeSpan ( const CFileTimeSpan span)
inlinenoexcept

Definition at line 454 of file atltime.h.

455 {
456 m_nSpan = span.GetTimeSpan();
457 }
GLenum GLenum GLvoid GLvoid GLvoid * span
Definition: glext.h:5664

◆ CFileTimeSpan() [3/3]

ATL::CFileTimeSpan::CFileTimeSpan ( LONGLONG  nSpan)
inlinenoexcept

Definition at line 459 of file atltime.h.

460 {
461 m_nSpan = nSpan;
462 }

Member Function Documentation

◆ GetTimeSpan()

LONGLONG ATL::CFileTimeSpan::GetTimeSpan ( ) const
inlinenoexcept

Definition at line 464 of file atltime.h.

465 {
466 return m_nSpan;
467 }

◆ operator!=()

bool ATL::CFileTimeSpan::operator!= ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 479 of file atltime.h.

480 {
481 return m_nSpan != span.GetTimeSpan();
482 }

◆ operator+()

CFileTimeSpan ATL::CFileTimeSpan::operator+ ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 484 of file atltime.h.

485 {
486 return CFileTimeSpan(m_nSpan + span.GetTimeSpan());
487 }
CFileTimeSpan() noexcept
Definition: atltime.h:449

◆ operator+=()

CFileTimeSpan & ATL::CFileTimeSpan::operator+= ( CFileTimeSpan  span)
inlinenoexcept

Definition at line 489 of file atltime.h.

490 {
491 m_nSpan += span.GetTimeSpan();
492 return *this;
493 }

◆ operator-()

CFileTimeSpan ATL::CFileTimeSpan::operator- ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 474 of file atltime.h.

475 {
476 return CFileTimeSpan(m_nSpan - span.GetTimeSpan());
477 }

◆ operator-=()

CFileTimeSpan & ATL::CFileTimeSpan::operator-= ( CFileTimeSpan  span)
inlinenoexcept

Definition at line 511 of file atltime.h.

512 {
513 m_nSpan -= span.GetTimeSpan();
514 return *this;
515 }

◆ operator<()

bool ATL::CFileTimeSpan::operator< ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 495 of file atltime.h.

496 {
497 return m_nSpan < span.GetTimeSpan();
498 }

◆ operator<=()

bool ATL::CFileTimeSpan::operator<= ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 500 of file atltime.h.

501 {
502 return m_nSpan <= span.GetTimeSpan();
503 }

◆ operator=()

CFileTimeSpan & ATL::CFileTimeSpan::operator= ( const CFileTimeSpan span)
inlinenoexcept

Definition at line 505 of file atltime.h.

506 {
507 m_nSpan = span.GetTimeSpan();
508 return *this;
509 }

◆ operator==()

bool ATL::CFileTimeSpan::operator== ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 517 of file atltime.h.

518 {
519 return m_nSpan == span.GetTimeSpan();
520 }

◆ operator>()

bool ATL::CFileTimeSpan::operator> ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 522 of file atltime.h.

523 {
524 return m_nSpan > span.GetTimeSpan();
525 }

◆ operator>=()

bool ATL::CFileTimeSpan::operator>= ( CFileTimeSpan  span) const
inlinenoexcept

Definition at line 527 of file atltime.h.

528 {
529 return m_nSpan >= span.GetTimeSpan();
530 }

◆ SetTimeSpan()

void ATL::CFileTimeSpan::SetTimeSpan ( LONGLONG  nSpan)
inlinenoexcept

Definition at line 469 of file atltime.h.

470 {
471 m_nSpan = nSpan;
472 }

Member Data Documentation

◆ m_nSpan


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