API
Catch::SourceLineInfo Struct Reference

#include <catch.hpp>

Collaboration diagram for Catch::SourceLineInfo:
Collaboration graph

Public Member Functions

 SourceLineInfo ()=delete
 
 SourceLineInfo (char const *_file, std::size_t _line) noexcept
 
 SourceLineInfo (SourceLineInfo const &other)=default
 
SourceLineInfooperator= (SourceLineInfo const &)=default
 
 SourceLineInfo (SourceLineInfo &&) noexcept=default
 
SourceLineInfooperator= (SourceLineInfo &&) noexcept=default
 
bool empty () const noexcept
 
bool operator== (SourceLineInfo const &other) const noexcept
 
bool operator< (SourceLineInfo const &other) const noexcept
 

Public Attributes

char const * file
 
std::size_t line
 

Detailed Description

Definition at line 502 of file catch.hpp.

Constructor & Destructor Documentation

◆ SourceLineInfo() [1/4]

Catch::SourceLineInfo::SourceLineInfo ( )
delete

◆ SourceLineInfo() [2/4]

Catch::SourceLineInfo::SourceLineInfo ( char const *  _file,
std::size_t  _line 
)
inlinenoexcept

Definition at line 505 of file catch.hpp.

◆ SourceLineInfo() [3/4]

Catch::SourceLineInfo::SourceLineInfo ( SourceLineInfo const &  other)
default

◆ SourceLineInfo() [4/4]

Catch::SourceLineInfo::SourceLineInfo ( SourceLineInfo &&  )
defaultnoexcept

Member Function Documentation

◆ empty()

bool Catch::SourceLineInfo::empty ( ) const
inlinenoexcept

Definition at line 515 of file catch.hpp.

◆ operator<()

bool Catch::SourceLineInfo::operator< ( SourceLineInfo const &  other) const
noexcept

◆ operator=() [1/2]

SourceLineInfo& Catch::SourceLineInfo::operator= ( SourceLineInfo &&  )
defaultnoexcept

◆ operator=() [2/2]

SourceLineInfo& Catch::SourceLineInfo::operator= ( SourceLineInfo const &  )
default

◆ operator==()

bool Catch::SourceLineInfo::operator== ( SourceLineInfo const &  other) const
noexcept

Member Data Documentation

◆ file

char const* Catch::SourceLineInfo::file

Definition at line 519 of file catch.hpp.

Referenced by empty().

◆ line

std::size_t Catch::SourceLineInfo::line

Definition at line 520 of file catch.hpp.


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