MCPcopy Create free account
hub / github.com/CompPhysVienna/n2p2 / Example_nnp

Class Example_nnp

test/cpp/Example_nnp.h:6–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "Example.h"
5
6struct Example_nnp : public Example
7{
8 std::string tool;
9 std::string command;
10 std::string args;
11 std::string pathBin;
12 std::string pathData;
13
14 Example_nnp();
15
16 Example_nnp(std::string tool, std::string name) :
17 pathBin("../../../bin"),
18 pathData("../../examples")
19 {
20 this->name = name;
21 this->tool = tool;
22 this->description = std::string("Test example \"")
23 + this->name
24 + "\" with tool \""
25 + this->tool + "\"";
26 this->command = pathBin + "/" + this->tool;
27 this->pathData += "/" + this->tool + "/" + this->name;
28 }
29};
30
31#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected