netxsimdg
Loading...
Searching...
No Matches
ArgV.hpp
Go to the documentation of this file.
1
8
#include <string>
9
#include <vector>
10
11
#ifndef TEST_ARGV_HPP
12
#define TEST_ARGV_HPP
13
14
namespace
Nextsim {
15
// A class to work around the limitations on casting string literals to char*.
16
class
ArgV
{
17
public
:
18
ArgV
(std::vector<std::string> vs);
19
~ArgV
();
20
21
char
** operator()();
22
int
argc();
23
24
private
:
25
int
nStrings;
26
char
** ppc;
27
};
28
29
}
30
31
#endif
/* TEST_ARGV_HPP */
Nextsim::ArgV
Definition
ArgV.hpp:16
core
test
ArgV.hpp
Generated by
1.12.0