You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2014/04/17 04:17:35 UTC
[26/31] AIRAVATA-1144
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_constants.h
deleted file mode 100644
index bbe3692..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_constants.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataAPI_CONSTANTS_H
-#define airavataAPI_CONSTANTS_H
-
-#include "airavataAPI_types.h"
-
-namespace airavata { namespace api {
-
-class airavataAPIConstants {
- public:
- airavataAPIConstants();
-
- std::string AIRAVATA_API_VERSION;
-};
-
-extern const airavataAPIConstants g_airavataAPI_constants;
-
-}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.cpp
deleted file mode 100644
index 00822cd..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavataAPI_types.h"
-
-#include <algorithm>
-
-namespace airavata { namespace api {
-
-}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.h
deleted file mode 100644
index 3fab592..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataAPI_types.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataAPI_TYPES_H
-#define airavataAPI_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "airavataErrors_types.h"
-#include "airavataDataModel_types.h"
-#include "experimentModel_types.h"
-#include "workspaceModel_types.h"
-
-
-namespace airavata { namespace api {
-
-}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.cpp
deleted file mode 100644
index 934ab94..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavataDataModel_constants.h"
-
-
-
-const airavataDataModelConstants g_airavataDataModel_constants;
-
-airavataDataModelConstants::airavataDataModelConstants() {
-}
-
-
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.h
deleted file mode 100644
index e7de9f3..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_constants.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataDataModel_CONSTANTS_H
-#define airavataDataModel_CONSTANTS_H
-
-#include "airavataDataModel_types.h"
-
-
-
-class airavataDataModelConstants {
- public:
- airavataDataModelConstants();
-
-};
-
-extern const airavataDataModelConstants g_airavataDataModel_constants;
-
-
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.cpp
deleted file mode 100644
index c9492d8..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavataDataModel_types.h"
-
-#include <algorithm>
-
-
-
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.h
deleted file mode 100644
index addaf4b..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataDataModel_types.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataDataModel_TYPES_H
-#define airavataDataModel_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "workspaceModel_types.h"
-
-
-
-
-
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.cpp
deleted file mode 100644
index be2d0cb..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavataErrors_constants.h"
-
-namespace airavata { namespace api { namespace error {
-
-const airavataErrorsConstants g_airavataErrors_constants;
-
-airavataErrorsConstants::airavataErrorsConstants() {
-}
-
-}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.h
deleted file mode 100644
index b9823c0..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_constants.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataErrors_CONSTANTS_H
-#define airavataErrors_CONSTANTS_H
-
-#include "airavataErrors_types.h"
-
-namespace airavata { namespace api { namespace error {
-
-class airavataErrorsConstants {
- public:
- airavataErrorsConstants();
-
-};
-
-extern const airavataErrorsConstants g_airavataErrors_constants;
-
-}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.cpp
deleted file mode 100644
index e52eab2..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.cpp
+++ /dev/null
@@ -1,511 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavataErrors_types.h"
-
-#include <algorithm>
-
-namespace airavata { namespace api { namespace error {
-
-int _kAiravataErrorTypeValues[] = {
- AiravataErrorType::UNKNOWN,
- AiravataErrorType::PERMISSION_DENIED,
- AiravataErrorType::INTERNAL_ERROR,
- AiravataErrorType::AUTHENTICATION_FAILURE,
- AiravataErrorType::INVALID_AUTHORIZATION,
- AiravataErrorType::AUTHORIZATION_EXPIRED,
- AiravataErrorType::UNKNOWN_GATEWAY_ID,
- AiravataErrorType::UNSUPPORTED_OPERATION
-};
-const char* _kAiravataErrorTypeNames[] = {
- "UNKNOWN",
- "PERMISSION_DENIED",
- "INTERNAL_ERROR",
- "AUTHENTICATION_FAILURE",
- "INVALID_AUTHORIZATION",
- "AUTHORIZATION_EXPIRED",
- "UNKNOWN_GATEWAY_ID",
- "UNSUPPORTED_OPERATION"
-};
-const std::map<int, const char*> _AiravataErrorType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(8, _kAiravataErrorTypeValues, _kAiravataErrorTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-const char* ExperimentNotFoundException::ascii_fingerprint = "D0297FC5011701BD87898CC36146A565";
-const uint8_t ExperimentNotFoundException::binary_fingerprint[16] = {0xD0,0x29,0x7F,0xC5,0x01,0x17,0x01,0xBD,0x87,0x89,0x8C,0xC3,0x61,0x46,0xA5,0x65};
-
-uint32_t ExperimentNotFoundException::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->identifier);
- this->__isset.identifier = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->key);
- this->__isset.key = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t ExperimentNotFoundException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ExperimentNotFoundException");
-
- if (this->__isset.identifier) {
- xfer += oprot->writeFieldBegin("identifier", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->identifier);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.key) {
- xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->key);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ExperimentNotFoundException &a, ExperimentNotFoundException &b) {
- using ::std::swap;
- swap(a.identifier, b.identifier);
- swap(a.key, b.key);
- swap(a.__isset, b.__isset);
-}
-
-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) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_message = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->message);
- isset_message = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_message)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t InvalidRequestException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("InvalidRequestException");
-
- xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->message);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(InvalidRequestException &a, InvalidRequestException &b) {
- using ::std::swap;
- swap(a.message, b.message);
-}
-
-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) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- xfer += iprot->skip(ftype);
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t TimedOutException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("TimedOutException");
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(TimedOutException &a, TimedOutException &b) {
- using ::std::swap;
- (void) a;
- (void) b;
-}
-
-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) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_message = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->message);
- isset_message = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_message)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t AuthenticationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("AuthenticationException");
-
- xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->message);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(AuthenticationException &a, AuthenticationException &b) {
- using ::std::swap;
- swap(a.message, b.message);
-}
-
-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) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_message = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->message);
- isset_message = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_message)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t AuthorizationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("AuthorizationException");
-
- xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->message);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(AuthorizationException &a, AuthorizationException &b) {
- using ::std::swap;
- swap(a.message, b.message);
-}
-
-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) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_airavataErrorType = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast0;
- xfer += iprot->readI32(ecast0);
- this->airavataErrorType = (AiravataErrorType::type)ecast0;
- isset_airavataErrorType = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->parameter);
- this->__isset.parameter = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_airavataErrorType)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t AiravataClientException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("AiravataClientException");
-
- xfer += oprot->writeFieldBegin("airavataErrorType", ::apache::thrift::protocol::T_I32, 1);
- xfer += oprot->writeI32((int32_t)this->airavataErrorType);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.parameter) {
- xfer += oprot->writeFieldBegin("parameter", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->parameter);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(AiravataClientException &a, AiravataClientException &b) {
- using ::std::swap;
- swap(a.airavataErrorType, b.airavataErrorType);
- swap(a.parameter, b.parameter);
- swap(a.__isset, b.__isset);
-}
-
-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) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_airavataErrorType = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast1;
- xfer += iprot->readI32(ecast1);
- this->airavataErrorType = (AiravataErrorType::type)ecast1;
- isset_airavataErrorType = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->message);
- this->__isset.message = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_airavataErrorType)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t AiravataSystemException::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("AiravataSystemException");
-
- xfer += oprot->writeFieldBegin("airavataErrorType", ::apache::thrift::protocol::T_I32, 1);
- xfer += oprot->writeI32((int32_t)this->airavataErrorType);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.message) {
- xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->message);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(AiravataSystemException &a, AiravataSystemException &b) {
- using ::std::swap;
- swap(a.airavataErrorType, b.airavataErrorType);
- swap(a.message, b.message);
- swap(a.__isset, b.__isset);
-}
-
-}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.h
deleted file mode 100644
index 877051e..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/airavataErrors_types.h
+++ /dev/null
@@ -1,341 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataErrors_TYPES_H
-#define airavataErrors_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-
-
-namespace airavata { namespace api { namespace error {
-
-struct AiravataErrorType {
- enum type {
- UNKNOWN = 0,
- PERMISSION_DENIED = 1,
- INTERNAL_ERROR = 2,
- AUTHENTICATION_FAILURE = 3,
- INVALID_AUTHORIZATION = 4,
- AUTHORIZATION_EXPIRED = 5,
- UNKNOWN_GATEWAY_ID = 6,
- UNSUPPORTED_OPERATION = 7
- };
-};
-
-extern const std::map<int, const char*> _AiravataErrorType_VALUES_TO_NAMES;
-
-typedef struct _ExperimentNotFoundException__isset {
- _ExperimentNotFoundException__isset() : identifier(false), key(false) {}
- bool identifier;
- bool key;
-} _ExperimentNotFoundException__isset;
-
-class ExperimentNotFoundException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "D0297FC5011701BD87898CC36146A565";
- static const uint8_t binary_fingerprint[16]; // = {0xD0,0x29,0x7F,0xC5,0x01,0x17,0x01,0xBD,0x87,0x89,0x8C,0xC3,0x61,0x46,0xA5,0x65};
-
- ExperimentNotFoundException() : identifier(), key() {
- }
-
- virtual ~ExperimentNotFoundException() throw() {}
-
- std::string identifier;
- std::string key;
-
- _ExperimentNotFoundException__isset __isset;
-
- void __set_identifier(const std::string& val) {
- identifier = val;
- __isset.identifier = true;
- }
-
- void __set_key(const std::string& val) {
- key = val;
- __isset.key = true;
- }
-
- bool operator == (const ExperimentNotFoundException & rhs) const
- {
- if (__isset.identifier != rhs.__isset.identifier)
- return false;
- else if (__isset.identifier && !(identifier == rhs.identifier))
- return false;
- if (__isset.key != rhs.__isset.key)
- return false;
- else if (__isset.key && !(key == rhs.key))
- return false;
- return true;
- }
- bool operator != (const ExperimentNotFoundException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ExperimentNotFoundException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ExperimentNotFoundException &a, ExperimentNotFoundException &b);
-
-
-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() : message() {
- }
-
- virtual ~InvalidRequestException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const InvalidRequestException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const InvalidRequestException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const InvalidRequestException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(InvalidRequestException &a, InvalidRequestException &b);
-
-
-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() {
- }
-
- virtual ~TimedOutException() throw() {}
-
-
- bool operator == (const TimedOutException & /* rhs */) const
- {
- return true;
- }
- bool operator != (const TimedOutException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const TimedOutException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(TimedOutException &a, TimedOutException &b);
-
-
-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() : message() {
- }
-
- virtual ~AuthenticationException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const AuthenticationException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const AuthenticationException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AuthenticationException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AuthenticationException &a, AuthenticationException &b);
-
-
-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() : message() {
- }
-
- virtual ~AuthorizationException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const AuthorizationException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const AuthorizationException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AuthorizationException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AuthorizationException &a, AuthorizationException &b);
-
-typedef struct _AiravataClientException__isset {
- _AiravataClientException__isset() : parameter(false) {}
- bool parameter;
-} _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() : airavataErrorType((AiravataErrorType::type)0), parameter() {
- }
-
- virtual ~AiravataClientException() throw() {}
-
- AiravataErrorType::type airavataErrorType;
- std::string parameter;
-
- _AiravataClientException__isset __isset;
-
- void __set_airavataErrorType(const AiravataErrorType::type val) {
- airavataErrorType = val;
- }
-
- void __set_parameter(const std::string& val) {
- parameter = val;
- __isset.parameter = true;
- }
-
- bool operator == (const AiravataClientException & rhs) const
- {
- if (!(airavataErrorType == rhs.airavataErrorType))
- return false;
- if (__isset.parameter != rhs.__isset.parameter)
- return false;
- else if (__isset.parameter && !(parameter == rhs.parameter))
- return false;
- return true;
- }
- bool operator != (const AiravataClientException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AiravataClientException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AiravataClientException &a, AiravataClientException &b);
-
-typedef struct _AiravataSystemException__isset {
- _AiravataSystemException__isset() : message(false) {}
- bool message;
-} _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() : airavataErrorType((AiravataErrorType::type)0), message() {
- }
-
- virtual ~AiravataSystemException() throw() {}
-
- AiravataErrorType::type airavataErrorType;
- std::string message;
-
- _AiravataSystemException__isset __isset;
-
- void __set_airavataErrorType(const AiravataErrorType::type val) {
- airavataErrorType = val;
- }
-
- void __set_message(const std::string& val) {
- message = val;
- __isset.message = true;
- }
-
- bool operator == (const AiravataSystemException & rhs) const
- {
- if (!(airavataErrorType == rhs.airavataErrorType))
- return false;
- if (__isset.message != rhs.__isset.message)
- return false;
- else if (__isset.message && !(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const AiravataSystemException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AiravataSystemException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AiravataSystemException &a, AiravataSystemException &b);
-
-}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.cpp
deleted file mode 100644
index 9f94244..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "experimentModel_constants.h"
-
-
-
-const experimentModelConstants g_experimentModel_constants;
-
-experimentModelConstants::experimentModelConstants() {
- DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
- DEFAULT_PROJECT_NAME = "DEFAULT";
-
- SINGLE_APP_NODE_NAME = "SINGLE_APP_NODE";
-
-}
-
-
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/4903770b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.h
deleted file mode 100644
index 7525cc7..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/airavata-stubs/experimentModel_constants.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef experimentModel_CONSTANTS_H
-#define experimentModel_CONSTANTS_H
-
-#include "experimentModel_types.h"
-
-
-
-class experimentModelConstants {
- public:
- experimentModelConstants();
-
- std::string DEFAULT_ID;
- std::string DEFAULT_PROJECT_NAME;
- std::string SINGLE_APP_NODE_NAME;
-};
-
-extern const experimentModelConstants g_experimentModel_constants;
-
-
-
-#endif