http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/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 deleted file mode 100644 index 52598ef..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.cpp +++ /dev/null @@ -1,979 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#include "application_deployment_model_types.h" - -#include <algorithm> -#include <ostream> - -#include <thrift/TToString.h> - -namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment { - - -SetEnvPaths::~SetEnvPaths() throw() { -} - - -void SetEnvPaths::__set_name(const std::string& val) { - this->name = val; -} - -void SetEnvPaths::__set_value(const std::string& val) { - this->value = val; -} - -void SetEnvPaths::__set_envPathOrder(const int32_t val) { - this->envPathOrder = val; -__isset.envPathOrder = true; -} - -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; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_name = false; - bool isset_value = 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->name); - isset_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->value); - isset_value = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->envPathOrder); - this->__isset.envPathOrder = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_name) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_value) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t SetEnvPaths::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("SetEnvPaths"); - - xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->value); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.envPathOrder) { - xfer += oprot->writeFieldBegin("envPathOrder", ::apache::thrift::protocol::T_I32, 3); - xfer += oprot->writeI32(this->envPathOrder); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(SetEnvPaths &a, SetEnvPaths &b) { - using ::std::swap; - swap(a.name, b.name); - swap(a.value, b.value); - swap(a.envPathOrder, b.envPathOrder); - swap(a.__isset, b.__isset); -} - -SetEnvPaths::SetEnvPaths(const SetEnvPaths& other0) { - name = other0.name; - value = other0.value; - envPathOrder = other0.envPathOrder; - __isset = other0.__isset; -} -SetEnvPaths& SetEnvPaths::operator=(const SetEnvPaths& other1) { - name = other1.name; - value = other1.value; - envPathOrder = other1.envPathOrder; - __isset = other1.__isset; - return *this; -} -void SetEnvPaths::printTo(std::ostream& out) const { - 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 << ")"; -} - - -CommandObject::~CommandObject() throw() { -} - - -void CommandObject::__set_command(const std::string& val) { - this->command = val; -} - -void CommandObject::__set_commandOrder(const int32_t val) { - this->commandOrder = val; -__isset.commandOrder = true; -} - -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; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_command = 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->command); - isset_command = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->commandOrder); - this->__isset.commandOrder = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_command) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t CommandObject::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("CommandObject"); - - xfer += oprot->writeFieldBegin("command", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->command); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.commandOrder) { - xfer += oprot->writeFieldBegin("commandOrder", ::apache::thrift::protocol::T_I32, 2); - xfer += oprot->writeI32(this->commandOrder); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(CommandObject &a, CommandObject &b) { - using ::std::swap; - swap(a.command, b.command); - swap(a.commandOrder, b.commandOrder); - swap(a.__isset, b.__isset); -} - -CommandObject::CommandObject(const CommandObject& other2) { - command = other2.command; - commandOrder = other2.commandOrder; - __isset = other2.__isset; -} -CommandObject& CommandObject::operator=(const CommandObject& other3) { - command = other3.command; - commandOrder = other3.commandOrder; - __isset = other3.__isset; - return *this; -} -void CommandObject::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "CommandObject("; - out << "command=" << to_string(command); - out << ", " << "commandOrder="; (__isset.commandOrder ? (out << to_string(commandOrder)) : (out << "<null>")); - out << ")"; -} - - -ApplicationModule::~ApplicationModule() throw() { -} - - -void ApplicationModule::__set_appModuleId(const std::string& val) { - this->appModuleId = val; -} - -void ApplicationModule::__set_appModuleName(const std::string& val) { - this->appModuleName = val; -} - -void ApplicationModule::__set_appModuleVersion(const std::string& val) { - this->appModuleVersion = val; -__isset.appModuleVersion = true; -} - -void ApplicationModule::__set_appModuleDescription(const std::string& val) { - this->appModuleDescription = val; -__isset.appModuleDescription = true; -} - -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; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_appModuleId = false; - bool isset_appModuleName = 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->appModuleId); - isset_appModuleId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->appModuleName); - isset_appModuleName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->appModuleVersion); - this->__isset.appModuleVersion = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->appModuleDescription); - this->__isset.appModuleDescription = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_appModuleId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_appModuleName) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t ApplicationModule::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ApplicationModule"); - - xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->appModuleId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("appModuleName", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->appModuleName); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.appModuleVersion) { - xfer += oprot->writeFieldBegin("appModuleVersion", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->appModuleVersion); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.appModuleDescription) { - xfer += oprot->writeFieldBegin("appModuleDescription", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->appModuleDescription); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ApplicationModule &a, ApplicationModule &b) { - using ::std::swap; - swap(a.appModuleId, b.appModuleId); - swap(a.appModuleName, b.appModuleName); - swap(a.appModuleVersion, b.appModuleVersion); - swap(a.appModuleDescription, b.appModuleDescription); - swap(a.__isset, b.__isset); -} - -ApplicationModule::ApplicationModule(const ApplicationModule& other4) { - appModuleId = other4.appModuleId; - appModuleName = other4.appModuleName; - appModuleVersion = other4.appModuleVersion; - appModuleDescription = other4.appModuleDescription; - __isset = other4.__isset; -} -ApplicationModule& ApplicationModule::operator=(const ApplicationModule& other5) { - appModuleId = other5.appModuleId; - appModuleName = other5.appModuleName; - appModuleVersion = other5.appModuleVersion; - appModuleDescription = other5.appModuleDescription; - __isset = other5.__isset; - return *this; -} -void ApplicationModule::printTo(std::ostream& out) const { - 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 << ")"; -} - - -ApplicationDeploymentDescription::~ApplicationDeploymentDescription() throw() { -} - - -void ApplicationDeploymentDescription::__set_appDeploymentId(const std::string& val) { - this->appDeploymentId = val; -} - -void ApplicationDeploymentDescription::__set_appModuleId(const std::string& val) { - this->appModuleId = val; -} - -void ApplicationDeploymentDescription::__set_computeHostId(const std::string& val) { - this->computeHostId = val; -} - -void ApplicationDeploymentDescription::__set_executablePath(const std::string& val) { - this->executablePath = val; -} - -void ApplicationDeploymentDescription::__set_parallelism(const ::apache::airavata::model::appcatalog::parallelism::ApplicationParallelismType::type val) { - this->parallelism = val; -} - -void ApplicationDeploymentDescription::__set_appDeploymentDescription(const std::string& val) { - this->appDeploymentDescription = val; -__isset.appDeploymentDescription = true; -} - -void ApplicationDeploymentDescription::__set_moduleLoadCmds(const std::vector<CommandObject> & val) { - this->moduleLoadCmds = val; -__isset.moduleLoadCmds = true; -} - -void ApplicationDeploymentDescription::__set_libPrependPaths(const std::vector<SetEnvPaths> & val) { - this->libPrependPaths = val; -__isset.libPrependPaths = true; -} - -void ApplicationDeploymentDescription::__set_libAppendPaths(const std::vector<SetEnvPaths> & val) { - this->libAppendPaths = val; -__isset.libAppendPaths = true; -} - -void ApplicationDeploymentDescription::__set_setEnvironment(const std::vector<SetEnvPaths> & val) { - this->setEnvironment = val; -__isset.setEnvironment = true; -} - -void ApplicationDeploymentDescription::__set_preJobCommands(const std::vector<CommandObject> & val) { - this->preJobCommands = val; -__isset.preJobCommands = true; -} - -void ApplicationDeploymentDescription::__set_postJobCommands(const std::vector<CommandObject> & val) { - this->postJobCommands = val; -__isset.postJobCommands = true; -} - -void ApplicationDeploymentDescription::__set_defaultQueueName(const std::string& val) { - this->defaultQueueName = val; -__isset.defaultQueueName = true; -} - -void ApplicationDeploymentDescription::__set_defaultNodeCount(const int32_t val) { - this->defaultNodeCount = val; -__isset.defaultNodeCount = true; -} - -void ApplicationDeploymentDescription::__set_defaultCPUCount(const int32_t val) { - this->defaultCPUCount = val; -__isset.defaultCPUCount = true; -} - -void ApplicationDeploymentDescription::__set_editableByUser(const bool val) { - this->editableByUser = val; -__isset.editableByUser = true; -} - -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; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_appDeploymentId = false; - bool isset_appModuleId = false; - bool isset_computeHostId = false; - bool isset_executablePath = false; - bool isset_parallelism = 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->appDeploymentId); - isset_appDeploymentId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->appModuleId); - isset_appModuleId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->computeHostId); - isset_computeHostId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->executablePath); - isset_executablePath = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast6; - xfer += iprot->readI32(ecast6); - this->parallelism = ( ::apache::airavata::model::appcatalog::parallelism::ApplicationParallelismType::type)ecast6; - isset_parallelism = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->appDeploymentDescription); - this->__isset.appDeploymentDescription = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->moduleLoadCmds.clear(); - uint32_t _size7; - ::apache::thrift::protocol::TType _etype10; - xfer += iprot->readListBegin(_etype10, _size7); - this->moduleLoadCmds.resize(_size7); - uint32_t _i11; - for (_i11 = 0; _i11 < _size7; ++_i11) - { - xfer += this->moduleLoadCmds[_i11].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.moduleLoadCmds = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->libPrependPaths.clear(); - uint32_t _size12; - ::apache::thrift::protocol::TType _etype15; - xfer += iprot->readListBegin(_etype15, _size12); - this->libPrependPaths.resize(_size12); - uint32_t _i16; - for (_i16 = 0; _i16 < _size12; ++_i16) - { - xfer += this->libPrependPaths[_i16].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.libPrependPaths = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 9: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->libAppendPaths.clear(); - uint32_t _size17; - ::apache::thrift::protocol::TType _etype20; - xfer += iprot->readListBegin(_etype20, _size17); - this->libAppendPaths.resize(_size17); - uint32_t _i21; - for (_i21 = 0; _i21 < _size17; ++_i21) - { - xfer += this->libAppendPaths[_i21].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.libAppendPaths = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 10: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->setEnvironment.clear(); - uint32_t _size22; - ::apache::thrift::protocol::TType _etype25; - xfer += iprot->readListBegin(_etype25, _size22); - this->setEnvironment.resize(_size22); - uint32_t _i26; - for (_i26 = 0; _i26 < _size22; ++_i26) - { - xfer += this->setEnvironment[_i26].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.setEnvironment = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 11: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->preJobCommands.clear(); - uint32_t _size27; - ::apache::thrift::protocol::TType _etype30; - xfer += iprot->readListBegin(_etype30, _size27); - this->preJobCommands.resize(_size27); - uint32_t _i31; - for (_i31 = 0; _i31 < _size27; ++_i31) - { - xfer += this->preJobCommands[_i31].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.preJobCommands = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 12: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->postJobCommands.clear(); - uint32_t _size32; - ::apache::thrift::protocol::TType _etype35; - xfer += iprot->readListBegin(_etype35, _size32); - this->postJobCommands.resize(_size32); - uint32_t _i36; - for (_i36 = 0; _i36 < _size32; ++_i36) - { - xfer += this->postJobCommands[_i36].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.postJobCommands = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 13: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->defaultQueueName); - this->__isset.defaultQueueName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 14: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->defaultNodeCount); - this->__isset.defaultNodeCount = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 15: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->defaultCPUCount); - this->__isset.defaultCPUCount = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 16: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->editableByUser); - this->__isset.editableByUser = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_appDeploymentId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_appModuleId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeHostId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_executablePath) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_parallelism) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t ApplicationDeploymentDescription::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ApplicationDeploymentDescription"); - - xfer += oprot->writeFieldBegin("appDeploymentId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->appDeploymentId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->appModuleId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("computeHostId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->computeHostId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("executablePath", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->executablePath); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("parallelism", ::apache::thrift::protocol::T_I32, 5); - xfer += oprot->writeI32((int32_t)this->parallelism); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.appDeploymentDescription) { - xfer += oprot->writeFieldBegin("appDeploymentDescription", ::apache::thrift::protocol::T_STRING, 6); - xfer += oprot->writeString(this->appDeploymentDescription); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.moduleLoadCmds) { - xfer += oprot->writeFieldBegin("moduleLoadCmds", ::apache::thrift::protocol::T_LIST, 7); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->moduleLoadCmds.size())); - std::vector<CommandObject> ::const_iterator _iter37; - for (_iter37 = this->moduleLoadCmds.begin(); _iter37 != this->moduleLoadCmds.end(); ++_iter37) - { - xfer += (*_iter37).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.libPrependPaths) { - xfer += oprot->writeFieldBegin("libPrependPaths", ::apache::thrift::protocol::T_LIST, 8); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->libPrependPaths.size())); - std::vector<SetEnvPaths> ::const_iterator _iter38; - for (_iter38 = this->libPrependPaths.begin(); _iter38 != this->libPrependPaths.end(); ++_iter38) - { - xfer += (*_iter38).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.libAppendPaths) { - xfer += oprot->writeFieldBegin("libAppendPaths", ::apache::thrift::protocol::T_LIST, 9); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->libAppendPaths.size())); - std::vector<SetEnvPaths> ::const_iterator _iter39; - for (_iter39 = this->libAppendPaths.begin(); _iter39 != this->libAppendPaths.end(); ++_iter39) - { - xfer += (*_iter39).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.setEnvironment) { - xfer += oprot->writeFieldBegin("setEnvironment", ::apache::thrift::protocol::T_LIST, 10); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->setEnvironment.size())); - std::vector<SetEnvPaths> ::const_iterator _iter40; - for (_iter40 = this->setEnvironment.begin(); _iter40 != this->setEnvironment.end(); ++_iter40) - { - xfer += (*_iter40).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.preJobCommands) { - xfer += oprot->writeFieldBegin("preJobCommands", ::apache::thrift::protocol::T_LIST, 11); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->preJobCommands.size())); - std::vector<CommandObject> ::const_iterator _iter41; - for (_iter41 = this->preJobCommands.begin(); _iter41 != this->preJobCommands.end(); ++_iter41) - { - xfer += (*_iter41).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.postJobCommands) { - xfer += oprot->writeFieldBegin("postJobCommands", ::apache::thrift::protocol::T_LIST, 12); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->postJobCommands.size())); - std::vector<CommandObject> ::const_iterator _iter42; - for (_iter42 = this->postJobCommands.begin(); _iter42 != this->postJobCommands.end(); ++_iter42) - { - xfer += (*_iter42).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.defaultQueueName) { - xfer += oprot->writeFieldBegin("defaultQueueName", ::apache::thrift::protocol::T_STRING, 13); - xfer += oprot->writeString(this->defaultQueueName); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.defaultNodeCount) { - xfer += oprot->writeFieldBegin("defaultNodeCount", ::apache::thrift::protocol::T_I32, 14); - xfer += oprot->writeI32(this->defaultNodeCount); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.defaultCPUCount) { - xfer += oprot->writeFieldBegin("defaultCPUCount", ::apache::thrift::protocol::T_I32, 15); - xfer += oprot->writeI32(this->defaultCPUCount); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.editableByUser) { - xfer += oprot->writeFieldBegin("editableByUser", ::apache::thrift::protocol::T_BOOL, 16); - xfer += oprot->writeBool(this->editableByUser); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ApplicationDeploymentDescription &a, ApplicationDeploymentDescription &b) { - using ::std::swap; - swap(a.appDeploymentId, b.appDeploymentId); - swap(a.appModuleId, b.appModuleId); - swap(a.computeHostId, b.computeHostId); - swap(a.executablePath, b.executablePath); - swap(a.parallelism, b.parallelism); - swap(a.appDeploymentDescription, b.appDeploymentDescription); - swap(a.moduleLoadCmds, b.moduleLoadCmds); - swap(a.libPrependPaths, b.libPrependPaths); - swap(a.libAppendPaths, b.libAppendPaths); - swap(a.setEnvironment, b.setEnvironment); - swap(a.preJobCommands, b.preJobCommands); - swap(a.postJobCommands, b.postJobCommands); - swap(a.defaultQueueName, b.defaultQueueName); - swap(a.defaultNodeCount, b.defaultNodeCount); - swap(a.defaultCPUCount, b.defaultCPUCount); - swap(a.editableByUser, b.editableByUser); - swap(a.__isset, b.__isset); -} - -ApplicationDeploymentDescription::ApplicationDeploymentDescription(const ApplicationDeploymentDescription& other43) { - appDeploymentId = other43.appDeploymentId; - appModuleId = other43.appModuleId; - computeHostId = other43.computeHostId; - executablePath = other43.executablePath; - parallelism = other43.parallelism; - appDeploymentDescription = other43.appDeploymentDescription; - moduleLoadCmds = other43.moduleLoadCmds; - libPrependPaths = other43.libPrependPaths; - libAppendPaths = other43.libAppendPaths; - setEnvironment = other43.setEnvironment; - preJobCommands = other43.preJobCommands; - postJobCommands = other43.postJobCommands; - defaultQueueName = other43.defaultQueueName; - defaultNodeCount = other43.defaultNodeCount; - defaultCPUCount = other43.defaultCPUCount; - editableByUser = other43.editableByUser; - __isset = other43.__isset; -} -ApplicationDeploymentDescription& ApplicationDeploymentDescription::operator=(const ApplicationDeploymentDescription& other44) { - appDeploymentId = other44.appDeploymentId; - appModuleId = other44.appModuleId; - computeHostId = other44.computeHostId; - executablePath = other44.executablePath; - parallelism = other44.parallelism; - appDeploymentDescription = other44.appDeploymentDescription; - moduleLoadCmds = other44.moduleLoadCmds; - libPrependPaths = other44.libPrependPaths; - libAppendPaths = other44.libAppendPaths; - setEnvironment = other44.setEnvironment; - preJobCommands = other44.preJobCommands; - postJobCommands = other44.postJobCommands; - defaultQueueName = other44.defaultQueueName; - defaultNodeCount = other44.defaultNodeCount; - defaultCPUCount = other44.defaultCPUCount; - editableByUser = other44.editableByUser; - __isset = other44.__isset; - return *this; -} -void ApplicationDeploymentDescription::printTo(std::ostream& out) const { - 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 << ", " << "defaultQueueName="; (__isset.defaultQueueName ? (out << to_string(defaultQueueName)) : (out << "<null>")); - out << ", " << "defaultNodeCount="; (__isset.defaultNodeCount ? (out << to_string(defaultNodeCount)) : (out << "<null>")); - out << ", " << "defaultCPUCount="; (__isset.defaultCPUCount ? (out << to_string(defaultCPUCount)) : (out << "<null>")); - out << ", " << "editableByUser="; (__isset.editableByUser ? (out << to_string(editableByUser)) : (out << "<null>")); - out << ")"; -} - -}}}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/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 deleted file mode 100644 index 42599df..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_deployment_model_types.h +++ /dev/null @@ -1,383 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#ifndef application_deployment_model_TYPES_H -#define application_deployment_model_TYPES_H - -#include <iosfwd> - -#include <thrift/Thrift.h> -#include <thrift/TApplicationException.h> -#include <thrift/protocol/TProtocol.h> -#include <thrift/transport/TTransport.h> - -#include <thrift/cxxfunctional.h> -#include "airavata_commons_types.h" -#include "parallelism_model_types.h" - - -namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment { - -class SetEnvPaths; - -class CommandObject; - -class ApplicationModule; - -class ApplicationDeploymentDescription; - -typedef struct _SetEnvPaths__isset { - _SetEnvPaths__isset() : envPathOrder(false) {} - bool envPathOrder :1; -} _SetEnvPaths__isset; - -class SetEnvPaths { - public: - - SetEnvPaths(const SetEnvPaths&); - SetEnvPaths& operator=(const SetEnvPaths&); - SetEnvPaths() : name(), value(), envPathOrder(0) { - } - - virtual ~SetEnvPaths() throw(); - std::string name; - std::string value; - int32_t envPathOrder; - - _SetEnvPaths__isset __isset; - - void __set_name(const std::string& val); - - void __set_value(const std::string& val); - - void __set_envPathOrder(const int32_t val); - - bool operator == (const SetEnvPaths & rhs) const - { - if (!(name == rhs.name)) - return false; - if (!(value == rhs.value)) - return false; - if (__isset.envPathOrder != rhs.__isset.envPathOrder) - return false; - else if (__isset.envPathOrder && !(envPathOrder == rhs.envPathOrder)) - return false; - return true; - } - bool operator != (const SetEnvPaths &rhs) const { - return !(*this == rhs); - } - - bool operator < (const SetEnvPaths & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -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; -} _CommandObject__isset; - -class CommandObject { - public: - - CommandObject(const CommandObject&); - CommandObject& operator=(const CommandObject&); - CommandObject() : command(), commandOrder(0) { - } - - virtual ~CommandObject() throw(); - std::string command; - int32_t commandOrder; - - _CommandObject__isset __isset; - - void __set_command(const std::string& val); - - void __set_commandOrder(const int32_t val); - - bool operator == (const CommandObject & rhs) const - { - if (!(command == rhs.command)) - return false; - if (__isset.commandOrder != rhs.__isset.commandOrder) - return false; - else if (__isset.commandOrder && !(commandOrder == rhs.commandOrder)) - return false; - return true; - } - bool operator != (const CommandObject &rhs) const { - return !(*this == rhs); - } - - bool operator < (const CommandObject & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -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; - bool appModuleDescription :1; -} _ApplicationModule__isset; - -class ApplicationModule { - public: - - ApplicationModule(const ApplicationModule&); - ApplicationModule& operator=(const ApplicationModule&); - ApplicationModule() : appModuleId("DO_NOT_SET_AT_CLIENTS"), appModuleName(), appModuleVersion(), appModuleDescription() { - } - - virtual ~ApplicationModule() throw(); - std::string appModuleId; - std::string appModuleName; - std::string appModuleVersion; - std::string appModuleDescription; - - _ApplicationModule__isset __isset; - - void __set_appModuleId(const std::string& val); - - void __set_appModuleName(const std::string& val); - - void __set_appModuleVersion(const std::string& val); - - void __set_appModuleDescription(const std::string& val); - - bool operator == (const ApplicationModule & rhs) const - { - if (!(appModuleId == rhs.appModuleId)) - return false; - if (!(appModuleName == rhs.appModuleName)) - return false; - if (__isset.appModuleVersion != rhs.__isset.appModuleVersion) - return false; - else if (__isset.appModuleVersion && !(appModuleVersion == rhs.appModuleVersion)) - return false; - if (__isset.appModuleDescription != rhs.__isset.appModuleDescription) - return false; - else if (__isset.appModuleDescription && !(appModuleDescription == rhs.appModuleDescription)) - return false; - return true; - } - bool operator != (const ApplicationModule &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ApplicationModule & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -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), defaultQueueName(false), defaultNodeCount(false), defaultCPUCount(false), editableByUser(false) {} - bool appDeploymentDescription :1; - bool moduleLoadCmds :1; - bool libPrependPaths :1; - bool libAppendPaths :1; - bool setEnvironment :1; - bool preJobCommands :1; - bool postJobCommands :1; - bool defaultQueueName :1; - bool defaultNodeCount :1; - bool defaultCPUCount :1; - bool editableByUser :1; -} _ApplicationDeploymentDescription__isset; - -class ApplicationDeploymentDescription { - public: - - ApplicationDeploymentDescription(const ApplicationDeploymentDescription&); - ApplicationDeploymentDescription& operator=(const ApplicationDeploymentDescription&); - ApplicationDeploymentDescription() : appDeploymentId("DO_NOT_SET_AT_CLIENTS"), appModuleId(), computeHostId(), executablePath(), parallelism(( ::apache::airavata::model::appcatalog::parallelism::ApplicationParallelismType::type)0), appDeploymentDescription(), defaultQueueName(), defaultNodeCount(0), defaultCPUCount(0), editableByUser(0) { - parallelism = ( ::apache::airavata::model::appcatalog::parallelism::ApplicationParallelismType::type)0; - - } - - virtual ~ApplicationDeploymentDescription() throw(); - std::string appDeploymentId; - std::string appModuleId; - std::string computeHostId; - std::string executablePath; - ::apache::airavata::model::appcatalog::parallelism::ApplicationParallelismType::type parallelism; - std::string appDeploymentDescription; - std::vector<CommandObject> moduleLoadCmds; - std::vector<SetEnvPaths> libPrependPaths; - std::vector<SetEnvPaths> libAppendPaths; - std::vector<SetEnvPaths> setEnvironment; - std::vector<CommandObject> preJobCommands; - std::vector<CommandObject> postJobCommands; - std::string defaultQueueName; - int32_t defaultNodeCount; - int32_t defaultCPUCount; - bool editableByUser; - - _ApplicationDeploymentDescription__isset __isset; - - void __set_appDeploymentId(const std::string& val); - - void __set_appModuleId(const std::string& val); - - void __set_computeHostId(const std::string& val); - - void __set_executablePath(const std::string& val); - - void __set_parallelism(const ::apache::airavata::model::appcatalog::parallelism::ApplicationParallelismType::type val); - - void __set_appDeploymentDescription(const std::string& val); - - void __set_moduleLoadCmds(const std::vector<CommandObject> & val); - - void __set_libPrependPaths(const std::vector<SetEnvPaths> & val); - - void __set_libAppendPaths(const std::vector<SetEnvPaths> & val); - - void __set_setEnvironment(const std::vector<SetEnvPaths> & val); - - void __set_preJobCommands(const std::vector<CommandObject> & val); - - void __set_postJobCommands(const std::vector<CommandObject> & val); - - void __set_defaultQueueName(const std::string& val); - - void __set_defaultNodeCount(const int32_t val); - - void __set_defaultCPUCount(const int32_t val); - - void __set_editableByUser(const bool val); - - bool operator == (const ApplicationDeploymentDescription & rhs) const - { - if (!(appDeploymentId == rhs.appDeploymentId)) - return false; - if (!(appModuleId == rhs.appModuleId)) - return false; - if (!(computeHostId == rhs.computeHostId)) - return false; - if (!(executablePath == rhs.executablePath)) - return false; - if (!(parallelism == rhs.parallelism)) - return false; - if (__isset.appDeploymentDescription != rhs.__isset.appDeploymentDescription) - return false; - else if (__isset.appDeploymentDescription && !(appDeploymentDescription == rhs.appDeploymentDescription)) - return false; - if (__isset.moduleLoadCmds != rhs.__isset.moduleLoadCmds) - return false; - else if (__isset.moduleLoadCmds && !(moduleLoadCmds == rhs.moduleLoadCmds)) - return false; - if (__isset.libPrependPaths != rhs.__isset.libPrependPaths) - return false; - else if (__isset.libPrependPaths && !(libPrependPaths == rhs.libPrependPaths)) - return false; - if (__isset.libAppendPaths != rhs.__isset.libAppendPaths) - return false; - else if (__isset.libAppendPaths && !(libAppendPaths == rhs.libAppendPaths)) - return false; - if (__isset.setEnvironment != rhs.__isset.setEnvironment) - return false; - else if (__isset.setEnvironment && !(setEnvironment == rhs.setEnvironment)) - return false; - if (__isset.preJobCommands != rhs.__isset.preJobCommands) - return false; - else if (__isset.preJobCommands && !(preJobCommands == rhs.preJobCommands)) - return false; - if (__isset.postJobCommands != rhs.__isset.postJobCommands) - return false; - else if (__isset.postJobCommands && !(postJobCommands == rhs.postJobCommands)) - return false; - if (__isset.defaultQueueName != rhs.__isset.defaultQueueName) - return false; - else if (__isset.defaultQueueName && !(defaultQueueName == rhs.defaultQueueName)) - return false; - if (__isset.defaultNodeCount != rhs.__isset.defaultNodeCount) - return false; - else if (__isset.defaultNodeCount && !(defaultNodeCount == rhs.defaultNodeCount)) - return false; - if (__isset.defaultCPUCount != rhs.__isset.defaultCPUCount) - return false; - else if (__isset.defaultCPUCount && !(defaultCPUCount == rhs.defaultCPUCount)) - return false; - if (__isset.editableByUser != rhs.__isset.editableByUser) - return false; - else if (__isset.editableByUser && !(editableByUser == rhs.editableByUser)) - return false; - return true; - } - bool operator != (const ApplicationDeploymentDescription &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ApplicationDeploymentDescription & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -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-php-gateway/blob/d55608f1/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 deleted file mode 100644 index 9e26ad4..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#include "application_interface_model_constants.h" - -namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface { - -const application_interface_modelConstants g_application_interface_model_constants; - -application_interface_modelConstants::application_interface_modelConstants() { -} - -}}}}} // namespace - http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/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 deleted file mode 100644 index 128d8ec..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_constants.h +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#ifndef application_interface_model_CONSTANTS_H -#define application_interface_model_CONSTANTS_H - -#include "application_interface_model_types.h" - -namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface { - -class application_interface_modelConstants { - public: - application_interface_modelConstants(); - -}; - -extern const application_interface_modelConstants g_application_interface_model_constants; - -}}}}} // namespace - -#endif http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/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 deleted file mode 100644 index c69f85a..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.cpp +++ /dev/null @@ -1,337 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#include "application_interface_model_types.h" - -#include <algorithm> -#include <ostream> - -#include <thrift/TToString.h> - -namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface { - - -ApplicationInterfaceDescription::~ApplicationInterfaceDescription() throw() { -} - - -void ApplicationInterfaceDescription::__set_applicationInterfaceId(const std::string& val) { - this->applicationInterfaceId = val; -} - -void ApplicationInterfaceDescription::__set_applicationName(const std::string& val) { - this->applicationName = val; -} - -void ApplicationInterfaceDescription::__set_applicationDescription(const std::string& val) { - this->applicationDescription = val; -__isset.applicationDescription = true; -} - -void ApplicationInterfaceDescription::__set_applicationModules(const std::vector<std::string> & val) { - this->applicationModules = val; -__isset.applicationModules = true; -} - -void ApplicationInterfaceDescription::__set_applicationInputs(const std::vector< ::apache::airavata::model::application::io::InputDataObjectType> & val) { - this->applicationInputs = val; -__isset.applicationInputs = true; -} - -void ApplicationInterfaceDescription::__set_applicationOutputs(const std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> & val) { - this->applicationOutputs = val; -__isset.applicationOutputs = true; -} - -void ApplicationInterfaceDescription::__set_archiveWorkingDirectory(const bool val) { - this->archiveWorkingDirectory = val; -__isset.archiveWorkingDirectory = true; -} - -void ApplicationInterfaceDescription::__set_hasOptionalFileInputs(const bool val) { - this->hasOptionalFileInputs = val; -__isset.hasOptionalFileInputs = true; -} - -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; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_applicationInterfaceId = false; - bool isset_applicationName = 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->applicationInterfaceId); - isset_applicationInterfaceId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->applicationName); - isset_applicationName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->applicationDescription); - this->__isset.applicationDescription = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->applicationModules.clear(); - uint32_t _size0; - ::apache::thrift::protocol::TType _etype3; - xfer += iprot->readListBegin(_etype3, _size0); - this->applicationModules.resize(_size0); - uint32_t _i4; - for (_i4 = 0; _i4 < _size0; ++_i4) - { - xfer += iprot->readString(this->applicationModules[_i4]); - } - xfer += iprot->readListEnd(); - } - this->__isset.applicationModules = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->applicationInputs.clear(); - uint32_t _size5; - ::apache::thrift::protocol::TType _etype8; - xfer += iprot->readListBegin(_etype8, _size5); - this->applicationInputs.resize(_size5); - uint32_t _i9; - for (_i9 = 0; _i9 < _size5; ++_i9) - { - xfer += this->applicationInputs[_i9].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.applicationInputs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->applicationOutputs.clear(); - uint32_t _size10; - ::apache::thrift::protocol::TType _etype13; - xfer += iprot->readListBegin(_etype13, _size10); - this->applicationOutputs.resize(_size10); - uint32_t _i14; - for (_i14 = 0; _i14 < _size10; ++_i14) - { - xfer += this->applicationOutputs[_i14].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.applicationOutputs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 7: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->archiveWorkingDirectory); - this->__isset.archiveWorkingDirectory = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 8: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->hasOptionalFileInputs); - this->__isset.hasOptionalFileInputs = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_applicationInterfaceId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_applicationName) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t ApplicationInterfaceDescription::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ApplicationInterfaceDescription"); - - xfer += oprot->writeFieldBegin("applicationInterfaceId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->applicationInterfaceId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("applicationName", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->applicationName); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.applicationDescription) { - xfer += oprot->writeFieldBegin("applicationDescription", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->applicationDescription); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.applicationModules) { - xfer += oprot->writeFieldBegin("applicationModules", ::apache::thrift::protocol::T_LIST, 4); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->applicationModules.size())); - std::vector<std::string> ::const_iterator _iter15; - for (_iter15 = this->applicationModules.begin(); _iter15 != this->applicationModules.end(); ++_iter15) - { - xfer += oprot->writeString((*_iter15)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.applicationInputs) { - xfer += oprot->writeFieldBegin("applicationInputs", ::apache::thrift::protocol::T_LIST, 5); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->applicationInputs.size())); - std::vector< ::apache::airavata::model::application::io::InputDataObjectType> ::const_iterator _iter16; - for (_iter16 = this->applicationInputs.begin(); _iter16 != this->applicationInputs.end(); ++_iter16) - { - xfer += (*_iter16).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.applicationOutputs) { - xfer += oprot->writeFieldBegin("applicationOutputs", ::apache::thrift::protocol::T_LIST, 6); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->applicationOutputs.size())); - std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter17; - for (_iter17 = this->applicationOutputs.begin(); _iter17 != this->applicationOutputs.end(); ++_iter17) - { - xfer += (*_iter17).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.archiveWorkingDirectory) { - xfer += oprot->writeFieldBegin("archiveWorkingDirectory", ::apache::thrift::protocol::T_BOOL, 7); - xfer += oprot->writeBool(this->archiveWorkingDirectory); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.hasOptionalFileInputs) { - xfer += oprot->writeFieldBegin("hasOptionalFileInputs", ::apache::thrift::protocol::T_BOOL, 8); - xfer += oprot->writeBool(this->hasOptionalFileInputs); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(ApplicationInterfaceDescription &a, ApplicationInterfaceDescription &b) { - using ::std::swap; - swap(a.applicationInterfaceId, b.applicationInterfaceId); - swap(a.applicationName, b.applicationName); - swap(a.applicationDescription, b.applicationDescription); - swap(a.applicationModules, b.applicationModules); - swap(a.applicationInputs, b.applicationInputs); - swap(a.applicationOutputs, b.applicationOutputs); - swap(a.archiveWorkingDirectory, b.archiveWorkingDirectory); - swap(a.hasOptionalFileInputs, b.hasOptionalFileInputs); - swap(a.__isset, b.__isset); -} - -ApplicationInterfaceDescription::ApplicationInterfaceDescription(const ApplicationInterfaceDescription& other18) { - applicationInterfaceId = other18.applicationInterfaceId; - applicationName = other18.applicationName; - applicationDescription = other18.applicationDescription; - applicationModules = other18.applicationModules; - applicationInputs = other18.applicationInputs; - applicationOutputs = other18.applicationOutputs; - archiveWorkingDirectory = other18.archiveWorkingDirectory; - hasOptionalFileInputs = other18.hasOptionalFileInputs; - __isset = other18.__isset; -} -ApplicationInterfaceDescription& ApplicationInterfaceDescription::operator=(const ApplicationInterfaceDescription& other19) { - applicationInterfaceId = other19.applicationInterfaceId; - applicationName = other19.applicationName; - applicationDescription = other19.applicationDescription; - applicationModules = other19.applicationModules; - applicationInputs = other19.applicationInputs; - applicationOutputs = other19.applicationOutputs; - archiveWorkingDirectory = other19.archiveWorkingDirectory; - hasOptionalFileInputs = other19.hasOptionalFileInputs; - __isset = other19.__isset; - return *this; -} -void ApplicationInterfaceDescription::printTo(std::ostream& out) const { - 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 << ", " << "archiveWorkingDirectory="; (__isset.archiveWorkingDirectory ? (out << to_string(archiveWorkingDirectory)) : (out << "<null>")); - out << ", " << "hasOptionalFileInputs="; (__isset.hasOptionalFileInputs ? (out << to_string(hasOptionalFileInputs)) : (out << "<null>")); - out << ")"; -} - -}}}}} // namespace http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.h deleted file mode 100644 index 96d61d7..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_interface_model_types.h +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#ifndef application_interface_model_TYPES_H -#define application_interface_model_TYPES_H - -#include <iosfwd> - -#include <thrift/Thrift.h> -#include <thrift/TApplicationException.h> -#include <thrift/protocol/TProtocol.h> -#include <thrift/transport/TTransport.h> - -#include <thrift/cxxfunctional.h> -#include "application_io_models_types.h" -#include "airavata_commons_types.h" - - -namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface { - -class ApplicationInterfaceDescription; - -typedef struct _ApplicationInterfaceDescription__isset { - _ApplicationInterfaceDescription__isset() : applicationDescription(false), applicationModules(false), applicationInputs(false), applicationOutputs(false), archiveWorkingDirectory(true), hasOptionalFileInputs(false) {} - bool applicationDescription :1; - bool applicationModules :1; - bool applicationInputs :1; - bool applicationOutputs :1; - bool archiveWorkingDirectory :1; - bool hasOptionalFileInputs :1; -} _ApplicationInterfaceDescription__isset; - -class ApplicationInterfaceDescription { - public: - - ApplicationInterfaceDescription(const ApplicationInterfaceDescription&); - ApplicationInterfaceDescription& operator=(const ApplicationInterfaceDescription&); - ApplicationInterfaceDescription() : applicationInterfaceId("DO_NOT_SET_AT_CLIENTS"), applicationName(), applicationDescription(), archiveWorkingDirectory(false), hasOptionalFileInputs(0) { - } - - virtual ~ApplicationInterfaceDescription() throw(); - std::string applicationInterfaceId; - std::string applicationName; - std::string applicationDescription; - std::vector<std::string> applicationModules; - std::vector< ::apache::airavata::model::application::io::InputDataObjectType> applicationInputs; - std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> applicationOutputs; - bool archiveWorkingDirectory; - bool hasOptionalFileInputs; - - _ApplicationInterfaceDescription__isset __isset; - - void __set_applicationInterfaceId(const std::string& val); - - void __set_applicationName(const std::string& val); - - void __set_applicationDescription(const std::string& val); - - void __set_applicationModules(const std::vector<std::string> & val); - - void __set_applicationInputs(const std::vector< ::apache::airavata::model::application::io::InputDataObjectType> & val); - - void __set_applicationOutputs(const std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> & val); - - void __set_archiveWorkingDirectory(const bool val); - - void __set_hasOptionalFileInputs(const bool val); - - bool operator == (const ApplicationInterfaceDescription & rhs) const - { - if (!(applicationInterfaceId == rhs.applicationInterfaceId)) - return false; - if (!(applicationName == rhs.applicationName)) - return false; - if (__isset.applicationDescription != rhs.__isset.applicationDescription) - return false; - else if (__isset.applicationDescription && !(applicationDescription == rhs.applicationDescription)) - return false; - if (__isset.applicationModules != rhs.__isset.applicationModules) - return false; - else if (__isset.applicationModules && !(applicationModules == rhs.applicationModules)) - return false; - if (__isset.applicationInputs != rhs.__isset.applicationInputs) - return false; - else if (__isset.applicationInputs && !(applicationInputs == rhs.applicationInputs)) - return false; - if (__isset.applicationOutputs != rhs.__isset.applicationOutputs) - return false; - else if (__isset.applicationOutputs && !(applicationOutputs == rhs.applicationOutputs)) - return false; - if (__isset.archiveWorkingDirectory != rhs.__isset.archiveWorkingDirectory) - return false; - else if (__isset.archiveWorkingDirectory && !(archiveWorkingDirectory == rhs.archiveWorkingDirectory)) - return false; - if (__isset.hasOptionalFileInputs != rhs.__isset.hasOptionalFileInputs) - return false; - else if (__isset.hasOptionalFileInputs && !(hasOptionalFileInputs == rhs.hasOptionalFileInputs)) - return false; - return true; - } - bool operator != (const ApplicationInterfaceDescription &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ApplicationInterfaceDescription & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(ApplicationInterfaceDescription &a, ApplicationInterfaceDescription &b); - -inline std::ostream& operator<<(std::ostream& out, const ApplicationInterfaceDescription& obj) -{ - obj.printTo(out); - return out; -} - -}}}}} // namespace - -#endif http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.cpp deleted file mode 100644 index bdf3e7c..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#include "application_io_models_constants.h" - -namespace apache { namespace airavata { namespace model { namespace application { namespace io { - -const application_io_modelsConstants g_application_io_models_constants; - -application_io_modelsConstants::application_io_modelsConstants() { -} - -}}}}} // namespace - http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.h ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.h deleted file mode 100644 index 7181ead..0000000 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/application_io_models_constants.h +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -#ifndef application_io_models_CONSTANTS_H -#define application_io_models_CONSTANTS_H - -#include "application_io_models_types.h" - -namespace apache { namespace airavata { namespace model { namespace application { namespace io { - -class application_io_modelsConstants { - public: - application_io_modelsConstants(); - -}; - -extern const application_io_modelsConstants g_application_io_models_constants; - -}}}}} // namespace - -#endif
