Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
commandlineparser.h
1
#pragma once
2
3
#include <string>
4
5
#include <unordered_map>
6
7
8
class
CommandLineParser
{
9
public
:
10
CommandLineParser
();
11
12
void
parse(
int
argc,
char
* argv[]);
13
14
bool
hmd()
const
;
15
bool
stereoView()
const
;
16
bool
fullScreen()
const
;
17
18
private
:
19
std::unordered_map<std::string, std::string> m_options;
20
21
bool
isSet(
const
std::string& arg)
const
;
22
void
checkHelp();
23
24
};
CommandLineParser
Definition:
commandlineparser.h:8
src
etc
cli
commandlineparser.h
Generated on Sun Mar 30 2014 13:32:31 for Voxellancer by
1.8.6