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>())
87 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_):
99 std::map<std::string, std::vector<uint8_t> >
files;
114 ::avro::encode(e, v.
files);
116 ::avro::encode(e, v.
args);
122 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
124 const std::vector<size_t> fo = rd->fieldOrder();
126 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
139 ::avro::decode(d, v.
files);
147 ::avro::decode(d, v.
args);
163 ::avro::decode(d, v.
files);
165 ::avro::decode(d, v.
args);
211 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
213 const std::vector<size_t> fo = rd->fieldOrder();
215 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.