Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Functions
message_type.cpp File Reference
#include "message_type.h"
#include <cassert>
#include <iostream>
#include <sstream>
#include "../magic_enum/include/magic_enum/magic_enum.hpp"
Include dependency graph for message_type.cpp:

Functions

std::vector< message_typeget_all_message_types () noexcept
 Get all the message_type values.
 
void test_message_type ()
 Test this class and its free functions.
 
std::string to_str (const message_type t) noexcept
 
std::string to_str (const std::vector< message_type > &message_types) noexcept
 
std::ostream & operator<< (std::ostream &os, const message_type t) noexcept
 

Function Documentation

◆ get_all_message_types()

std::vector< message_type > get_all_message_types ( )
noexcept

Get all the message_type values.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const message_type  t 
)
noexcept

◆ test_message_type()

void test_message_type ( )

Test this class and its free functions.

◆ to_str() [1/2]

std::string to_str ( const message_type  t)
noexcept

◆ to_str() [2/2]

std::string to_str ( const std::vector< message_type > &  message_types)
noexcept