Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |
- Author
- Nils Krumnack
Definition at line 20 of file asg_tools_test_init.cxx.
21{
22 using namespace asg::msgUserCode;
24
25 if (argc < 2)
26 {
28 return -1;
29 }
30
33 {
36 if (
split == std::string::npos)
37 {
38 ANA_MSG_ERROR (
"argument doesn't match name=value syntax: \"" << arg <<
"\"");
39 return -1;
40 }
42 }
45 return 0;
46}
std::vector< std::string > split(const std::string &s, const std::string &t=":")