exec_utils.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2016 DNAnexus, Inc.
2 //
3 // This file is part of dx-toolkit (DNAnexus platform client libraries).
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License"); you may
6 // not use this file except in compliance with the License. You may obtain a
7 // copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 // License for the specific language governing permissions and limitations
15 // under the License.
16 
22 #ifndef DXCPP_EXEC_UTILS_H
23 #define DXCPP_EXEC_UTILS_H
24 
25 #include <string>
26 
27 #include "dxjson/dxjson.h"
28 
29 namespace dx {
36  void dxLoadInput(dx::JSON &input);
37 
44  void dxWriteOutput(const dx::JSON &output);
45 
54  void dxReportError(const std::string &message, const bool internal=false);
55 }
56 #endif
An executable object that can be published for others to discover.
Definition: api.cc:7