http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.cpp index 1a756ac..71ad4ea 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -103,9 +103,11 @@ void UserConfigurationDataModel::__set_storageId(const std::string& val) { __isset.storageId = true; } +const char* UserConfigurationDataModel::ascii_fingerprint = "9CA6AB92C690C796BF5375F505933922"; +const uint8_t UserConfigurationDataModel::binary_fingerprint[16] = {0x9C,0xA6,0xAB,0x92,0xC6,0x90,0xC7,0x96,0xBF,0x53,0x75,0xF5,0x05,0x93,0x39,0x22}; + uint32_t UserConfigurationDataModel::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -208,7 +210,7 @@ uint32_t UserConfigurationDataModel::read(::apache::thrift::protocol::TProtocol* uint32_t UserConfigurationDataModel::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("UserConfigurationDataModel"); xfer += oprot->writeFieldBegin("airavataAutoSchedule", ::apache::thrift::protocol::T_BOOL, 1); @@ -251,6 +253,7 @@ uint32_t UserConfigurationDataModel::write(::apache::thrift::protocol::TProtocol } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -290,18 +293,19 @@ UserConfigurationDataModel& UserConfigurationDataModel::operator=(const UserConf __isset = other1.__isset; return *this; } -void UserConfigurationDataModel::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const UserConfigurationDataModel& obj) { + using apache::thrift::to_string; out << "UserConfigurationDataModel("; - out << "airavataAutoSchedule=" << to_string(airavataAutoSchedule); - out << ", " << "overrideManualScheduledParams=" << to_string(overrideManualScheduledParams); - out << ", " << "shareExperimentPublicly="; (__isset.shareExperimentPublicly ? (out << to_string(shareExperimentPublicly)) : (out << "<null>")); - out << ", " << "computationalResourceScheduling="; (__isset.computationalResourceScheduling ? (out << to_string(computationalResourceScheduling)) : (out << "<null>")); - out << ", " << "throttleResources="; (__isset.throttleResources ? (out << to_string(throttleResources)) : (out << "<null>")); - out << ", " << "userDN="; (__isset.userDN ? (out << to_string(userDN)) : (out << "<null>")); - out << ", " << "generateCert="; (__isset.generateCert ? (out << to_string(generateCert)) : (out << "<null>")); - out << ", " << "storageId="; (__isset.storageId ? (out << to_string(storageId)) : (out << "<null>")); + out << "airavataAutoSchedule=" << to_string(obj.airavataAutoSchedule); + out << ", " << "overrideManualScheduledParams=" << to_string(obj.overrideManualScheduledParams); + out << ", " << "shareExperimentPublicly="; (obj.__isset.shareExperimentPublicly ? (out << to_string(obj.shareExperimentPublicly)) : (out << "<null>")); + out << ", " << "computationalResourceScheduling="; (obj.__isset.computationalResourceScheduling ? (out << to_string(obj.computationalResourceScheduling)) : (out << "<null>")); + out << ", " << "throttleResources="; (obj.__isset.throttleResources ? (out << to_string(obj.throttleResources)) : (out << "<null>")); + out << ", " << "userDN="; (obj.__isset.userDN ? (out << to_string(obj.userDN)) : (out << "<null>")); + out << ", " << "generateCert="; (obj.__isset.generateCert ? (out << to_string(obj.generateCert)) : (out << "<null>")); + out << ", " << "storageId="; (obj.__isset.storageId ? (out << to_string(obj.storageId)) : (out << "<null>")); out << ")"; + return out; } @@ -393,9 +397,11 @@ void ExperimentModel::__set_processes(const std::vector< ::apache::airavata::mod __isset.processes = true; } +const char* ExperimentModel::ascii_fingerprint = "24797EBC0AAED86B273BC8D2768E5A7B"; +const uint8_t ExperimentModel::binary_fingerprint[16] = {0x24,0x79,0x7E,0xBC,0x0A,0xAE,0xD8,0x6B,0x27,0x3B,0xC8,0xD2,0x76,0x8E,0x5A,0x7B}; + uint32_t ExperimentModel::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -652,7 +658,7 @@ uint32_t ExperimentModel::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ExperimentModel::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ExperimentModel"); xfer += oprot->writeFieldBegin("experimentId", ::apache::thrift::protocol::T_STRING, 1); @@ -781,6 +787,7 @@ uint32_t ExperimentModel::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -850,28 +857,29 @@ ExperimentModel& ExperimentModel::operator=(const ExperimentModel& other34) { __isset = other34.__isset; return *this; } -void ExperimentModel::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ExperimentModel& obj) { + using apache::thrift::to_string; out << "ExperimentModel("; - out << "experimentId=" << to_string(experimentId); - out << ", " << "projectId=" << to_string(projectId); - out << ", " << "gatewayId=" << to_string(gatewayId); - out << ", " << "experimentType=" << to_string(experimentType); - out << ", " << "userName=" << to_string(userName); - out << ", " << "experimentName=" << to_string(experimentName); - out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>")); - out << ", " << "description="; (__isset.description ? (out << to_string(description)) : (out << "<null>")); - out << ", " << "executionId="; (__isset.executionId ? (out << to_string(executionId)) : (out << "<null>")); - out << ", " << "gatewayExecutionId="; (__isset.gatewayExecutionId ? (out << to_string(gatewayExecutionId)) : (out << "<null>")); - out << ", " << "enableEmailNotification="; (__isset.enableEmailNotification ? (out << to_string(enableEmailNotification)) : (out << "<null>")); - out << ", " << "emailAddresses="; (__isset.emailAddresses ? (out << to_string(emailAddresses)) : (out << "<null>")); - out << ", " << "userConfigurationData="; (__isset.userConfigurationData ? (out << to_string(userConfigurationData)) : (out << "<null>")); - out << ", " << "experimentInputs="; (__isset.experimentInputs ? (out << to_string(experimentInputs)) : (out << "<null>")); - out << ", " << "experimentOutputs="; (__isset.experimentOutputs ? (out << to_string(experimentOutputs)) : (out << "<null>")); - out << ", " << "experimentStatus="; (__isset.experimentStatus ? (out << to_string(experimentStatus)) : (out << "<null>")); - out << ", " << "errors="; (__isset.errors ? (out << to_string(errors)) : (out << "<null>")); - out << ", " << "processes="; (__isset.processes ? (out << to_string(processes)) : (out << "<null>")); + out << "experimentId=" << to_string(obj.experimentId); + out << ", " << "projectId=" << to_string(obj.projectId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); + out << ", " << "experimentType=" << to_string(obj.experimentType); + out << ", " << "userName=" << to_string(obj.userName); + out << ", " << "experimentName=" << to_string(obj.experimentName); + out << ", " << "creationTime="; (obj.__isset.creationTime ? (out << to_string(obj.creationTime)) : (out << "<null>")); + out << ", " << "description="; (obj.__isset.description ? (out << to_string(obj.description)) : (out << "<null>")); + out << ", " << "executionId="; (obj.__isset.executionId ? (out << to_string(obj.executionId)) : (out << "<null>")); + out << ", " << "gatewayExecutionId="; (obj.__isset.gatewayExecutionId ? (out << to_string(obj.gatewayExecutionId)) : (out << "<null>")); + out << ", " << "enableEmailNotification="; (obj.__isset.enableEmailNotification ? (out << to_string(obj.enableEmailNotification)) : (out << "<null>")); + out << ", " << "emailAddresses="; (obj.__isset.emailAddresses ? (out << to_string(obj.emailAddresses)) : (out << "<null>")); + out << ", " << "userConfigurationData="; (obj.__isset.userConfigurationData ? (out << to_string(obj.userConfigurationData)) : (out << "<null>")); + out << ", " << "experimentInputs="; (obj.__isset.experimentInputs ? (out << to_string(obj.experimentInputs)) : (out << "<null>")); + out << ", " << "experimentOutputs="; (obj.__isset.experimentOutputs ? (out << to_string(obj.experimentOutputs)) : (out << "<null>")); + out << ", " << "experimentStatus="; (obj.__isset.experimentStatus ? (out << to_string(obj.experimentStatus)) : (out << "<null>")); + out << ", " << "errors="; (obj.__isset.errors ? (out << to_string(obj.errors)) : (out << "<null>")); + out << ", " << "processes="; (obj.__isset.processes ? (out << to_string(obj.processes)) : (out << "<null>")); out << ")"; + return out; } @@ -929,9 +937,11 @@ void ExperimentSummaryModel::__set_statusUpdateTime(const int64_t val) { __isset.statusUpdateTime = true; } +const char* ExperimentSummaryModel::ascii_fingerprint = "16B269FDA6B229DCFC1FD83A8EF8D961"; +const uint8_t ExperimentSummaryModel::binary_fingerprint[16] = {0x16,0xB2,0x69,0xFD,0xA6,0xB2,0x29,0xDC,0xFC,0x1F,0xD8,0x3A,0x8E,0xF8,0xD9,0x61}; + uint32_t ExperimentSummaryModel::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1067,7 +1077,7 @@ uint32_t ExperimentSummaryModel::read(::apache::thrift::protocol::TProtocol* ipr uint32_t ExperimentSummaryModel::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ExperimentSummaryModel"); xfer += oprot->writeFieldBegin("experimentId", ::apache::thrift::protocol::T_STRING, 1); @@ -1122,6 +1132,7 @@ uint32_t ExperimentSummaryModel::write(::apache::thrift::protocol::TProtocol* op } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1170,21 +1181,22 @@ ExperimentSummaryModel& ExperimentSummaryModel::operator=(const ExperimentSummar __isset = other36.__isset; return *this; } -void ExperimentSummaryModel::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ExperimentSummaryModel& obj) { + using apache::thrift::to_string; out << "ExperimentSummaryModel("; - out << "experimentId=" << to_string(experimentId); - out << ", " << "projectId=" << to_string(projectId); - out << ", " << "gatewayId=" << to_string(gatewayId); - out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>")); - out << ", " << "userName=" << to_string(userName); - out << ", " << "name=" << to_string(name); - out << ", " << "description="; (__isset.description ? (out << to_string(description)) : (out << "<null>")); - out << ", " << "executionId="; (__isset.executionId ? (out << to_string(executionId)) : (out << "<null>")); - out << ", " << "resourceHostId="; (__isset.resourceHostId ? (out << to_string(resourceHostId)) : (out << "<null>")); - out << ", " << "experimentStatus="; (__isset.experimentStatus ? (out << to_string(experimentStatus)) : (out << "<null>")); - out << ", " << "statusUpdateTime="; (__isset.statusUpdateTime ? (out << to_string(statusUpdateTime)) : (out << "<null>")); + out << "experimentId=" << to_string(obj.experimentId); + out << ", " << "projectId=" << to_string(obj.projectId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); + out << ", " << "creationTime="; (obj.__isset.creationTime ? (out << to_string(obj.creationTime)) : (out << "<null>")); + out << ", " << "userName=" << to_string(obj.userName); + out << ", " << "name=" << to_string(obj.name); + out << ", " << "description="; (obj.__isset.description ? (out << to_string(obj.description)) : (out << "<null>")); + out << ", " << "executionId="; (obj.__isset.executionId ? (out << to_string(obj.executionId)) : (out << "<null>")); + out << ", " << "resourceHostId="; (obj.__isset.resourceHostId ? (out << to_string(obj.resourceHostId)) : (out << "<null>")); + out << ", " << "experimentStatus="; (obj.__isset.experimentStatus ? (out << to_string(obj.experimentStatus)) : (out << "<null>")); + out << ", " << "statusUpdateTime="; (obj.__isset.statusUpdateTime ? (out << to_string(obj.statusUpdateTime)) : (out << "<null>")); out << ")"; + return out; } @@ -1246,9 +1258,11 @@ void ExperimentStatistics::__set_runningExperiments(const std::vector<Experiment __isset.runningExperiments = true; } +const char* ExperimentStatistics::ascii_fingerprint = "79CB3C5E2ABF10953FD942125C519FED"; +const uint8_t ExperimentStatistics::binary_fingerprint[16] = {0x79,0xCB,0x3C,0x5E,0x2A,0xBF,0x10,0x95,0x3F,0xD9,0x42,0x12,0x5C,0x51,0x9F,0xED}; + uint32_t ExperimentStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1467,7 +1481,7 @@ uint32_t ExperimentStatistics::read(::apache::thrift::protocol::TProtocol* iprot uint32_t ExperimentStatistics::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ExperimentStatistics"); xfer += oprot->writeFieldBegin("allExperimentCount", ::apache::thrift::protocol::T_I32, 1); @@ -1574,6 +1588,7 @@ uint32_t ExperimentStatistics::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1625,22 +1640,23 @@ ExperimentStatistics& ExperimentStatistics::operator=(const ExperimentStatistics __isset = other74.__isset; return *this; } -void ExperimentStatistics::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ExperimentStatistics& obj) { + using apache::thrift::to_string; out << "ExperimentStatistics("; - out << "allExperimentCount=" << to_string(allExperimentCount); - out << ", " << "completedExperimentCount=" << to_string(completedExperimentCount); - out << ", " << "cancelledExperimentCount="; (__isset.cancelledExperimentCount ? (out << to_string(cancelledExperimentCount)) : (out << "<null>")); - out << ", " << "failedExperimentCount=" << to_string(failedExperimentCount); - out << ", " << "createdExperimentCount=" << to_string(createdExperimentCount); - out << ", " << "runningExperimentCount=" << to_string(runningExperimentCount); - out << ", " << "allExperiments=" << to_string(allExperiments); - out << ", " << "completedExperiments="; (__isset.completedExperiments ? (out << to_string(completedExperiments)) : (out << "<null>")); - out << ", " << "failedExperiments="; (__isset.failedExperiments ? (out << to_string(failedExperiments)) : (out << "<null>")); - out << ", " << "cancelledExperiments="; (__isset.cancelledExperiments ? (out << to_string(cancelledExperiments)) : (out << "<null>")); - out << ", " << "createdExperiments="; (__isset.createdExperiments ? (out << to_string(createdExperiments)) : (out << "<null>")); - out << ", " << "runningExperiments="; (__isset.runningExperiments ? (out << to_string(runningExperiments)) : (out << "<null>")); + out << "allExperimentCount=" << to_string(obj.allExperimentCount); + out << ", " << "completedExperimentCount=" << to_string(obj.completedExperimentCount); + out << ", " << "cancelledExperimentCount="; (obj.__isset.cancelledExperimentCount ? (out << to_string(obj.cancelledExperimentCount)) : (out << "<null>")); + out << ", " << "failedExperimentCount=" << to_string(obj.failedExperimentCount); + out << ", " << "createdExperimentCount=" << to_string(obj.createdExperimentCount); + out << ", " << "runningExperimentCount=" << to_string(obj.runningExperimentCount); + out << ", " << "allExperiments=" << to_string(obj.allExperiments); + out << ", " << "completedExperiments="; (obj.__isset.completedExperiments ? (out << to_string(obj.completedExperiments)) : (out << "<null>")); + out << ", " << "failedExperiments="; (obj.__isset.failedExperiments ? (out << to_string(obj.failedExperiments)) : (out << "<null>")); + out << ", " << "cancelledExperiments="; (obj.__isset.cancelledExperiments ? (out << to_string(obj.cancelledExperiments)) : (out << "<null>")); + out << ", " << "createdExperiments="; (obj.__isset.createdExperiments ? (out << to_string(obj.createdExperiments)) : (out << "<null>")); + out << ", " << "runningExperiments="; (obj.__isset.runningExperiments ? (out << to_string(obj.runningExperiments)) : (out << "<null>")); out << ")"; + return out; } }}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.h index 5b2763b..4849f84 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.h +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experiment_model_types.h @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -85,6 +85,9 @@ typedef struct _UserConfigurationDataModel__isset { class UserConfigurationDataModel { public: + static const char* ascii_fingerprint; // = "9CA6AB92C690C796BF5375F505933922"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0xA6,0xAB,0x92,0xC6,0x90,0xC7,0x96,0xBF,0x53,0x75,0xF5,0x05,0x93,0x39,0x22}; + UserConfigurationDataModel(const UserConfigurationDataModel&); UserConfigurationDataModel& operator=(const UserConfigurationDataModel&); UserConfigurationDataModel() : airavataAutoSchedule(false), overrideManualScheduledParams(false), shareExperimentPublicly(false), throttleResources(false), userDN(), generateCert(false), storageId() { @@ -159,17 +162,11 @@ class UserConfigurationDataModel { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const UserConfigurationDataModel& obj); }; void swap(UserConfigurationDataModel &a, UserConfigurationDataModel &b); -inline std::ostream& operator<<(std::ostream& out, const UserConfigurationDataModel& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _ExperimentModel__isset { _ExperimentModel__isset() : creationTime(false), description(false), executionId(false), gatewayExecutionId(false), enableEmailNotification(false), emailAddresses(false), userConfigurationData(false), experimentInputs(false), experimentOutputs(false), experimentStatus(false), errors(false), processes(false) {} bool creationTime :1; @@ -189,6 +186,9 @@ typedef struct _ExperimentModel__isset { class ExperimentModel { public: + static const char* ascii_fingerprint; // = "24797EBC0AAED86B273BC8D2768E5A7B"; + static const uint8_t binary_fingerprint[16]; // = {0x24,0x79,0x7E,0xBC,0x0A,0xAE,0xD8,0x6B,0x27,0x3B,0xC8,0xD2,0x76,0x8E,0x5A,0x7B}; + ExperimentModel(const ExperimentModel&); ExperimentModel& operator=(const ExperimentModel&); ExperimentModel() : experimentId("DO_NOT_SET_AT_CLIENTS"), projectId(), gatewayId(), experimentType((ExperimentType::type)0), userName(), experimentName(), creationTime(0), description(), executionId(), gatewayExecutionId(), enableEmailNotification(0) { @@ -327,17 +327,11 @@ class ExperimentModel { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const ExperimentModel& obj); }; void swap(ExperimentModel &a, ExperimentModel &b); -inline std::ostream& operator<<(std::ostream& out, const ExperimentModel& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _ExperimentSummaryModel__isset { _ExperimentSummaryModel__isset() : creationTime(false), description(false), executionId(false), resourceHostId(false), experimentStatus(false), statusUpdateTime(false) {} bool creationTime :1; @@ -351,6 +345,9 @@ typedef struct _ExperimentSummaryModel__isset { class ExperimentSummaryModel { public: + static const char* ascii_fingerprint; // = "16B269FDA6B229DCFC1FD83A8EF8D961"; + static const uint8_t binary_fingerprint[16]; // = {0x16,0xB2,0x69,0xFD,0xA6,0xB2,0x29,0xDC,0xFC,0x1F,0xD8,0x3A,0x8E,0xF8,0xD9,0x61}; + ExperimentSummaryModel(const ExperimentSummaryModel&); ExperimentSummaryModel& operator=(const ExperimentSummaryModel&); ExperimentSummaryModel() : experimentId(), projectId(), gatewayId(), creationTime(0), userName(), name(), description(), executionId(), resourceHostId(), experimentStatus(), statusUpdateTime(0) { @@ -440,17 +437,11 @@ class ExperimentSummaryModel { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const ExperimentSummaryModel& obj); }; void swap(ExperimentSummaryModel &a, ExperimentSummaryModel &b); -inline std::ostream& operator<<(std::ostream& out, const ExperimentSummaryModel& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _ExperimentStatistics__isset { _ExperimentStatistics__isset() : cancelledExperimentCount(false), completedExperiments(false), failedExperiments(false), cancelledExperiments(false), createdExperiments(false), runningExperiments(false) {} bool cancelledExperimentCount :1; @@ -464,6 +455,9 @@ typedef struct _ExperimentStatistics__isset { class ExperimentStatistics { public: + static const char* ascii_fingerprint; // = "79CB3C5E2ABF10953FD942125C519FED"; + static const uint8_t binary_fingerprint[16]; // = {0x79,0xCB,0x3C,0x5E,0x2A,0xBF,0x10,0x95,0x3F,0xD9,0x42,0x12,0x5C,0x51,0x9F,0xED}; + ExperimentStatistics(const ExperimentStatistics&); ExperimentStatistics& operator=(const ExperimentStatistics&); ExperimentStatistics() : allExperimentCount(0), completedExperimentCount(0), cancelledExperimentCount(0), failedExperimentCount(0), createdExperimentCount(0), runningExperimentCount(0) { @@ -558,17 +552,11 @@ class ExperimentStatistics { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const ExperimentStatistics& obj); }; void swap(ExperimentStatistics &a, ExperimentStatistics &b); -inline std::ostream& operator<<(std::ostream& out, const ExperimentStatistics& obj) -{ - obj.printTo(out); - return out; -} - }}}} // namespace #endif http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.cpp index fc855c1..13ec2e5 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.h index 728ed11..4921247 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.h +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_constants.h @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.cpp index b395c16..f85a2d8 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -78,9 +78,11 @@ void ComputeResourcePreference::__set_resourceSpecificCredentialStoreToken(const __isset.resourceSpecificCredentialStoreToken = true; } +const char* ComputeResourcePreference::ascii_fingerprint = "294547CFB0912EC49097370EC1C66E41"; +const uint8_t ComputeResourcePreference::binary_fingerprint[16] = {0x29,0x45,0x47,0xCF,0xB0,0x91,0x2E,0xC4,0x90,0x97,0x37,0x0E,0xC1,0xC6,0x6E,0x41}; + uint32_t ComputeResourcePreference::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -195,7 +197,7 @@ uint32_t ComputeResourcePreference::read(::apache::thrift::protocol::TProtocol* uint32_t ComputeResourcePreference::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ComputeResourcePreference"); xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 1); @@ -243,6 +245,7 @@ uint32_t ComputeResourcePreference::write(::apache::thrift::protocol::TProtocol* } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -285,19 +288,20 @@ ComputeResourcePreference& ComputeResourcePreference::operator=(const ComputeRes __isset = other3.__isset; return *this; } -void ComputeResourcePreference::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ComputeResourcePreference& obj) { + using apache::thrift::to_string; out << "ComputeResourcePreference("; - out << "computeResourceId=" << to_string(computeResourceId); - out << ", " << "overridebyAiravata=" << to_string(overridebyAiravata); - out << ", " << "loginUserName="; (__isset.loginUserName ? (out << to_string(loginUserName)) : (out << "<null>")); - out << ", " << "preferredJobSubmissionProtocol="; (__isset.preferredJobSubmissionProtocol ? (out << to_string(preferredJobSubmissionProtocol)) : (out << "<null>")); - out << ", " << "preferredDataMovementProtocol="; (__isset.preferredDataMovementProtocol ? (out << to_string(preferredDataMovementProtocol)) : (out << "<null>")); - out << ", " << "preferredBatchQueue="; (__isset.preferredBatchQueue ? (out << to_string(preferredBatchQueue)) : (out << "<null>")); - out << ", " << "scratchLocation="; (__isset.scratchLocation ? (out << to_string(scratchLocation)) : (out << "<null>")); - out << ", " << "allocationProjectNumber="; (__isset.allocationProjectNumber ? (out << to_string(allocationProjectNumber)) : (out << "<null>")); - out << ", " << "resourceSpecificCredentialStoreToken="; (__isset.resourceSpecificCredentialStoreToken ? (out << to_string(resourceSpecificCredentialStoreToken)) : (out << "<null>")); + out << "computeResourceId=" << to_string(obj.computeResourceId); + out << ", " << "overridebyAiravata=" << to_string(obj.overridebyAiravata); + out << ", " << "loginUserName="; (obj.__isset.loginUserName ? (out << to_string(obj.loginUserName)) : (out << "<null>")); + out << ", " << "preferredJobSubmissionProtocol="; (obj.__isset.preferredJobSubmissionProtocol ? (out << to_string(obj.preferredJobSubmissionProtocol)) : (out << "<null>")); + out << ", " << "preferredDataMovementProtocol="; (obj.__isset.preferredDataMovementProtocol ? (out << to_string(obj.preferredDataMovementProtocol)) : (out << "<null>")); + out << ", " << "preferredBatchQueue="; (obj.__isset.preferredBatchQueue ? (out << to_string(obj.preferredBatchQueue)) : (out << "<null>")); + out << ", " << "scratchLocation="; (obj.__isset.scratchLocation ? (out << to_string(obj.scratchLocation)) : (out << "<null>")); + out << ", " << "allocationProjectNumber="; (obj.__isset.allocationProjectNumber ? (out << to_string(obj.allocationProjectNumber)) : (out << "<null>")); + out << ", " << "resourceSpecificCredentialStoreToken="; (obj.__isset.resourceSpecificCredentialStoreToken ? (out << to_string(obj.resourceSpecificCredentialStoreToken)) : (out << "<null>")); out << ")"; + return out; } @@ -324,9 +328,11 @@ void StoragePreference::__set_resourceSpecificCredentialStoreToken(const std::st __isset.resourceSpecificCredentialStoreToken = true; } +const char* StoragePreference::ascii_fingerprint = "6BA700CA2E5FC52A8DA5ADCF811DC8DA"; +const uint8_t StoragePreference::binary_fingerprint[16] = {0x6B,0xA7,0x00,0xCA,0x2E,0x5F,0xC5,0x2A,0x8D,0xA5,0xAD,0xCF,0x81,0x1D,0xC8,0xDA}; + uint32_t StoragePreference::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -394,7 +400,7 @@ uint32_t StoragePreference::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t StoragePreference::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("StoragePreference"); xfer += oprot->writeFieldBegin("storageResourceId", ::apache::thrift::protocol::T_STRING, 1); @@ -418,6 +424,7 @@ uint32_t StoragePreference::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -445,14 +452,15 @@ StoragePreference& StoragePreference::operator=(const StoragePreference& other5) __isset = other5.__isset; return *this; } -void StoragePreference::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const StoragePreference& obj) { + using apache::thrift::to_string; out << "StoragePreference("; - out << "storageResourceId=" << to_string(storageResourceId); - out << ", " << "loginUserName="; (__isset.loginUserName ? (out << to_string(loginUserName)) : (out << "<null>")); - out << ", " << "fileSystemRootLocation="; (__isset.fileSystemRootLocation ? (out << to_string(fileSystemRootLocation)) : (out << "<null>")); - out << ", " << "resourceSpecificCredentialStoreToken="; (__isset.resourceSpecificCredentialStoreToken ? (out << to_string(resourceSpecificCredentialStoreToken)) : (out << "<null>")); + out << "storageResourceId=" << to_string(obj.storageResourceId); + out << ", " << "loginUserName="; (obj.__isset.loginUserName ? (out << to_string(obj.loginUserName)) : (out << "<null>")); + out << ", " << "fileSystemRootLocation="; (obj.__isset.fileSystemRootLocation ? (out << to_string(obj.fileSystemRootLocation)) : (out << "<null>")); + out << ", " << "resourceSpecificCredentialStoreToken="; (obj.__isset.resourceSpecificCredentialStoreToken ? (out << to_string(obj.resourceSpecificCredentialStoreToken)) : (out << "<null>")); out << ")"; + return out; } @@ -479,9 +487,11 @@ void GatewayResourceProfile::__set_storagePreferences(const std::vector<StorageP __isset.storagePreferences = true; } +const char* GatewayResourceProfile::ascii_fingerprint = "A4BF6D60A7DE5979505C0E7F00278F12"; +const uint8_t GatewayResourceProfile::binary_fingerprint[16] = {0xA4,0xBF,0x6D,0x60,0xA7,0xDE,0x59,0x79,0x50,0x5C,0x0E,0x7F,0x00,0x27,0x8F,0x12}; + uint32_t GatewayResourceProfile::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -573,7 +583,7 @@ uint32_t GatewayResourceProfile::read(::apache::thrift::protocol::TProtocol* ipr uint32_t GatewayResourceProfile::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GatewayResourceProfile"); xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 1); @@ -613,6 +623,7 @@ uint32_t GatewayResourceProfile::write(::apache::thrift::protocol::TProtocol* op } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -640,14 +651,15 @@ GatewayResourceProfile& GatewayResourceProfile::operator=(const GatewayResourceP __isset = other19.__isset; return *this; } -void GatewayResourceProfile::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const GatewayResourceProfile& obj) { + using apache::thrift::to_string; out << "GatewayResourceProfile("; - out << "gatewayID=" << to_string(gatewayID); - out << ", " << "credentialStoreToken="; (__isset.credentialStoreToken ? (out << to_string(credentialStoreToken)) : (out << "<null>")); - out << ", " << "computeResourcePreferences="; (__isset.computeResourcePreferences ? (out << to_string(computeResourcePreferences)) : (out << "<null>")); - out << ", " << "storagePreferences="; (__isset.storagePreferences ? (out << to_string(storagePreferences)) : (out << "<null>")); + out << "gatewayID=" << to_string(obj.gatewayID); + out << ", " << "credentialStoreToken="; (obj.__isset.credentialStoreToken ? (out << to_string(obj.credentialStoreToken)) : (out << "<null>")); + out << ", " << "computeResourcePreferences="; (obj.__isset.computeResourcePreferences ? (out << to_string(obj.computeResourcePreferences)) : (out << "<null>")); + out << ", " << "storagePreferences="; (obj.__isset.storagePreferences ? (out << to_string(obj.storagePreferences)) : (out << "<null>")); out << ")"; + return out; } }}}}} // namespace http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.h index cd52776..5437690 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.h +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gateway_resource_profile_model_types.h @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -58,6 +58,9 @@ typedef struct _ComputeResourcePreference__isset { class ComputeResourcePreference { public: + static const char* ascii_fingerprint; // = "294547CFB0912EC49097370EC1C66E41"; + static const uint8_t binary_fingerprint[16]; // = {0x29,0x45,0x47,0xCF,0xB0,0x91,0x2E,0xC4,0x90,0x97,0x37,0x0E,0xC1,0xC6,0x6E,0x41}; + ComputeResourcePreference(const ComputeResourcePreference&); ComputeResourcePreference& operator=(const ComputeResourcePreference&); ComputeResourcePreference() : computeResourceId(), overridebyAiravata(true), loginUserName(), preferredJobSubmissionProtocol(( ::apache::airavata::model::appcatalog::computeresource::JobSubmissionProtocol::type)0), preferredDataMovementProtocol(( ::apache::airavata::model::data::movement::DataMovementProtocol::type)0), preferredBatchQueue(), scratchLocation(), allocationProjectNumber(), resourceSpecificCredentialStoreToken() { @@ -139,17 +142,11 @@ class ComputeResourcePreference { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const ComputeResourcePreference& obj); }; void swap(ComputeResourcePreference &a, ComputeResourcePreference &b); -inline std::ostream& operator<<(std::ostream& out, const ComputeResourcePreference& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _StoragePreference__isset { _StoragePreference__isset() : loginUserName(false), fileSystemRootLocation(false), resourceSpecificCredentialStoreToken(false) {} bool loginUserName :1; @@ -160,6 +157,9 @@ typedef struct _StoragePreference__isset { class StoragePreference { public: + static const char* ascii_fingerprint; // = "6BA700CA2E5FC52A8DA5ADCF811DC8DA"; + static const uint8_t binary_fingerprint[16]; // = {0x6B,0xA7,0x00,0xCA,0x2E,0x5F,0xC5,0x2A,0x8D,0xA5,0xAD,0xCF,0x81,0x1D,0xC8,0xDA}; + StoragePreference(const StoragePreference&); StoragePreference& operator=(const StoragePreference&); StoragePreference() : storageResourceId(), loginUserName(), fileSystemRootLocation(), resourceSpecificCredentialStoreToken() { @@ -208,17 +208,11 @@ class StoragePreference { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const StoragePreference& obj); }; void swap(StoragePreference &a, StoragePreference &b); -inline std::ostream& operator<<(std::ostream& out, const StoragePreference& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _GatewayResourceProfile__isset { _GatewayResourceProfile__isset() : credentialStoreToken(false), computeResourcePreferences(false), storagePreferences(false) {} bool credentialStoreToken :1; @@ -229,6 +223,9 @@ typedef struct _GatewayResourceProfile__isset { class GatewayResourceProfile { public: + static const char* ascii_fingerprint; // = "A4BF6D60A7DE5979505C0E7F00278F12"; + static const uint8_t binary_fingerprint[16]; // = {0xA4,0xBF,0x6D,0x60,0xA7,0xDE,0x59,0x79,0x50,0x5C,0x0E,0x7F,0x00,0x27,0x8F,0x12}; + GatewayResourceProfile(const GatewayResourceProfile&); GatewayResourceProfile& operator=(const GatewayResourceProfile&); GatewayResourceProfile() : gatewayID(), credentialStoreToken() { @@ -277,17 +274,11 @@ class GatewayResourceProfile { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const GatewayResourceProfile& obj); }; void swap(GatewayResourceProfile &a, GatewayResourceProfile &b); -inline std::ostream& operator<<(std::ostream& out, const GatewayResourceProfile& obj) -{ - obj.printTo(out); - return out; -} - }}}}} // namespace #endif http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.cpp index e560265..1bf85fd 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.h index 3b9367f..68cc49e 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.h +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_constants.h @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.cpp index 50bdd6d..07c6f41 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -91,9 +91,11 @@ void JobModel::__set_exitCode(const int32_t val) { __isset.exitCode = true; } +const char* JobModel::ascii_fingerprint = "EFFF4955898CBB369996B994565E85FE"; +const uint8_t JobModel::binary_fingerprint[16] = {0xEF,0xFF,0x49,0x55,0x89,0x8C,0xBB,0x36,0x99,0x96,0xB9,0x94,0x56,0x5E,0x85,0xFE}; + uint32_t JobModel::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -234,7 +236,7 @@ uint32_t JobModel::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t JobModel::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("JobModel"); xfer += oprot->writeFieldBegin("jobId", ::apache::thrift::protocol::T_STRING, 1); @@ -295,6 +297,7 @@ uint32_t JobModel::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -346,22 +349,23 @@ JobModel& JobModel::operator=(const JobModel& other1) { __isset = other1.__isset; return *this; } -void JobModel::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const JobModel& obj) { + using apache::thrift::to_string; out << "JobModel("; - out << "jobId=" << to_string(jobId); - out << ", " << "taskId=" << to_string(taskId); - out << ", " << "processId=" << to_string(processId); - out << ", " << "jobDescription=" << to_string(jobDescription); - out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>")); - out << ", " << "jobStatus="; (__isset.jobStatus ? (out << to_string(jobStatus)) : (out << "<null>")); - out << ", " << "computeResourceConsumed="; (__isset.computeResourceConsumed ? (out << to_string(computeResourceConsumed)) : (out << "<null>")); - out << ", " << "jobName="; (__isset.jobName ? (out << to_string(jobName)) : (out << "<null>")); - out << ", " << "workingDir="; (__isset.workingDir ? (out << to_string(workingDir)) : (out << "<null>")); - out << ", " << "stdOut="; (__isset.stdOut ? (out << to_string(stdOut)) : (out << "<null>")); - out << ", " << "stdErr="; (__isset.stdErr ? (out << to_string(stdErr)) : (out << "<null>")); - out << ", " << "exitCode="; (__isset.exitCode ? (out << to_string(exitCode)) : (out << "<null>")); + out << "jobId=" << to_string(obj.jobId); + out << ", " << "taskId=" << to_string(obj.taskId); + out << ", " << "processId=" << to_string(obj.processId); + out << ", " << "jobDescription=" << to_string(obj.jobDescription); + out << ", " << "creationTime="; (obj.__isset.creationTime ? (out << to_string(obj.creationTime)) : (out << "<null>")); + out << ", " << "jobStatus="; (obj.__isset.jobStatus ? (out << to_string(obj.jobStatus)) : (out << "<null>")); + out << ", " << "computeResourceConsumed="; (obj.__isset.computeResourceConsumed ? (out << to_string(obj.computeResourceConsumed)) : (out << "<null>")); + out << ", " << "jobName="; (obj.__isset.jobName ? (out << to_string(obj.jobName)) : (out << "<null>")); + out << ", " << "workingDir="; (obj.__isset.workingDir ? (out << to_string(obj.workingDir)) : (out << "<null>")); + out << ", " << "stdOut="; (obj.__isset.stdOut ? (out << to_string(obj.stdOut)) : (out << "<null>")); + out << ", " << "stdErr="; (obj.__isset.stdErr ? (out << to_string(obj.stdErr)) : (out << "<null>")); + out << ", " << "exitCode="; (obj.__isset.exitCode ? (out << to_string(obj.exitCode)) : (out << "<null>")); out << ")"; + return out; } }}}} // namespace http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.h index 6b98e32..33970ed 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.h +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/job_model_types.h @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -54,6 +54,9 @@ typedef struct _JobModel__isset { class JobModel { public: + static const char* ascii_fingerprint; // = "EFFF4955898CBB369996B994565E85FE"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xFF,0x49,0x55,0x89,0x8C,0xBB,0x36,0x99,0x96,0xB9,0x94,0x56,0x5E,0x85,0xFE}; + JobModel(const JobModel&); JobModel& operator=(const JobModel&); JobModel() : jobId(), taskId(), processId(), jobDescription(), creationTime(0), computeResourceConsumed(), jobName(), workingDir(), stdOut(), stdErr(), exitCode(0) { @@ -152,17 +155,11 @@ class JobModel { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - virtual void printTo(std::ostream& out) const; + friend std::ostream& operator<<(std::ostream& out, const JobModel& obj); }; void swap(JobModel &a, JobModel &b); -inline std::ostream& operator<<(std::ostream& out, const JobModel& obj) -{ - obj.printTo(out); - return out; -} - }}}} // namespace #endif http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.cpp index cb58c9d..c943064 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.h index 223ad07..58802f8 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.h +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_constants.h @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_types.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_types.cpp index 8317b71..81266d3 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_types.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/messaging_events_types.cpp @@ -16,7 +16,7 @@ */ /** - * Autogenerated by Thrift Compiler (0.9.3) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -81,9 +81,11 @@ void ExperimentStatusChangeEvent::__set_gatewayId(const std::string& val) { this->gatewayId = val; } +const char* ExperimentStatusChangeEvent::ascii_fingerprint = "38C252E94E93B69D04EB3A6EE2F9EDFB"; +const uint8_t ExperimentStatusChangeEvent::binary_fingerprint[16] = {0x38,0xC2,0x52,0xE9,0x4E,0x93,0xB6,0x9D,0x04,0xEB,0x3A,0x6E,0xE2,0xF9,0xED,0xFB}; + uint32_t ExperimentStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -151,7 +153,7 @@ uint32_t ExperimentStatusChangeEvent::read(::apache::thrift::protocol::TProtocol uint32_t ExperimentStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ExperimentStatusChangeEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -168,6 +170,7 @@ uint32_t ExperimentStatusChangeEvent::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -189,13 +192,14 @@ ExperimentStatusChangeEvent& ExperimentStatusChangeEvent::operator=(const Experi gatewayId = other2.gatewayId; return *this; } -void ExperimentStatusChangeEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ExperimentStatusChangeEvent& obj) { + using apache::thrift::to_string; out << "ExperimentStatusChangeEvent("; - out << "state=" << to_string(state); - out << ", " << "experimentId=" << to_string(experimentId); - out << ", " << "gatewayId=" << to_string(gatewayId); + out << "state=" << to_string(obj.state); + out << ", " << "experimentId=" << to_string(obj.experimentId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); out << ")"; + return out; } @@ -215,9 +219,11 @@ void ProcessIdentifier::__set_gatewayId(const std::string& val) { this->gatewayId = val; } +const char* ProcessIdentifier::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271"; +const uint8_t ProcessIdentifier::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + uint32_t ProcessIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -283,7 +289,7 @@ uint32_t ProcessIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ProcessIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ProcessIdentifier"); xfer += oprot->writeFieldBegin("processId", ::apache::thrift::protocol::T_STRING, 1); @@ -300,6 +306,7 @@ uint32_t ProcessIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -321,13 +328,14 @@ ProcessIdentifier& ProcessIdentifier::operator=(const ProcessIdentifier& other4) gatewayId = other4.gatewayId; return *this; } -void ProcessIdentifier::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ProcessIdentifier& obj) { + using apache::thrift::to_string; out << "ProcessIdentifier("; - out << "processId=" << to_string(processId); - out << ", " << "experimentId=" << to_string(experimentId); - out << ", " << "gatewayId=" << to_string(gatewayId); + out << "processId=" << to_string(obj.processId); + out << ", " << "experimentId=" << to_string(obj.experimentId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); out << ")"; + return out; } @@ -351,9 +359,11 @@ void TaskIdentifier::__set_gatewayId(const std::string& val) { this->gatewayId = val; } +const char* TaskIdentifier::ascii_fingerprint = "C93D890311F28844166CF6E571EB3AC2"; +const uint8_t TaskIdentifier::binary_fingerprint[16] = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; + uint32_t TaskIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -430,7 +440,7 @@ uint32_t TaskIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TaskIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TaskIdentifier"); xfer += oprot->writeFieldBegin("taskId", ::apache::thrift::protocol::T_STRING, 1); @@ -451,6 +461,7 @@ uint32_t TaskIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -475,14 +486,15 @@ TaskIdentifier& TaskIdentifier::operator=(const TaskIdentifier& other6) { gatewayId = other6.gatewayId; return *this; } -void TaskIdentifier::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const TaskIdentifier& obj) { + using apache::thrift::to_string; out << "TaskIdentifier("; - out << "taskId=" << to_string(taskId); - out << ", " << "processId=" << to_string(processId); - out << ", " << "experimentId=" << to_string(experimentId); - out << ", " << "gatewayId=" << to_string(gatewayId); + out << "taskId=" << to_string(obj.taskId); + out << ", " << "processId=" << to_string(obj.processId); + out << ", " << "experimentId=" << to_string(obj.experimentId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); out << ")"; + return out; } @@ -498,9 +510,11 @@ void TaskStatusChangeEvent::__set_taskIdentity(const TaskIdentifier& val) { this->taskIdentity = val; } +const char* TaskStatusChangeEvent::ascii_fingerprint = "8D18A3CD1822DBC67D7BD8CB98E7B4F1"; +const uint8_t TaskStatusChangeEvent::binary_fingerprint[16] = {0x8D,0x18,0xA3,0xCD,0x18,0x22,0xDB,0xC6,0x7D,0x7B,0xD8,0xCB,0x98,0xE7,0xB4,0xF1}; + uint32_t TaskStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -557,7 +571,7 @@ uint32_t TaskStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* ipro uint32_t TaskStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TaskStatusChangeEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -570,6 +584,7 @@ uint32_t TaskStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -588,12 +603,13 @@ TaskStatusChangeEvent& TaskStatusChangeEvent::operator=(const TaskStatusChangeEv taskIdentity = other9.taskIdentity; return *this; } -void TaskStatusChangeEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const TaskStatusChangeEvent& obj) { + using apache::thrift::to_string; out << "TaskStatusChangeEvent("; - out << "state=" << to_string(state); - out << ", " << "taskIdentity=" << to_string(taskIdentity); + out << "state=" << to_string(obj.state); + out << ", " << "taskIdentity=" << to_string(obj.taskIdentity); out << ")"; + return out; } @@ -609,9 +625,11 @@ void TaskStatusChangeRequestEvent::__set_taskIdentity(const TaskIdentifier& val) this->taskIdentity = val; } +const char* TaskStatusChangeRequestEvent::ascii_fingerprint = "8D18A3CD1822DBC67D7BD8CB98E7B4F1"; +const uint8_t TaskStatusChangeRequestEvent::binary_fingerprint[16] = {0x8D,0x18,0xA3,0xCD,0x18,0x22,0xDB,0xC6,0x7D,0x7B,0xD8,0xCB,0x98,0xE7,0xB4,0xF1}; + uint32_t TaskStatusChangeRequestEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -668,7 +686,7 @@ uint32_t TaskStatusChangeRequestEvent::read(::apache::thrift::protocol::TProtoco uint32_t TaskStatusChangeRequestEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TaskStatusChangeRequestEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -681,6 +699,7 @@ uint32_t TaskStatusChangeRequestEvent::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -699,12 +718,13 @@ TaskStatusChangeRequestEvent& TaskStatusChangeRequestEvent::operator=(const Task taskIdentity = other12.taskIdentity; return *this; } -void TaskStatusChangeRequestEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const TaskStatusChangeRequestEvent& obj) { + using apache::thrift::to_string; out << "TaskStatusChangeRequestEvent("; - out << "state=" << to_string(state); - out << ", " << "taskIdentity=" << to_string(taskIdentity); + out << "state=" << to_string(obj.state); + out << ", " << "taskIdentity=" << to_string(obj.taskIdentity); out << ")"; + return out; } @@ -720,9 +740,11 @@ void ProcessStatusChangeEvent::__set_processIdentity(const ProcessIdentifier& va this->processIdentity = val; } +const char* ProcessStatusChangeEvent::ascii_fingerprint = "9686679C94D43D75F2B35A0BED2E4003"; +const uint8_t ProcessStatusChangeEvent::binary_fingerprint[16] = {0x96,0x86,0x67,0x9C,0x94,0xD4,0x3D,0x75,0xF2,0xB3,0x5A,0x0B,0xED,0x2E,0x40,0x03}; + uint32_t ProcessStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -779,7 +801,7 @@ uint32_t ProcessStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* i uint32_t ProcessStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ProcessStatusChangeEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -792,6 +814,7 @@ uint32_t ProcessStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -810,12 +833,13 @@ ProcessStatusChangeEvent& ProcessStatusChangeEvent::operator=(const ProcessStatu processIdentity = other15.processIdentity; return *this; } -void ProcessStatusChangeEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ProcessStatusChangeEvent& obj) { + using apache::thrift::to_string; out << "ProcessStatusChangeEvent("; - out << "state=" << to_string(state); - out << ", " << "processIdentity=" << to_string(processIdentity); + out << "state=" << to_string(obj.state); + out << ", " << "processIdentity=" << to_string(obj.processIdentity); out << ")"; + return out; } @@ -831,9 +855,11 @@ void ProcessStatusChangeRequestEvent::__set_processIdentity(const ProcessIdentif this->processIdentity = val; } +const char* ProcessStatusChangeRequestEvent::ascii_fingerprint = "9686679C94D43D75F2B35A0BED2E4003"; +const uint8_t ProcessStatusChangeRequestEvent::binary_fingerprint[16] = {0x96,0x86,0x67,0x9C,0x94,0xD4,0x3D,0x75,0xF2,0xB3,0x5A,0x0B,0xED,0x2E,0x40,0x03}; + uint32_t ProcessStatusChangeRequestEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -890,7 +916,7 @@ uint32_t ProcessStatusChangeRequestEvent::read(::apache::thrift::protocol::TProt uint32_t ProcessStatusChangeRequestEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ProcessStatusChangeRequestEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -903,6 +929,7 @@ uint32_t ProcessStatusChangeRequestEvent::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -921,12 +948,13 @@ ProcessStatusChangeRequestEvent& ProcessStatusChangeRequestEvent::operator=(cons processIdentity = other18.processIdentity; return *this; } -void ProcessStatusChangeRequestEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ProcessStatusChangeRequestEvent& obj) { + using apache::thrift::to_string; out << "ProcessStatusChangeRequestEvent("; - out << "state=" << to_string(state); - out << ", " << "processIdentity=" << to_string(processIdentity); + out << "state=" << to_string(obj.state); + out << ", " << "processIdentity=" << to_string(obj.processIdentity); out << ")"; + return out; } @@ -942,9 +970,11 @@ void TaskOutputChangeEvent::__set_taskIdentity(const TaskIdentifier& val) { this->taskIdentity = val; } +const char* TaskOutputChangeEvent::ascii_fingerprint = "F6BCBBEBA795DA1C58927D3662D702D3"; +const uint8_t TaskOutputChangeEvent::binary_fingerprint[16] = {0xF6,0xBC,0xBB,0xEB,0xA7,0x95,0xDA,0x1C,0x58,0x92,0x7D,0x36,0x62,0xD7,0x02,0xD3}; + uint32_t TaskOutputChangeEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1011,7 +1041,7 @@ uint32_t TaskOutputChangeEvent::read(::apache::thrift::protocol::TProtocol* ipro uint32_t TaskOutputChangeEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TaskOutputChangeEvent"); xfer += oprot->writeFieldBegin("output", ::apache::thrift::protocol::T_LIST, 1); @@ -1032,6 +1062,7 @@ uint32_t TaskOutputChangeEvent::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1050,12 +1081,13 @@ TaskOutputChangeEvent& TaskOutputChangeEvent::operator=(const TaskOutputChangeEv taskIdentity = other26.taskIdentity; return *this; } -void TaskOutputChangeEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const TaskOutputChangeEvent& obj) { + using apache::thrift::to_string; out << "TaskOutputChangeEvent("; - out << "output=" << to_string(output); - out << ", " << "taskIdentity=" << to_string(taskIdentity); + out << "output=" << to_string(obj.output); + out << ", " << "taskIdentity=" << to_string(obj.taskIdentity); out << ")"; + return out; } @@ -1083,9 +1115,11 @@ void JobIdentifier::__set_gatewayId(const std::string& val) { this->gatewayId = val; } +const char* JobIdentifier::ascii_fingerprint = "BFF0E21728CB005F9AA5774A41542B8D"; +const uint8_t JobIdentifier::binary_fingerprint[16] = {0xBF,0xF0,0xE2,0x17,0x28,0xCB,0x00,0x5F,0x9A,0xA5,0x77,0x4A,0x41,0x54,0x2B,0x8D}; + uint32_t JobIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1173,7 +1207,7 @@ uint32_t JobIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t JobIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("JobIdentifier"); xfer += oprot->writeFieldBegin("jobId", ::apache::thrift::protocol::T_STRING, 1); @@ -1198,6 +1232,7 @@ uint32_t JobIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1225,15 +1260,16 @@ JobIdentifier& JobIdentifier::operator=(const JobIdentifier& other28) { gatewayId = other28.gatewayId; return *this; } -void JobIdentifier::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const JobIdentifier& obj) { + using apache::thrift::to_string; out << "JobIdentifier("; - out << "jobId=" << to_string(jobId); - out << ", " << "taskId=" << to_string(taskId); - out << ", " << "processId=" << to_string(processId); - out << ", " << "experimentId=" << to_string(experimentId); - out << ", " << "gatewayId=" << to_string(gatewayId); + out << "jobId=" << to_string(obj.jobId); + out << ", " << "taskId=" << to_string(obj.taskId); + out << ", " << "processId=" << to_string(obj.processId); + out << ", " << "experimentId=" << to_string(obj.experimentId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); out << ")"; + return out; } @@ -1257,9 +1293,11 @@ void ProcessSubmitEvent::__set_tokenId(const std::string& val) { this->tokenId = val; } +const char* ProcessSubmitEvent::ascii_fingerprint = "C93D890311F28844166CF6E571EB3AC2"; +const uint8_t ProcessSubmitEvent::binary_fingerprint[16] = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; + uint32_t ProcessSubmitEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1336,7 +1374,7 @@ uint32_t ProcessSubmitEvent::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ProcessSubmitEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ProcessSubmitEvent"); xfer += oprot->writeFieldBegin("processId", ::apache::thrift::protocol::T_STRING, 1); @@ -1357,6 +1395,7 @@ uint32_t ProcessSubmitEvent::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1381,14 +1420,15 @@ ProcessSubmitEvent& ProcessSubmitEvent::operator=(const ProcessSubmitEvent& othe tokenId = other30.tokenId; return *this; } -void ProcessSubmitEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ProcessSubmitEvent& obj) { + using apache::thrift::to_string; out << "ProcessSubmitEvent("; - out << "processId=" << to_string(processId); - out << ", " << "gatewayId=" << to_string(gatewayId); - out << ", " << "experimentId=" << to_string(experimentId); - out << ", " << "tokenId=" << to_string(tokenId); + out << "processId=" << to_string(obj.processId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); + out << ", " << "experimentId=" << to_string(obj.experimentId); + out << ", " << "tokenId=" << to_string(obj.tokenId); out << ")"; + return out; } @@ -1408,9 +1448,11 @@ void ProcessTerminateEvent::__set_tokenId(const std::string& val) { this->tokenId = val; } +const char* ProcessTerminateEvent::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271"; +const uint8_t ProcessTerminateEvent::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + uint32_t ProcessTerminateEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1476,7 +1518,7 @@ uint32_t ProcessTerminateEvent::read(::apache::thrift::protocol::TProtocol* ipro uint32_t ProcessTerminateEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ProcessTerminateEvent"); xfer += oprot->writeFieldBegin("processId", ::apache::thrift::protocol::T_STRING, 1); @@ -1493,6 +1535,7 @@ uint32_t ProcessTerminateEvent::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1514,13 +1557,14 @@ ProcessTerminateEvent& ProcessTerminateEvent::operator=(const ProcessTerminateEv tokenId = other32.tokenId; return *this; } -void ProcessTerminateEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const ProcessTerminateEvent& obj) { + using apache::thrift::to_string; out << "ProcessTerminateEvent("; - out << "processId=" << to_string(processId); - out << ", " << "gatewayId=" << to_string(gatewayId); - out << ", " << "tokenId=" << to_string(tokenId); + out << "processId=" << to_string(obj.processId); + out << ", " << "gatewayId=" << to_string(obj.gatewayId); + out << ", " << "tokenId=" << to_string(obj.tokenId); out << ")"; + return out; } @@ -1536,9 +1580,11 @@ void JobStatusChangeEvent::__set_jobIdentity(const JobIdentifier& val) { this->jobIdentity = val; } +const char* JobStatusChangeEvent::ascii_fingerprint = "062775D589B60D1687103FD465B0F5E8"; +const uint8_t JobStatusChangeEvent::binary_fingerprint[16] = {0x06,0x27,0x75,0xD5,0x89,0xB6,0x0D,0x16,0x87,0x10,0x3F,0xD4,0x65,0xB0,0xF5,0xE8}; + uint32_t JobStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1595,7 +1641,7 @@ uint32_t JobStatusChangeEvent::read(::apache::thrift::protocol::TProtocol* iprot uint32_t JobStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("JobStatusChangeEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -1608,6 +1654,7 @@ uint32_t JobStatusChangeEvent::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1626,12 +1673,13 @@ JobStatusChangeEvent& JobStatusChangeEvent::operator=(const JobStatusChangeEvent jobIdentity = other35.jobIdentity; return *this; } -void JobStatusChangeEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const JobStatusChangeEvent& obj) { + using apache::thrift::to_string; out << "JobStatusChangeEvent("; - out << "state=" << to_string(state); - out << ", " << "jobIdentity=" << to_string(jobIdentity); + out << "state=" << to_string(obj.state); + out << ", " << "jobIdentity=" << to_string(obj.jobIdentity); out << ")"; + return out; } @@ -1647,9 +1695,11 @@ void JobStatusChangeRequestEvent::__set_jobIdentity(const JobIdentifier& val) { this->jobIdentity = val; } +const char* JobStatusChangeRequestEvent::ascii_fingerprint = "062775D589B60D1687103FD465B0F5E8"; +const uint8_t JobStatusChangeRequestEvent::binary_fingerprint[16] = {0x06,0x27,0x75,0xD5,0x89,0xB6,0x0D,0x16,0x87,0x10,0x3F,0xD4,0x65,0xB0,0xF5,0xE8}; + uint32_t JobStatusChangeRequestEvent::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1706,7 +1756,7 @@ uint32_t JobStatusChangeRequestEvent::read(::apache::thrift::protocol::TProtocol uint32_t JobStatusChangeRequestEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("JobStatusChangeRequestEvent"); xfer += oprot->writeFieldBegin("state", ::apache::thrift::protocol::T_I32, 1); @@ -1719,6 +1769,7 @@ uint32_t JobStatusChangeRequestEvent::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1737,12 +1788,13 @@ JobStatusChangeRequestEvent& JobStatusChangeRequestEvent::operator=(const JobSta jobIdentity = other38.jobIdentity; return *this; } -void JobStatusChangeRequestEvent::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const JobStatusChangeRequestEvent& obj) { + using apache::thrift::to_string; out << "JobStatusChangeRequestEvent("; - out << "state=" << to_string(state); - out << ", " << "jobIdentity=" << to_string(jobIdentity); + out << "state=" << to_string(obj.state); + out << ", " << "jobIdentity=" << to_string(obj.jobIdentity); out << ")"; + return out; } @@ -1772,9 +1824,11 @@ void Message::__set_messageLevel(const MessageLevel::type val) { __isset.messageLevel = true; } +const char* Message::ascii_fingerprint = "6904C391426E568AF9DEAF69860C076A"; +const uint8_t Message::binary_fingerprint[16] = {0x69,0x04,0xC3,0x91,0x42,0x6E,0x56,0x8A,0xF9,0xDE,0xAF,0x69,0x86,0x0C,0x07,0x6A}; + uint32_t Message::read(::apache::thrift::protocol::TProtocol* iprot) { - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1860,7 +1914,7 @@ uint32_t Message::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Message::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Message"); xfer += oprot->writeFieldBegin("event", ::apache::thrift::protocol::T_STRING, 1); @@ -1887,6 +1941,7 @@ uint32_t Message::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1917,15 +1972,16 @@ Message& Message::operator=(const Message& other42) { __isset = other42.__isset; return *this; } -void Message::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; +std::ostream& operator<<(std::ostream& out, const Message& obj) { + using apache::thrift::to_string; out << "Message("; - out << "event=" << to_string(event); - out << ", " << "messageId=" << to_string(messageId); - out << ", " << "messageType=" << to_string(messageType); - out << ", " << "updatedTime="; (__isset.updatedTime ? (out << to_string(updatedTime)) : (out << "<null>")); - out << ", " << "messageLevel="; (__isset.messageLevel ? (out << to_string(messageLevel)) : (out << "<null>")); + out << "event=" << to_string(obj.event); + out << ", " << "messageId=" << to_string(obj.messageId); + out << ", " << "messageType=" << to_string(obj.messageType); + out << ", " << "updatedTime="; (obj.__isset.updatedTime ? (out << to_string(obj.updatedTime)) : (out << "<null>")); + out << ", " << "messageLevel="; (obj.__isset.messageLevel ? (out << to_string(obj.messageLevel)) : (out << "<null>")); out << ")"; + return out; } }}}}} // namespace