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

#include <catch_list.h>

Collaboration diagram for Catch::TagInfo:

Public Member Functions

void add (std::string const &spelling)
 
std::string all () const
 

Public Attributes

std::set< std::string > spellings
 
std::size_t count = 0
 

Detailed Description

Definition at line 22 of file catch_list.h.

Member Function Documentation

◆ add()

void Catch::TagInfo::add ( std::string const & spelling)

Definition at line 81 of file catch_list.cpp.

81 {
82 ++count;
83 spellings.insert( spelling );
84 }
std::size_t count
Definition catch_list.h:27
std::set< std::string > spellings
Definition catch_list.h:26

◆ all()

std::string Catch::TagInfo::all ( ) const

Definition at line 86 of file catch_list.cpp.

86 {
87 std::string out;
88 for( auto const& spelling : spellings )
89 out += "[" + spelling + "]";
90 return out;
91 }

Member Data Documentation

◆ count

std::size_t Catch::TagInfo::count = 0

Definition at line 27 of file catch_list.h.

◆ spellings

std::set<std::string> Catch::TagInfo::spellings

Definition at line 26 of file catch_list.h.


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