trader
v0.1a
A framework to build trading applications
src
codegen
app.h
1
#pragma once
2
3
#include "stdafx.h"
4
#include "endpoint.h"
5
#include "fileoutputstream.h"
6
7
namespace
trader
8
{
9
10
class
CodeGenApp
:
public
Application
11
{
12
public
:
13
CodeGenApp
();
14
15
protected
:
16
void
defineOptions(OptionSet &options);
17
void
handleHelp(
const
string
&name,
const
string
&value);
18
void
handleInputDir(
const
string
&name,
const
string
&value);
19
void
handleInputFile(
const
string
&name,
const
string
&value);
20
void
handleOutputDir(
const
string
&name,
const
string
&value);
21
void
handleNamespace(
const
string
&name,
const
string
&value);
22
void
handleType(
const
string
&name,
const
string
&value);
23
void
displayHelp();
24
void
processDirectory(
const
string
&root, std::function<
void
(
const
string
&) > func);
25
int
main(
const
std::vector< string > &args);
26
27
private
:
28
string
_inputDir;
29
string
_inputFile;
30
string
_outputDir;
31
string
_namespace;
32
string
_type;
33
};
34
35
}
// namespace trader
trader::CodeGenApp
Definition:
app.h:10
trader
Definition:
app.h:7
Generated by
1.8.13