Radium Engine
1.5.20
Loading...
Searching...
No Matches
CLIBaseApplication.cpp
1
#include <Headless/CLIBaseApplication.hpp>
2
3
namespace
Ra
{
4
5
namespace
Headless {
6
int
CLIBaseApplication::init
(
int
argc,
const
char
** argv ) {
7
try
{
8
m_cmdLineParser
.parse( argc, argv );
9
}
10
catch
(
const
CLI::ParseError& e ) {
11
return
m_cmdLineParser
.exit( e ) + 1;
12
}
13
return
0;
14
}
15
16
}
// namespace Headless
17
}
// namespace Ra
Ra::Headless::CLIBaseApplication::init
virtual int init(int argc, const char *argv[])
Definition
CLIBaseApplication.cpp:6
Ra::Headless::CLIBaseApplication::m_cmdLineParser
CLI::App m_cmdLineParser
Definition
CLIBaseApplication.hpp:25
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
src
Headless
CLIBaseApplication.cpp
Generated by
1.12.0