Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Enumerations | Functions
program_state.h File Reference
#include <string>
#include <vector>
Include dependency graph for program_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  program_state {
  about , game , left_controls , loading ,
  lobby , main_menu , options , replay ,
  right_controls
}
 

Functions

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

Enumeration Type Documentation

◆ program_state

enum class program_state
strong
Enumerator
about 
game 
left_controls 
loading 
lobby 
main_menu 
options 
replay 
right_controls 

Function Documentation

◆ get_all_program_states()

std::vector< program_state > get_all_program_states ( )
noexcept

Get all the message_type values.

◆ operator<<()

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

◆ test_program_state()

void test_program_state ( )

Test this class and its free functions.

◆ to_str()

std::string to_str ( const program_state  t)
noexcept