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

Go to the source code of this file.

Classes

class  volume
 A relative sound intensity. More...
 

Functions

volume get_next (const volume &v) noexcept
 Get the next volume, i.e. the volume when the user presses right.
 
volume get_previous (const volume &v) noexcept
 Get the previous volume, i.e. the volume when the user presses left.
 
void test_volume ()
 Test this class and its free functions.
 
bool operator== (const volume &lhs, const volume &rhs) noexcept
 
bool operator!= (const volume &lhs, const volume &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const volume &v) noexcept
 

Function Documentation

◆ get_next()

volume get_next ( const volume v)
noexcept

Get the next volume, i.e. the volume when the user presses right.

◆ get_previous()

volume get_previous ( const volume v)
noexcept

Get the previous volume, i.e. the volume when the user presses left.

◆ operator!=()

bool operator!= ( const volume lhs,
const volume rhs 
)
noexcept

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const volume v 
)
noexcept

◆ operator==()

bool operator== ( const volume lhs,
const volume rhs 
)
noexcept

◆ test_volume()

void test_volume ( )

Test this class and its free functions.