You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/12/17 06:48:48 UTC
[10/13] airavata git commit: reverting the generated classes to 0.9.2
as the tests did not pass - AIRAVATA-1883
http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp
index 9a13809..6a8bf09 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_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/airavata_api_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h
index 7304f11..7de8402 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_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/airavata_api_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp
index 1cbdcaa..67600ea 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_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
http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h
index 5d059c5..692cd5f 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_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
http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp
index 989f7eb..c67be12 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_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/airavata_commons_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h
index 0832be0..7b8bb03 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_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/airavata_commons_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp
index 7f23bb7..69d0bef 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_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
@@ -64,9 +64,11 @@ void ErrorModel::__set_rootCauseErrorIdList(const std::vector<std::string> & val
__isset.rootCauseErrorIdList = true;
}
+const char* ErrorModel::ascii_fingerprint = "6BB8CB86A8248ACCEDDC6598B87B119F";
+const uint8_t ErrorModel::binary_fingerprint[16] = {0x6B,0xB8,0xCB,0x86,0xA8,0x24,0x8A,0xCC,0xED,0xDC,0x65,0x98,0xB8,0x7B,0x11,0x9F};
+
uint32_t ErrorModel::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -162,7 +164,7 @@ uint32_t ErrorModel::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ErrorModel::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ErrorModel");
xfer += oprot->writeFieldBegin("errorId", ::apache::thrift::protocol::T_STRING, 1);
@@ -204,6 +206,7 @@ uint32_t ErrorModel::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -237,16 +240,17 @@ ErrorModel& ErrorModel::operator=(const ErrorModel& other7) {
__isset = other7.__isset;
return *this;
}
-void ErrorModel::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ErrorModel& obj) {
+ using apache::thrift::to_string;
out << "ErrorModel(";
- out << "errorId=" << to_string(errorId);
- out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>"));
- out << ", " << "actualErrorMessage="; (__isset.actualErrorMessage ? (out << to_string(actualErrorMessage)) : (out << "<null>"));
- out << ", " << "userFriendlyMessage="; (__isset.userFriendlyMessage ? (out << to_string(userFriendlyMessage)) : (out << "<null>"));
- out << ", " << "transientOrPersistent="; (__isset.transientOrPersistent ? (out << to_string(transientOrPersistent)) : (out << "<null>"));
- out << ", " << "rootCauseErrorIdList="; (__isset.rootCauseErrorIdList ? (out << to_string(rootCauseErrorIdList)) : (out << "<null>"));
+ out << "errorId=" << to_string(obj.errorId);
+ out << ", " << "creationTime="; (obj.__isset.creationTime ? (out << to_string(obj.creationTime)) : (out << "<null>"));
+ out << ", " << "actualErrorMessage="; (obj.__isset.actualErrorMessage ? (out << to_string(obj.actualErrorMessage)) : (out << "<null>"));
+ out << ", " << "userFriendlyMessage="; (obj.__isset.userFriendlyMessage ? (out << to_string(obj.userFriendlyMessage)) : (out << "<null>"));
+ out << ", " << "transientOrPersistent="; (obj.__isset.transientOrPersistent ? (out << to_string(obj.transientOrPersistent)) : (out << "<null>"));
+ out << ", " << "rootCauseErrorIdList="; (obj.__isset.rootCauseErrorIdList ? (out << to_string(obj.rootCauseErrorIdList)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -263,9 +267,11 @@ void ValidatorResult::__set_errorDetails(const std::string& val) {
__isset.errorDetails = true;
}
+const char* ValidatorResult::ascii_fingerprint = "EB04A806CFFC9025AEE48CFFDC378A86";
+const uint8_t ValidatorResult::binary_fingerprint[16] = {0xEB,0x04,0xA8,0x06,0xCF,0xFC,0x90,0x25,0xAE,0xE4,0x8C,0xFF,0xDC,0x37,0x8A,0x86};
+
uint32_t ValidatorResult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -317,7 +323,7 @@ uint32_t ValidatorResult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ValidatorResult::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ValidatorResult");
xfer += oprot->writeFieldBegin("result", ::apache::thrift::protocol::T_BOOL, 1);
@@ -331,6 +337,7 @@ uint32_t ValidatorResult::write(::apache::thrift::protocol::TProtocol* oprot) co
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -352,12 +359,13 @@ ValidatorResult& ValidatorResult::operator=(const ValidatorResult& other9) {
__isset = other9.__isset;
return *this;
}
-void ValidatorResult::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ValidatorResult& obj) {
+ using apache::thrift::to_string;
out << "ValidatorResult(";
- out << "result=" << to_string(result);
- out << ", " << "errorDetails="; (__isset.errorDetails ? (out << to_string(errorDetails)) : (out << "<null>"));
+ out << "result=" << to_string(obj.result);
+ out << ", " << "errorDetails="; (obj.__isset.errorDetails ? (out << to_string(obj.errorDetails)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -373,9 +381,11 @@ void ValidationResults::__set_validationResultList(const std::vector<ValidatorRe
this->validationResultList = val;
}
+const char* ValidationResults::ascii_fingerprint = "E73BC8630EE405DA5FB801ED852143D2";
+const uint8_t ValidationResults::binary_fingerprint[16] = {0xE7,0x3B,0xC8,0x63,0x0E,0xE4,0x05,0xDA,0x5F,0xB8,0x01,0xED,0x85,0x21,0x43,0xD2};
+
uint32_t ValidationResults::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -442,7 +452,7 @@ uint32_t ValidationResults::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ValidationResults::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ValidationResults");
xfer += oprot->writeFieldBegin("validationState", ::apache::thrift::protocol::T_BOOL, 1);
@@ -463,6 +473,7 @@ uint32_t ValidationResults::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -481,12 +492,13 @@ ValidationResults& ValidationResults::operator=(const ValidationResults& other17
validationResultList = other17.validationResultList;
return *this;
}
-void ValidationResults::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ValidationResults& obj) {
+ using apache::thrift::to_string;
out << "ValidationResults(";
- out << "validationState=" << to_string(validationState);
- out << ", " << "validationResultList=" << to_string(validationResultList);
+ out << "validationState=" << to_string(obj.validationState);
+ out << ", " << "validationResultList=" << to_string(obj.validationResultList);
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/airavata_commons_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h
index c0bf1fd..6f4c7f2 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_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 _ErrorModel__isset {
class ErrorModel {
public:
+ static const char* ascii_fingerprint; // = "6BB8CB86A8248ACCEDDC6598B87B119F";
+ static const uint8_t binary_fingerprint[16]; // = {0x6B,0xB8,0xCB,0x86,0xA8,0x24,0x8A,0xCC,0xED,0xDC,0x65,0x98,0xB8,0x7B,0x11,0x9F};
+
ErrorModel(const ErrorModel&);
ErrorModel& operator=(const ErrorModel&);
ErrorModel() : errorId("DO_NOT_SET_AT_CLIENTS"), creationTime(0), actualErrorMessage(), userFriendlyMessage(), transientOrPersistent(false) {
@@ -116,17 +119,11 @@ class ErrorModel {
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 ErrorModel& obj);
};
void swap(ErrorModel &a, ErrorModel &b);
-inline std::ostream& operator<<(std::ostream& out, const ErrorModel& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ValidatorResult__isset {
_ValidatorResult__isset() : errorDetails(false) {}
bool errorDetails :1;
@@ -135,6 +132,9 @@ typedef struct _ValidatorResult__isset {
class ValidatorResult {
public:
+ static const char* ascii_fingerprint; // = "EB04A806CFFC9025AEE48CFFDC378A86";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x04,0xA8,0x06,0xCF,0xFC,0x90,0x25,0xAE,0xE4,0x8C,0xFF,0xDC,0x37,0x8A,0x86};
+
ValidatorResult(const ValidatorResult&);
ValidatorResult& operator=(const ValidatorResult&);
ValidatorResult() : result(0), errorDetails() {
@@ -169,21 +169,18 @@ class ValidatorResult {
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 ValidatorResult& obj);
};
void swap(ValidatorResult &a, ValidatorResult &b);
-inline std::ostream& operator<<(std::ostream& out, const ValidatorResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ValidationResults {
public:
+ static const char* ascii_fingerprint; // = "E73BC8630EE405DA5FB801ED852143D2";
+ static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3B,0xC8,0x63,0x0E,0xE4,0x05,0xDA,0x5F,0xB8,0x01,0xED,0x85,0x21,0x43,0xD2};
+
ValidationResults(const ValidationResults&);
ValidationResults& operator=(const ValidationResults&);
ValidationResults() : validationState(0) {
@@ -214,17 +211,11 @@ class ValidationResults {
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 ValidationResults& obj);
};
void swap(ValidationResults &a, ValidationResults &b);
-inline std::ostream& operator<<(std::ostream& out, const ValidationResults& 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/airavata_data_models_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp
index d4a991b..1764a3b 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_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/airavata_data_models_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h
index 0d871ec..071c000 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_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/airavata_data_models_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp
index 637fcf6..e9ac27d 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_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
http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h
index ca6796a..40c53e0 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_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
http://git-wip-us.apache.org/repos/asf/airavata/blob/52f18ba6/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp
index c721378..078ca39 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_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/airavata_errors_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h
index ee97b5b..9f80fcb 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_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/airavata_errors_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.cpp
index 08c02cf..de38fb2 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_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
@@ -61,9 +61,11 @@ void ExperimentNotFoundException::__set_message(const std::string& val) {
this->message = val;
}
+const char* ExperimentNotFoundException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t ExperimentNotFoundException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t ExperimentNotFoundException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -107,7 +109,7 @@ uint32_t ExperimentNotFoundException::read(::apache::thrift::protocol::TProtocol
uint32_t ExperimentNotFoundException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ExperimentNotFoundException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -116,6 +118,7 @@ uint32_t ExperimentNotFoundException::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -131,22 +134,12 @@ ExperimentNotFoundException& ExperimentNotFoundException::operator=(const Experi
message = other1.message;
return *this;
}
-void ExperimentNotFoundException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ExperimentNotFoundException& obj) {
+ using apache::thrift::to_string;
out << "ExperimentNotFoundException(";
- out << "message=" << to_string(message);
+ out << "message=" << to_string(obj.message);
out << ")";
-}
-
-const char* ExperimentNotFoundException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: ExperimentNotFoundException";
- }
+ return out;
}
@@ -158,9 +151,11 @@ void ProjectNotFoundException::__set_message(const std::string& val) {
this->message = val;
}
+const char* ProjectNotFoundException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t ProjectNotFoundException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t ProjectNotFoundException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -204,7 +199,7 @@ uint32_t ProjectNotFoundException::read(::apache::thrift::protocol::TProtocol* i
uint32_t ProjectNotFoundException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ProjectNotFoundException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -213,6 +208,7 @@ uint32_t ProjectNotFoundException::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -228,22 +224,12 @@ ProjectNotFoundException& ProjectNotFoundException::operator=(const ProjectNotFo
message = other3.message;
return *this;
}
-void ProjectNotFoundException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ProjectNotFoundException& obj) {
+ using apache::thrift::to_string;
out << "ProjectNotFoundException(";
- out << "message=" << to_string(message);
+ out << "message=" << to_string(obj.message);
out << ")";
-}
-
-const char* ProjectNotFoundException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: ProjectNotFoundException";
- }
+ return out;
}
@@ -255,9 +241,11 @@ void InvalidRequestException::__set_message(const std::string& val) {
this->message = val;
}
+const char* InvalidRequestException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t InvalidRequestException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t InvalidRequestException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -301,7 +289,7 @@ uint32_t InvalidRequestException::read(::apache::thrift::protocol::TProtocol* ip
uint32_t InvalidRequestException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("InvalidRequestException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -310,6 +298,7 @@ uint32_t InvalidRequestException::write(::apache::thrift::protocol::TProtocol* o
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -325,22 +314,12 @@ InvalidRequestException& InvalidRequestException::operator=(const InvalidRequest
message = other5.message;
return *this;
}
-void InvalidRequestException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const InvalidRequestException& obj) {
+ using apache::thrift::to_string;
out << "InvalidRequestException(";
- out << "message=" << to_string(message);
+ out << "message=" << to_string(obj.message);
out << ")";
-}
-
-const char* InvalidRequestException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: InvalidRequestException";
- }
+ return out;
}
@@ -348,9 +327,11 @@ TimedOutException::~TimedOutException() throw() {
}
+const char* TimedOutException::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B";
+const uint8_t TimedOutException::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
uint32_t TimedOutException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -378,11 +359,12 @@ uint32_t TimedOutException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TimedOutException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TimedOutException");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -399,21 +381,12 @@ TimedOutException& TimedOutException::operator=(const TimedOutException& other7)
(void) other7;
return *this;
}
-void TimedOutException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TimedOutException& obj) {
+ using apache::thrift::to_string;
+ (void) obj;
out << "TimedOutException(";
out << ")";
-}
-
-const char* TimedOutException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: TimedOutException";
- }
+ return out;
}
@@ -425,9 +398,11 @@ void AuthenticationException::__set_message(const std::string& val) {
this->message = val;
}
+const char* AuthenticationException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t AuthenticationException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t AuthenticationException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -471,7 +446,7 @@ uint32_t AuthenticationException::read(::apache::thrift::protocol::TProtocol* ip
uint32_t AuthenticationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("AuthenticationException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -480,6 +455,7 @@ uint32_t AuthenticationException::write(::apache::thrift::protocol::TProtocol* o
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -495,22 +471,12 @@ AuthenticationException& AuthenticationException::operator=(const Authentication
message = other9.message;
return *this;
}
-void AuthenticationException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const AuthenticationException& obj) {
+ using apache::thrift::to_string;
out << "AuthenticationException(";
- out << "message=" << to_string(message);
+ out << "message=" << to_string(obj.message);
out << ")";
-}
-
-const char* AuthenticationException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: AuthenticationException";
- }
+ return out;
}
@@ -522,9 +488,11 @@ void AuthorizationException::__set_message(const std::string& val) {
this->message = val;
}
+const char* AuthorizationException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t AuthorizationException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t AuthorizationException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -568,7 +536,7 @@ uint32_t AuthorizationException::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t AuthorizationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("AuthorizationException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -577,6 +545,7 @@ uint32_t AuthorizationException::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -592,22 +561,12 @@ AuthorizationException& AuthorizationException::operator=(const AuthorizationExc
message = other11.message;
return *this;
}
-void AuthorizationException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const AuthorizationException& obj) {
+ using apache::thrift::to_string;
out << "AuthorizationException(";
- out << "message=" << to_string(message);
+ out << "message=" << to_string(obj.message);
out << ")";
-}
-
-const char* AuthorizationException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: AuthorizationException";
- }
+ return out;
}
@@ -624,9 +583,11 @@ void AiravataClientException::__set_parameter(const std::string& val) {
__isset.parameter = true;
}
+const char* AiravataClientException::ascii_fingerprint = "24652790C81ECE22B629CB60A19F1E93";
+const uint8_t AiravataClientException::binary_fingerprint[16] = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93};
+
uint32_t AiravataClientException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -680,7 +641,7 @@ uint32_t AiravataClientException::read(::apache::thrift::protocol::TProtocol* ip
uint32_t AiravataClientException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("AiravataClientException");
xfer += oprot->writeFieldBegin("airavataErrorType", ::apache::thrift::protocol::T_I32, 1);
@@ -694,6 +655,7 @@ uint32_t AiravataClientException::write(::apache::thrift::protocol::TProtocol* o
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -715,23 +677,13 @@ AiravataClientException& AiravataClientException::operator=(const AiravataClient
__isset = other14.__isset;
return *this;
}
-void AiravataClientException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const AiravataClientException& obj) {
+ using apache::thrift::to_string;
out << "AiravataClientException(";
- out << "airavataErrorType=" << to_string(airavataErrorType);
- out << ", " << "parameter="; (__isset.parameter ? (out << to_string(parameter)) : (out << "<null>"));
+ out << "airavataErrorType=" << to_string(obj.airavataErrorType);
+ out << ", " << "parameter="; (obj.__isset.parameter ? (out << to_string(obj.parameter)) : (out << "<null>"));
out << ")";
-}
-
-const char* AiravataClientException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: AiravataClientException";
- }
+ return out;
}
@@ -748,9 +700,11 @@ void ValidatorResult::__set_errorDetails(const std::string& val) {
__isset.errorDetails = true;
}
+const char* ValidatorResult::ascii_fingerprint = "EB04A806CFFC9025AEE48CFFDC378A86";
+const uint8_t ValidatorResult::binary_fingerprint[16] = {0xEB,0x04,0xA8,0x06,0xCF,0xFC,0x90,0x25,0xAE,0xE4,0x8C,0xFF,0xDC,0x37,0x8A,0x86};
+
uint32_t ValidatorResult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -802,7 +756,7 @@ uint32_t ValidatorResult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ValidatorResult::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ValidatorResult");
xfer += oprot->writeFieldBegin("result", ::apache::thrift::protocol::T_BOOL, 1);
@@ -816,6 +770,7 @@ uint32_t ValidatorResult::write(::apache::thrift::protocol::TProtocol* oprot) co
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -837,12 +792,13 @@ ValidatorResult& ValidatorResult::operator=(const ValidatorResult& other16) {
__isset = other16.__isset;
return *this;
}
-void ValidatorResult::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ValidatorResult& obj) {
+ using apache::thrift::to_string;
out << "ValidatorResult(";
- out << "result=" << to_string(result);
- out << ", " << "errorDetails="; (__isset.errorDetails ? (out << to_string(errorDetails)) : (out << "<null>"));
+ out << "result=" << to_string(obj.result);
+ out << ", " << "errorDetails="; (obj.__isset.errorDetails ? (out << to_string(obj.errorDetails)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -858,9 +814,11 @@ void ValidationResults::__set_validationResultList(const std::vector<ValidatorRe
this->validationResultList = val;
}
+const char* ValidationResults::ascii_fingerprint = "E73BC8630EE405DA5FB801ED852143D2";
+const uint8_t ValidationResults::binary_fingerprint[16] = {0xE7,0x3B,0xC8,0x63,0x0E,0xE4,0x05,0xDA,0x5F,0xB8,0x01,0xED,0x85,0x21,0x43,0xD2};
+
uint32_t ValidationResults::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -927,7 +885,7 @@ uint32_t ValidationResults::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ValidationResults::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ValidationResults");
xfer += oprot->writeFieldBegin("validationState", ::apache::thrift::protocol::T_BOOL, 1);
@@ -948,6 +906,7 @@ uint32_t ValidationResults::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -966,12 +925,13 @@ ValidationResults& ValidationResults::operator=(const ValidationResults& other24
validationResultList = other24.validationResultList;
return *this;
}
-void ValidationResults::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ValidationResults& obj) {
+ using apache::thrift::to_string;
out << "ValidationResults(";
- out << "validationState=" << to_string(validationState);
- out << ", " << "validationResultList=" << to_string(validationResultList);
+ out << "validationState=" << to_string(obj.validationState);
+ out << ", " << "validationResultList=" << to_string(obj.validationResultList);
out << ")";
+ return out;
}
@@ -988,9 +948,11 @@ void LaunchValidationException::__set_errorMessage(const std::string& val) {
__isset.errorMessage = true;
}
+const char* LaunchValidationException::ascii_fingerprint = "99E9D28CC9613B8567277FD2B86021FA";
+const uint8_t LaunchValidationException::binary_fingerprint[16] = {0x99,0xE9,0xD2,0x8C,0xC9,0x61,0x3B,0x85,0x67,0x27,0x7F,0xD2,0xB8,0x60,0x21,0xFA};
+
uint32_t LaunchValidationException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1042,7 +1004,7 @@ uint32_t LaunchValidationException::read(::apache::thrift::protocol::TProtocol*
uint32_t LaunchValidationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("LaunchValidationException");
xfer += oprot->writeFieldBegin("validationResult", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1056,6 +1018,7 @@ uint32_t LaunchValidationException::write(::apache::thrift::protocol::TProtocol*
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1077,23 +1040,13 @@ LaunchValidationException& LaunchValidationException::operator=(const LaunchVali
__isset = other26.__isset;
return *this;
}
-void LaunchValidationException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const LaunchValidationException& obj) {
+ using apache::thrift::to_string;
out << "LaunchValidationException(";
- out << "validationResult=" << to_string(validationResult);
- out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "<null>"));
+ out << "validationResult=" << to_string(obj.validationResult);
+ out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "<null>"));
out << ")";
-}
-
-const char* LaunchValidationException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: LaunchValidationException";
- }
+ return out;
}
@@ -1110,9 +1063,11 @@ void AiravataSystemException::__set_message(const std::string& val) {
__isset.message = true;
}
+const char* AiravataSystemException::ascii_fingerprint = "24652790C81ECE22B629CB60A19F1E93";
+const uint8_t AiravataSystemException::binary_fingerprint[16] = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93};
+
uint32_t AiravataSystemException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1166,7 +1121,7 @@ uint32_t AiravataSystemException::read(::apache::thrift::protocol::TProtocol* ip
uint32_t AiravataSystemException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("AiravataSystemException");
xfer += oprot->writeFieldBegin("airavataErrorType", ::apache::thrift::protocol::T_I32, 1);
@@ -1180,6 +1135,7 @@ uint32_t AiravataSystemException::write(::apache::thrift::protocol::TProtocol* o
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1201,23 +1157,13 @@ AiravataSystemException& AiravataSystemException::operator=(const AiravataSystem
__isset = other29.__isset;
return *this;
}
-void AiravataSystemException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const AiravataSystemException& obj) {
+ using apache::thrift::to_string;
out << "AiravataSystemException(";
- out << "airavataErrorType=" << to_string(airavataErrorType);
- out << ", " << "message="; (__isset.message ? (out << to_string(message)) : (out << "<null>"));
+ out << "airavataErrorType=" << to_string(obj.airavataErrorType);
+ out << ", " << "message="; (obj.__isset.message ? (out << to_string(obj.message)) : (out << "<null>"));
out << ")";
-}
-
-const char* AiravataSystemException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: AiravataSystemException";
- }
+ 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/airavata_errors_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.h
index e756d0a..6ae818d 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_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
@@ -78,6 +78,9 @@ class AiravataSystemException;
class ExperimentNotFoundException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ExperimentNotFoundException(const ExperimentNotFoundException&);
ExperimentNotFoundException& operator=(const ExperimentNotFoundException&);
ExperimentNotFoundException() : message() {
@@ -103,23 +106,18 @@ class ExperimentNotFoundException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const ExperimentNotFoundException& obj);
};
void swap(ExperimentNotFoundException &a, ExperimentNotFoundException &b);
-inline std::ostream& operator<<(std::ostream& out, const ExperimentNotFoundException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ProjectNotFoundException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ProjectNotFoundException(const ProjectNotFoundException&);
ProjectNotFoundException& operator=(const ProjectNotFoundException&);
ProjectNotFoundException() : message() {
@@ -145,23 +143,18 @@ class ProjectNotFoundException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const ProjectNotFoundException& obj);
};
void swap(ProjectNotFoundException &a, ProjectNotFoundException &b);
-inline std::ostream& operator<<(std::ostream& out, const ProjectNotFoundException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class InvalidRequestException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
InvalidRequestException(const InvalidRequestException&);
InvalidRequestException& operator=(const InvalidRequestException&);
InvalidRequestException() : message() {
@@ -187,23 +180,18 @@ class InvalidRequestException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const InvalidRequestException& obj);
};
void swap(InvalidRequestException &a, InvalidRequestException &b);
-inline std::ostream& operator<<(std::ostream& out, const InvalidRequestException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TimedOutException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
TimedOutException(const TimedOutException&);
TimedOutException& operator=(const TimedOutException&);
TimedOutException() {
@@ -224,23 +212,18 @@ class TimedOutException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const TimedOutException& obj);
};
void swap(TimedOutException &a, TimedOutException &b);
-inline std::ostream& operator<<(std::ostream& out, const TimedOutException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class AuthenticationException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
AuthenticationException(const AuthenticationException&);
AuthenticationException& operator=(const AuthenticationException&);
AuthenticationException() : message() {
@@ -266,23 +249,18 @@ class AuthenticationException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const AuthenticationException& obj);
};
void swap(AuthenticationException &a, AuthenticationException &b);
-inline std::ostream& operator<<(std::ostream& out, const AuthenticationException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class AuthorizationException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
AuthorizationException(const AuthorizationException&);
AuthorizationException& operator=(const AuthorizationException&);
AuthorizationException() : message() {
@@ -308,19 +286,11 @@ class AuthorizationException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const AuthorizationException& obj);
};
void swap(AuthorizationException &a, AuthorizationException &b);
-inline std::ostream& operator<<(std::ostream& out, const AuthorizationException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _AiravataClientException__isset {
_AiravataClientException__isset() : parameter(false) {}
bool parameter :1;
@@ -329,6 +299,9 @@ typedef struct _AiravataClientException__isset {
class AiravataClientException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "24652790C81ECE22B629CB60A19F1E93";
+ static const uint8_t binary_fingerprint[16]; // = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93};
+
AiravataClientException(const AiravataClientException&);
AiravataClientException& operator=(const AiravataClientException&);
AiravataClientException() : airavataErrorType((AiravataErrorType::type)0), parameter() {
@@ -363,19 +336,11 @@ class AiravataClientException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const AiravataClientException& obj);
};
void swap(AiravataClientException &a, AiravataClientException &b);
-inline std::ostream& operator<<(std::ostream& out, const AiravataClientException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ValidatorResult__isset {
_ValidatorResult__isset() : errorDetails(false) {}
bool errorDetails :1;
@@ -384,6 +349,9 @@ typedef struct _ValidatorResult__isset {
class ValidatorResult {
public:
+ static const char* ascii_fingerprint; // = "EB04A806CFFC9025AEE48CFFDC378A86";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x04,0xA8,0x06,0xCF,0xFC,0x90,0x25,0xAE,0xE4,0x8C,0xFF,0xDC,0x37,0x8A,0x86};
+
ValidatorResult(const ValidatorResult&);
ValidatorResult& operator=(const ValidatorResult&);
ValidatorResult() : result(0), errorDetails() {
@@ -418,21 +386,18 @@ class ValidatorResult {
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 ValidatorResult& obj);
};
void swap(ValidatorResult &a, ValidatorResult &b);
-inline std::ostream& operator<<(std::ostream& out, const ValidatorResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ValidationResults {
public:
+ static const char* ascii_fingerprint; // = "E73BC8630EE405DA5FB801ED852143D2";
+ static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3B,0xC8,0x63,0x0E,0xE4,0x05,0xDA,0x5F,0xB8,0x01,0xED,0x85,0x21,0x43,0xD2};
+
ValidationResults(const ValidationResults&);
ValidationResults& operator=(const ValidationResults&);
ValidationResults() : validationState(0) {
@@ -463,17 +428,11 @@ class ValidationResults {
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 ValidationResults& obj);
};
void swap(ValidationResults &a, ValidationResults &b);
-inline std::ostream& operator<<(std::ostream& out, const ValidationResults& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _LaunchValidationException__isset {
_LaunchValidationException__isset() : errorMessage(false) {}
bool errorMessage :1;
@@ -482,6 +441,9 @@ typedef struct _LaunchValidationException__isset {
class LaunchValidationException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "99E9D28CC9613B8567277FD2B86021FA";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0xE9,0xD2,0x8C,0xC9,0x61,0x3B,0x85,0x67,0x27,0x7F,0xD2,0xB8,0x60,0x21,0xFA};
+
LaunchValidationException(const LaunchValidationException&);
LaunchValidationException& operator=(const LaunchValidationException&);
LaunchValidationException() : errorMessage() {
@@ -516,19 +478,11 @@ class LaunchValidationException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const LaunchValidationException& obj);
};
void swap(LaunchValidationException &a, LaunchValidationException &b);
-inline std::ostream& operator<<(std::ostream& out, const LaunchValidationException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _AiravataSystemException__isset {
_AiravataSystemException__isset() : message(false) {}
bool message :1;
@@ -537,6 +491,9 @@ typedef struct _AiravataSystemException__isset {
class AiravataSystemException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "24652790C81ECE22B629CB60A19F1E93";
+ static const uint8_t binary_fingerprint[16]; // = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93};
+
AiravataSystemException(const AiravataSystemException&);
AiravataSystemException& operator=(const AiravataSystemException&);
AiravataSystemException() : airavataErrorType((AiravataErrorType::type)0), message() {
@@ -571,19 +528,11 @@ class AiravataSystemException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const AiravataSystemException& obj);
};
void swap(AiravataSystemException &a, AiravataSystemException &b);
-inline std::ostream& operator<<(std::ostream& out, const AiravataSystemException& 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/application_deployment_model_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_constants.cpp
index 4c325ce..2229772 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_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/application_deployment_model_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_constants.h
index bb51aad..7c78282 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_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/application_deployment_model_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.cpp
index 07ba64f..eca8ef2 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_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
@@ -66,9 +66,11 @@ void SetEnvPaths::__set_envPathOrder(const int32_t val) {
__isset.envPathOrder = true;
}
+const char* SetEnvPaths::ascii_fingerprint = "CB1522D43F7EFF4C4CDE94ADBC65FF84";
+const uint8_t SetEnvPaths::binary_fingerprint[16] = {0xCB,0x15,0x22,0xD4,0x3F,0x7E,0xFF,0x4C,0x4C,0xDE,0x94,0xAD,0xBC,0x65,0xFF,0x84};
+
uint32_t SetEnvPaths::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -131,7 +133,7 @@ uint32_t SetEnvPaths::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SetEnvPaths::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("SetEnvPaths");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -149,6 +151,7 @@ uint32_t SetEnvPaths::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -173,13 +176,14 @@ SetEnvPaths& SetEnvPaths::operator=(const SetEnvPaths& other1) {
__isset = other1.__isset;
return *this;
}
-void SetEnvPaths::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const SetEnvPaths& obj) {
+ using apache::thrift::to_string;
out << "SetEnvPaths(";
- out << "name=" << to_string(name);
- out << ", " << "value=" << to_string(value);
- out << ", " << "envPathOrder="; (__isset.envPathOrder ? (out << to_string(envPathOrder)) : (out << "<null>"));
+ out << "name=" << to_string(obj.name);
+ out << ", " << "value=" << to_string(obj.value);
+ out << ", " << "envPathOrder="; (obj.__isset.envPathOrder ? (out << to_string(obj.envPathOrder)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -196,9 +200,11 @@ void CommandObject::__set_commandOrder(const int32_t val) {
__isset.commandOrder = true;
}
+const char* CommandObject::ascii_fingerprint = "18B162B1D15D8D46509D3911A9F1C2AA";
+const uint8_t CommandObject::binary_fingerprint[16] = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA};
+
uint32_t CommandObject::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -250,7 +256,7 @@ uint32_t CommandObject::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t CommandObject::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("CommandObject");
xfer += oprot->writeFieldBegin("command", ::apache::thrift::protocol::T_STRING, 1);
@@ -264,6 +270,7 @@ uint32_t CommandObject::write(::apache::thrift::protocol::TProtocol* oprot) cons
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -285,12 +292,13 @@ CommandObject& CommandObject::operator=(const CommandObject& other3) {
__isset = other3.__isset;
return *this;
}
-void CommandObject::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const CommandObject& obj) {
+ using apache::thrift::to_string;
out << "CommandObject(";
- out << "command=" << to_string(command);
- out << ", " << "commandOrder="; (__isset.commandOrder ? (out << to_string(commandOrder)) : (out << "<null>"));
+ out << "command=" << to_string(obj.command);
+ out << ", " << "commandOrder="; (obj.__isset.commandOrder ? (out << to_string(obj.commandOrder)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -316,9 +324,11 @@ void ApplicationModule::__set_appModuleDescription(const std::string& val) {
__isset.appModuleDescription = true;
}
+const char* ApplicationModule::ascii_fingerprint = "FED0FBEAA0C90D1589E8B650561B7675";
+const uint8_t ApplicationModule::binary_fingerprint[16] = {0xFE,0xD0,0xFB,0xEA,0xA0,0xC9,0x0D,0x15,0x89,0xE8,0xB6,0x50,0x56,0x1B,0x76,0x75};
+
uint32_t ApplicationModule::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -389,7 +399,7 @@ uint32_t ApplicationModule::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ApplicationModule::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ApplicationModule");
xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 1);
@@ -412,6 +422,7 @@ uint32_t ApplicationModule::write(::apache::thrift::protocol::TProtocol* oprot)
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -439,14 +450,15 @@ ApplicationModule& ApplicationModule::operator=(const ApplicationModule& other5)
__isset = other5.__isset;
return *this;
}
-void ApplicationModule::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ApplicationModule& obj) {
+ using apache::thrift::to_string;
out << "ApplicationModule(";
- out << "appModuleId=" << to_string(appModuleId);
- out << ", " << "appModuleName=" << to_string(appModuleName);
- out << ", " << "appModuleVersion="; (__isset.appModuleVersion ? (out << to_string(appModuleVersion)) : (out << "<null>"));
- out << ", " << "appModuleDescription="; (__isset.appModuleDescription ? (out << to_string(appModuleDescription)) : (out << "<null>"));
+ out << "appModuleId=" << to_string(obj.appModuleId);
+ out << ", " << "appModuleName=" << to_string(obj.appModuleName);
+ out << ", " << "appModuleVersion="; (obj.__isset.appModuleVersion ? (out << to_string(obj.appModuleVersion)) : (out << "<null>"));
+ out << ", " << "appModuleDescription="; (obj.__isset.appModuleDescription ? (out << to_string(obj.appModuleDescription)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -509,9 +521,11 @@ void ApplicationDeploymentDescription::__set_postJobCommands(const std::vector<C
__isset.postJobCommands = true;
}
+const char* ApplicationDeploymentDescription::ascii_fingerprint = "248366FE9C58B4F98F9D84DE1237486F";
+const uint8_t ApplicationDeploymentDescription::binary_fingerprint[16] = {0x24,0x83,0x66,0xFE,0x9C,0x58,0xB4,0xF9,0x8F,0x9D,0x84,0xDE,0x12,0x37,0x48,0x6F};
+
uint32_t ApplicationDeploymentDescription::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -729,7 +743,7 @@ uint32_t ApplicationDeploymentDescription::read(::apache::thrift::protocol::TPro
uint32_t ApplicationDeploymentDescription::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ApplicationDeploymentDescription");
xfer += oprot->writeFieldBegin("appDeploymentId", ::apache::thrift::protocol::T_STRING, 1);
@@ -837,6 +851,7 @@ uint32_t ApplicationDeploymentDescription::write(::apache::thrift::protocol::TPr
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -888,22 +903,23 @@ ApplicationDeploymentDescription& ApplicationDeploymentDescription::operator=(co
__isset = other44.__isset;
return *this;
}
-void ApplicationDeploymentDescription::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ApplicationDeploymentDescription& obj) {
+ using apache::thrift::to_string;
out << "ApplicationDeploymentDescription(";
- out << "appDeploymentId=" << to_string(appDeploymentId);
- out << ", " << "appModuleId=" << to_string(appModuleId);
- out << ", " << "computeHostId=" << to_string(computeHostId);
- out << ", " << "executablePath=" << to_string(executablePath);
- out << ", " << "parallelism=" << to_string(parallelism);
- out << ", " << "appDeploymentDescription="; (__isset.appDeploymentDescription ? (out << to_string(appDeploymentDescription)) : (out << "<null>"));
- out << ", " << "moduleLoadCmds="; (__isset.moduleLoadCmds ? (out << to_string(moduleLoadCmds)) : (out << "<null>"));
- out << ", " << "libPrependPaths="; (__isset.libPrependPaths ? (out << to_string(libPrependPaths)) : (out << "<null>"));
- out << ", " << "libAppendPaths="; (__isset.libAppendPaths ? (out << to_string(libAppendPaths)) : (out << "<null>"));
- out << ", " << "setEnvironment="; (__isset.setEnvironment ? (out << to_string(setEnvironment)) : (out << "<null>"));
- out << ", " << "preJobCommands="; (__isset.preJobCommands ? (out << to_string(preJobCommands)) : (out << "<null>"));
- out << ", " << "postJobCommands="; (__isset.postJobCommands ? (out << to_string(postJobCommands)) : (out << "<null>"));
+ out << "appDeploymentId=" << to_string(obj.appDeploymentId);
+ out << ", " << "appModuleId=" << to_string(obj.appModuleId);
+ out << ", " << "computeHostId=" << to_string(obj.computeHostId);
+ out << ", " << "executablePath=" << to_string(obj.executablePath);
+ out << ", " << "parallelism=" << to_string(obj.parallelism);
+ out << ", " << "appDeploymentDescription="; (obj.__isset.appDeploymentDescription ? (out << to_string(obj.appDeploymentDescription)) : (out << "<null>"));
+ out << ", " << "moduleLoadCmds="; (obj.__isset.moduleLoadCmds ? (out << to_string(obj.moduleLoadCmds)) : (out << "<null>"));
+ out << ", " << "libPrependPaths="; (obj.__isset.libPrependPaths ? (out << to_string(obj.libPrependPaths)) : (out << "<null>"));
+ out << ", " << "libAppendPaths="; (obj.__isset.libAppendPaths ? (out << to_string(obj.libAppendPaths)) : (out << "<null>"));
+ out << ", " << "setEnvironment="; (obj.__isset.setEnvironment ? (out << to_string(obj.setEnvironment)) : (out << "<null>"));
+ out << ", " << "preJobCommands="; (obj.__isset.preJobCommands ? (out << to_string(obj.preJobCommands)) : (out << "<null>"));
+ out << ", " << "postJobCommands="; (obj.__isset.postJobCommands ? (out << to_string(obj.postJobCommands)) : (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/application_deployment_model_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.h
index 7723122..671b7e7 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_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
@@ -66,6 +66,9 @@ typedef struct _SetEnvPaths__isset {
class SetEnvPaths {
public:
+ static const char* ascii_fingerprint; // = "CB1522D43F7EFF4C4CDE94ADBC65FF84";
+ static const uint8_t binary_fingerprint[16]; // = {0xCB,0x15,0x22,0xD4,0x3F,0x7E,0xFF,0x4C,0x4C,0xDE,0x94,0xAD,0xBC,0x65,0xFF,0x84};
+
SetEnvPaths(const SetEnvPaths&);
SetEnvPaths& operator=(const SetEnvPaths&);
SetEnvPaths() : name(), value(), envPathOrder(0) {
@@ -105,17 +108,11 @@ class SetEnvPaths {
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 SetEnvPaths& obj);
};
void swap(SetEnvPaths &a, SetEnvPaths &b);
-inline std::ostream& operator<<(std::ostream& out, const SetEnvPaths& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _CommandObject__isset {
_CommandObject__isset() : commandOrder(false) {}
bool commandOrder :1;
@@ -124,6 +121,9 @@ typedef struct _CommandObject__isset {
class CommandObject {
public:
+ static const char* ascii_fingerprint; // = "18B162B1D15D8D46509D3911A9F1C2AA";
+ static const uint8_t binary_fingerprint[16]; // = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA};
+
CommandObject(const CommandObject&);
CommandObject& operator=(const CommandObject&);
CommandObject() : command(), commandOrder(0) {
@@ -158,17 +158,11 @@ class CommandObject {
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 CommandObject& obj);
};
void swap(CommandObject &a, CommandObject &b);
-inline std::ostream& operator<<(std::ostream& out, const CommandObject& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ApplicationModule__isset {
_ApplicationModule__isset() : appModuleVersion(false), appModuleDescription(false) {}
bool appModuleVersion :1;
@@ -178,6 +172,9 @@ typedef struct _ApplicationModule__isset {
class ApplicationModule {
public:
+ static const char* ascii_fingerprint; // = "FED0FBEAA0C90D1589E8B650561B7675";
+ static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD0,0xFB,0xEA,0xA0,0xC9,0x0D,0x15,0x89,0xE8,0xB6,0x50,0x56,0x1B,0x76,0x75};
+
ApplicationModule(const ApplicationModule&);
ApplicationModule& operator=(const ApplicationModule&);
ApplicationModule() : appModuleId("DO_NOT_SET_AT_CLIENTS"), appModuleName(), appModuleVersion(), appModuleDescription() {
@@ -224,17 +221,11 @@ class ApplicationModule {
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 ApplicationModule& obj);
};
void swap(ApplicationModule &a, ApplicationModule &b);
-inline std::ostream& operator<<(std::ostream& out, const ApplicationModule& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ApplicationDeploymentDescription__isset {
_ApplicationDeploymentDescription__isset() : appDeploymentDescription(false), moduleLoadCmds(false), libPrependPaths(false), libAppendPaths(false), setEnvironment(false), preJobCommands(false), postJobCommands(false) {}
bool appDeploymentDescription :1;
@@ -249,6 +240,9 @@ typedef struct _ApplicationDeploymentDescription__isset {
class ApplicationDeploymentDescription {
public:
+ static const char* ascii_fingerprint; // = "248366FE9C58B4F98F9D84DE1237486F";
+ static const uint8_t binary_fingerprint[16]; // = {0x24,0x83,0x66,0xFE,0x9C,0x58,0xB4,0xF9,0x8F,0x9D,0x84,0xDE,0x12,0x37,0x48,0x6F};
+
ApplicationDeploymentDescription(const ApplicationDeploymentDescription&);
ApplicationDeploymentDescription& operator=(const ApplicationDeploymentDescription&);
ApplicationDeploymentDescription() : appDeploymentId("DO_NOT_SET_AT_CLIENTS"), appModuleId(), computeHostId(), executablePath(), parallelism((ApplicationParallelismType::type)0), appDeploymentDescription() {
@@ -347,17 +341,11 @@ class ApplicationDeploymentDescription {
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 ApplicationDeploymentDescription& obj);
};
void swap(ApplicationDeploymentDescription &a, ApplicationDeploymentDescription &b);
-inline std::ostream& operator<<(std::ostream& out, const ApplicationDeploymentDescription& 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/application_interface_model_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.cpp
index 9e26ad4..7669129 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_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/application_interface_model_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.h
index 128d8ec..534fb74 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_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/application_interface_model_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.cpp
index 69df9f2..cf6b13d 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_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
@@ -63,9 +63,11 @@ void ApplicationInterfaceDescription::__set_applicationOutputs(const std::vector
__isset.applicationOutputs = true;
}
+const char* ApplicationInterfaceDescription::ascii_fingerprint = "D41488A7C34E28C6E04EA596F09A1F6C";
+const uint8_t ApplicationInterfaceDescription::binary_fingerprint[16] = {0xD4,0x14,0x88,0xA7,0xC3,0x4E,0x28,0xC6,0xE0,0x4E,0xA5,0x96,0xF0,0x9A,0x1F,0x6C};
+
uint32_t ApplicationInterfaceDescription::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -188,7 +190,7 @@ uint32_t ApplicationInterfaceDescription::read(::apache::thrift::protocol::TProt
uint32_t ApplicationInterfaceDescription::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ApplicationInterfaceDescription");
xfer += oprot->writeFieldBegin("applicationInterfaceId", ::apache::thrift::protocol::T_STRING, 1);
@@ -245,6 +247,7 @@ uint32_t ApplicationInterfaceDescription::write(::apache::thrift::protocol::TPro
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -278,16 +281,17 @@ ApplicationInterfaceDescription& ApplicationInterfaceDescription::operator=(cons
__isset = other19.__isset;
return *this;
}
-void ApplicationInterfaceDescription::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ApplicationInterfaceDescription& obj) {
+ using apache::thrift::to_string;
out << "ApplicationInterfaceDescription(";
- out << "applicationInterfaceId=" << to_string(applicationInterfaceId);
- out << ", " << "applicationName=" << to_string(applicationName);
- out << ", " << "applicationDescription="; (__isset.applicationDescription ? (out << to_string(applicationDescription)) : (out << "<null>"));
- out << ", " << "applicationModules="; (__isset.applicationModules ? (out << to_string(applicationModules)) : (out << "<null>"));
- out << ", " << "applicationInputs="; (__isset.applicationInputs ? (out << to_string(applicationInputs)) : (out << "<null>"));
- out << ", " << "applicationOutputs="; (__isset.applicationOutputs ? (out << to_string(applicationOutputs)) : (out << "<null>"));
+ out << "applicationInterfaceId=" << to_string(obj.applicationInterfaceId);
+ out << ", " << "applicationName=" << to_string(obj.applicationName);
+ out << ", " << "applicationDescription="; (obj.__isset.applicationDescription ? (out << to_string(obj.applicationDescription)) : (out << "<null>"));
+ out << ", " << "applicationModules="; (obj.__isset.applicationModules ? (out << to_string(obj.applicationModules)) : (out << "<null>"));
+ out << ", " << "applicationInputs="; (obj.__isset.applicationInputs ? (out << to_string(obj.applicationInputs)) : (out << "<null>"));
+ out << ", " << "applicationOutputs="; (obj.__isset.applicationOutputs ? (out << to_string(obj.applicationOutputs)) : (out << "<null>"));
out << ")";
+ return out;
}
}}}}} // namespace