6 #ifndef __CREATE_PROC_H__ 7 #define __CREATE_PROC_H__ 30 files(std::map<std::string, std::vector<uint8_t> >()),
32 args(std::vector<std::string>()),
33 options(std::map<std::string, std::string>())
95 CreateProcRequest(
const std::string& procName_,
const std::string& executionMode_,
const std::map<std::string, std::vector<uint8_t> >& files_,
const std::string& command_,
const std::vector<std::string>& args_,
const std::map<std::string, std::string>& options_):
107 std::map<std::string, std::vector<uint8_t> >
files;
122 ::avro::encode(e, v.
files);
124 ::avro::encode(e, v.
args);
130 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
132 const std::vector<size_t> fo = rd->fieldOrder();
134 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
147 ::avro::decode(d, v.
files);
155 ::avro::decode(d, v.
args);
171 ::avro::decode(d, v.
files);
173 ::avro::decode(d, v.
args);
219 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
221 const std::vector<size_t> fo = rd->fieldOrder();
223 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
std::map< std::string, std::vector< uint8_t > > files
CreateProcResponse()
Constructs a CreateProcResponse object with default parameter values.
std::vector< std::string > args
CreateProcRequest()
Constructs a CreateProcRequest object with default parameter values.
std::string executionMode
A set of output parameters for createProc(const CreateProcRequest&) const.
CreateProcRequest(const std::string &procName_, const std::string &executionMode_, const std::map< std::string, std::vector< uint8_t > > &files_, const std::string &command_, const std::vector< std::string > &args_, const std::map< std::string, std::string > &options_)
Constructs a CreateProcRequest object with the specified parameters.
std::map< std::string, std::string > options
A set of input parameters for createProc(const CreateProcRequest&) const.