AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
ArgumentsManager.cpp File Reference

Run time input options manager. (See Aqua::InputOutput::ArgumentsManager for details) More...

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include <string.h>
#include <ArgumentsManager.h>
#include <FileManager.h>
#include <InputOutput/Logger.h>
Include dependency graph for ArgumentsManager.cpp:

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.
 
namespace  Aqua::InputOutput
 Input/Output data interfaces.
 
namespace  Aqua::InputOutput::CommandLineArgs
 

Functions

void Aqua::InputOutput::CommandLineArgs::displayUsage ()
 Display the program usage.
 
void Aqua::InputOutput::CommandLineArgs::parse (int argc, char **argv, FileManager &file_manager)
 Parse the command line arguments.
 

Variables

static const char * opts = "i:vh"
 
static const struct option longOpts []
 
char * optarg
 

Detailed Description

Run time input options manager. (See Aqua::InputOutput::ArgumentsManager for details)

Variable Documentation

◆ longOpts

const struct option longOpts[]
static
Initial value:
= {
{ "input", required_argument, NULL, 'i' },
{ "version", no_argument, NULL, 'v' },
{ "help", no_argument, NULL, 'h' },
{ NULL, no_argument, NULL, 0 }
}

◆ optarg

char* optarg
extern

◆ opts

const char* opts = "i:vh"
static