52 #ifdef CHECK_MEMORY_LEAKS
54 #endif // CHECK_MEMORY_LEAKS
67 std::string& projParameter) {
68 if (!oc.
isSet(
"net")) {
74 throw ProcessError(
"Could not open net-file '" + file +
"'.");
82 if (!parser->parseFirst(file.c_str(), token)) {
87 while (parser->parseNext(token) && !handler.
hasReadAll());
91 throw ProcessError(
"Could not find projection parameter in net.");
103 std::string& projParameter)
105 myOrigNetBoundary(origNetBoundary), myConvNetBoundary(convNetBoundary),
106 myProjParameter(projParameter),
107 myFoundOffset(false), myFoundOrigNetBoundary(false),
108 myFoundConvNetBoundary(false), myFoundProj(false) {}
140 const std::string& chars) {