14 #ifndef DRCE_RESULT_DATA_HPP
15 #define DRCE_RESULT_DATA_HPP
42 void setErrorMessage(
const std::string& errorMessage_) {errorMessage=errorMessage_;}
51 void setNodeHost(
const std::string& nodeHost_) {nodeHost=nodeHost_;}
54 void setNodePort(
const std::string& nodePort_) {nodePort=nodePort_;}
57 void setState(
unsigned int state_) {state=state_;}
58 unsigned int getState(
void)
const {
return state;}
60 void setPid(
unsigned int pid_) {pid=pid_;}
61 unsigned int getPid(
void)
const {
return pid;}
63 void setStdoutStream(
const std::string& stdoutStream_) {stdoutStream=stdoutStream_;}
66 void setStderrStream(
const std::string& stderrStream_) {stderrStream=stderrStream_;}
69 void setNodeName(
const std::string& nodeName_) {nodeName=nodeName_;}
72 void setTime(
unsigned int time_) {time=time_;}
73 unsigned int getTime(
void)
const {
return time;}
78 void setFields(
const std::map<std::string, std::string>& fields_) {fields=fields_;}
79 const std::map<std::string, std::string>&
getFields(
void)
const {
return fields;}
83 unsigned int errorCode;
84 std::string errorMessage;
85 unsigned int requestId;
91 std::string stdoutStream;
92 std::string stderrStream;
95 unsigned int exitStatus;
96 std::map<std::string, std::string> fields;
114 const std::vector<DRCEResultDataItem>&
getItems(
void)
const {
return items;}
123 std::vector<DRCEResultDataItem> items;
132 #endif // DRCE_RESULT_DATA_HPP