Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::MessageInfo Struct Reference

#include <catch_message.h>

Collaboration diagram for Catch::MessageInfo:

Public Member Functions

 MessageInfo (StringRef const &_macroName, SourceLineInfo const &_lineInfo, ResultWas::OfType _type)
 
bool operator== (MessageInfo const &other) const
 
bool operator< (MessageInfo const &other) const
 
 MessageInfo (StringRef const &_macroName, SourceLineInfo const &_lineInfo, ResultWas::OfType _type)
 
bool operator== (MessageInfo const &other) const
 
bool operator< (MessageInfo const &other) const
 

Public Attributes

StringRef macroName
 
std::string message
 
SourceLineInfo lineInfo
 
ResultWas::OfType type
 
unsigned int sequence
 

Detailed Description

Definition at line 2224 of file catch.hpp.

Constructor & Destructor Documentation

◆ MessageInfo() [1/2]

Catch::MessageInfo::MessageInfo ( StringRef const & _macroName,
SourceLineInfo const & _lineInfo,
ResultWas::OfType _type )

Definition at line 19 of file catch_message.cpp.

22 : macroName( _macroName ),
23 lineInfo( _lineInfo ),
24 type( _type ),
25 sequence( ++globalCount )
26 {}
unsigned int sequence
SourceLineInfo lineInfo
ResultWas::OfType type

◆ MessageInfo() [2/2]

Catch::MessageInfo::MessageInfo ( StringRef const & _macroName,
SourceLineInfo const & _lineInfo,
ResultWas::OfType _type )

Member Function Documentation

◆ operator<() [1/2]

bool Catch::MessageInfo::operator< ( MessageInfo const & other) const

Definition at line 32 of file catch_message.cpp.

32 {
33 return sequence < other.sequence;
34 }

◆ operator<() [2/2]

bool Catch::MessageInfo::operator< ( MessageInfo const & other) const

◆ operator==() [1/2]

bool Catch::MessageInfo::operator== ( MessageInfo const & other) const

Definition at line 28 of file catch_message.cpp.

28 {
29 return sequence == other.sequence;
30 }

◆ operator==() [2/2]

bool Catch::MessageInfo::operator== ( MessageInfo const & other) const

Member Data Documentation

◆ lineInfo

SourceLineInfo Catch::MessageInfo::lineInfo

Definition at line 29 of file catch_message.h.

◆ macroName

StringRef Catch::MessageInfo::macroName

Definition at line 27 of file catch_message.h.

◆ message

std::string Catch::MessageInfo::message

Definition at line 28 of file catch_message.h.

◆ sequence

unsigned int Catch::MessageInfo::sequence

Definition at line 31 of file catch_message.h.

◆ type

ResultWas::OfType Catch::MessageInfo::type

Definition at line 30 of file catch_message.h.


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