ASM #15649 - these 5 files are rolled back to 14.1.3
Change-Id: Ifc52168f1faf3984f2a2d72947273686c5a00fd9 Former-commit-id:9dbfbbe0c3
[formerly22d46f2658
] [formerly1f6d24a076
[formerly ab5a6807a591605e230d4180f1dcf3c2eaa8657f]] Former-commit-id:1f6d24a076
Former-commit-id:c571da3e89
This commit is contained in:
parent
be27a13d1d
commit
ef8ec0cff0
5 changed files with 1192 additions and 1277 deletions
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Autogenerated by Thrift Compiler (0.9.0)
|
* Autogenerated by Thrift Compiler (0.8.0)
|
||||||
*
|
*
|
||||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||||
* @generated
|
* @generated
|
||||||
|
@ -35,6 +35,7 @@
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
||||||
|
* 07/22/14 15649 lshi Rollback to thrift 0.8.0
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -43,14 +44,13 @@
|
||||||
*/
|
*/
|
||||||
#include "Notification_types.h"
|
#include "Notification_types.h"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const char* com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::ascii_fingerprint = "ACE4F644F0FDD289DDC4EE5B83BC13C0";
|
const char* com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::ascii_fingerprint = "ACE4F644F0FDD289DDC4EE5B83BC13C0";
|
||||||
const uint8_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::binary_fingerprint[16] = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0};
|
const uint8_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::binary_fingerprint[16] = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0};
|
||||||
|
|
||||||
uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::read(::apache::thrift::protocol::TProtocol* iprot) {
|
uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::read(::apache::thrift::protocol::TProtocol* iprot) {
|
||||||
|
|
||||||
uint32_t xfer = 0;
|
uint32_t xfer = 0;
|
||||||
std::string fname;
|
std::string fname;
|
||||||
::apache::thrift::protocol::TType ftype;
|
::apache::thrift::protocol::TType ftype;
|
||||||
|
@ -75,14 +75,14 @@ uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::r
|
||||||
this->dataURIs.clear();
|
this->dataURIs.clear();
|
||||||
uint32_t _size0;
|
uint32_t _size0;
|
||||||
::apache::thrift::protocol::TType _etype3;
|
::apache::thrift::protocol::TType _etype3;
|
||||||
xfer += iprot->readListBegin(_etype3, _size0);
|
iprot->readListBegin(_etype3, _size0);
|
||||||
this->dataURIs.resize(_size0);
|
this->dataURIs.resize(_size0);
|
||||||
uint32_t _i4;
|
uint32_t _i4;
|
||||||
for (_i4 = 0; _i4 < _size0; ++_i4)
|
for (_i4 = 0; _i4 < _size0; ++_i4)
|
||||||
{
|
{
|
||||||
xfer += iprot->readString(this->dataURIs[_i4]);
|
xfer += iprot->readString(this->dataURIs[_i4]);
|
||||||
}
|
}
|
||||||
xfer += iprot->readListEnd();
|
iprot->readListEnd();
|
||||||
}
|
}
|
||||||
this->__isset.dataURIs = true;
|
this->__isset.dataURIs = true;
|
||||||
} else {
|
} else {
|
||||||
|
@ -104,7 +104,6 @@ uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::r
|
||||||
uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::write(::apache::thrift::protocol::TProtocol* oprot) const {
|
uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::write(::apache::thrift::protocol::TProtocol* oprot) const {
|
||||||
uint32_t xfer = 0;
|
uint32_t xfer = 0;
|
||||||
xfer += oprot->writeStructBegin("com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage");
|
xfer += oprot->writeStructBegin("com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage");
|
||||||
|
|
||||||
xfer += oprot->writeFieldBegin("dataURIs", ::apache::thrift::protocol::T_LIST, 1);
|
xfer += oprot->writeFieldBegin("dataURIs", ::apache::thrift::protocol::T_LIST, 1);
|
||||||
{
|
{
|
||||||
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->dataURIs.size()));
|
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->dataURIs.size()));
|
||||||
|
@ -116,16 +115,9 @@ uint32_t com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage::w
|
||||||
xfer += oprot->writeListEnd();
|
xfer += oprot->writeListEnd();
|
||||||
}
|
}
|
||||||
xfer += oprot->writeFieldEnd();
|
xfer += oprot->writeFieldEnd();
|
||||||
|
|
||||||
xfer += oprot->writeFieldStop();
|
xfer += oprot->writeFieldStop();
|
||||||
xfer += oprot->writeStructEnd();
|
xfer += oprot->writeStructEnd();
|
||||||
return xfer;
|
return xfer;
|
||||||
}
|
}
|
||||||
|
|
||||||
void swap(com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage &a, com_raytheon_uf_common_dataplugin_message_DataURINotificationMessage &b) {
|
|
||||||
using ::std::swap;
|
|
||||||
swap(a.dataURIs, b.dataURIs);
|
|
||||||
swap(a.__isset, b.__isset);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
/**
|
|
||||||
* Autogenerated by Thrift Compiler (0.9.0)
|
|
||||||
*
|
|
||||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
||||||
* @generated
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****************************************************************************************
|
/*****************************************************************************************
|
||||||
* COPYRIGHT (c), 2009, RAYTHEON COMPANY
|
* COPYRIGHT (c), 2009, RAYTHEON COMPANY
|
||||||
* ALL RIGHTS RESERVED, An Unpublished Work
|
* ALL RIGHTS RESERVED, An Unpublished Work
|
||||||
|
@ -26,7 +19,8 @@
|
||||||
******************************************************************************************/
|
******************************************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extended thrift protocol to handle messages from edex.
|
* Support for point data request capability to retrieve point data and metadata
|
||||||
|
* from EDEX Thrift service.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
*
|
*
|
||||||
|
@ -34,13 +28,21 @@
|
||||||
*
|
*
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
* 08/08/11 9696 gzhou Initial Creation
|
||||||
|
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
||||||
|
* 07/22/14 15649 lshi Rollback to Initial Creation
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author bkowal
|
* @author gzhou
|
||||||
* @version 1
|
* @version 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Autogenerated by Thrift
|
||||||
|
*
|
||||||
|
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||||
|
*/
|
||||||
#include "PointDataServer_constants.h"
|
#include "PointDataServer_constants.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
/**
|
|
||||||
* Autogenerated by Thrift Compiler (0.9.0)
|
|
||||||
*
|
|
||||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
||||||
* @generated
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****************************************************************************************
|
/*****************************************************************************************
|
||||||
* COPYRIGHT (c), 2009, RAYTHEON COMPANY
|
* COPYRIGHT (c), 2009, RAYTHEON COMPANY
|
||||||
* ALL RIGHTS RESERVED, An Unpublished Work
|
* ALL RIGHTS RESERVED, An Unpublished Work
|
||||||
|
@ -26,7 +19,8 @@
|
||||||
******************************************************************************************/
|
******************************************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extended thrift protocol to handle messages from edex.
|
* Support for point data request capability to retrieve point data and metadata
|
||||||
|
* from EDEX Thrift service.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
*
|
*
|
||||||
|
@ -34,240 +28,222 @@
|
||||||
*
|
*
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
* 08/08/11 9696 gzhou Initial Creation
|
||||||
|
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
||||||
|
* 07/22/14 15649 lshi Rollback to Initial Creation
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author bkowal
|
* @author gzhou
|
||||||
* @version 1
|
* @version 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "PointDataServer_types.h"
|
#include "PointDataServer_types.h"
|
||||||
|
|
||||||
#include <algorithm>
|
const char
|
||||||
|
* com_raytheon_uf_common_dataquery_requests_ConstraintType::ascii_fingerprint =
|
||||||
|
"EFB929595D312AC8F305D5A794CFEDA1";
|
||||||
|
const uint8_t
|
||||||
|
com_raytheon_uf_common_dataquery_requests_ConstraintType::binary_fingerprint[16] =
|
||||||
|
{ 0xEF, 0xB9, 0x29, 0x59, 0x5D, 0x31, 0x2A, 0xC8, 0xF3, 0x05,
|
||||||
|
0xD5, 0xA7, 0x94, 0xCF, 0xED, 0xA1 };
|
||||||
|
|
||||||
|
uint32_t com_raytheon_uf_common_dataquery_requests_ConstraintType::read(
|
||||||
|
::apache::thrift::protocol::TProtocol* iprot) {
|
||||||
|
|
||||||
|
uint32_t xfer = 0;
|
||||||
|
std::string fname;
|
||||||
|
::apache::thrift::protocol::TType ftype;
|
||||||
|
int16_t fid;
|
||||||
|
|
||||||
const char* com_raytheon_uf_common_dataquery_requests_ConstraintType::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
|
xfer += iprot->readStructBegin(fname);
|
||||||
const uint8_t com_raytheon_uf_common_dataquery_requests_ConstraintType::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
|
|
||||||
|
|
||||||
uint32_t com_raytheon_uf_common_dataquery_requests_ConstraintType::read(::apache::thrift::protocol::TProtocol* iprot) {
|
using ::apache::thrift::protocol::TProtocolException;
|
||||||
|
|
||||||
uint32_t xfer = 0;
|
xfer += iprot->readFieldBegin(fname, ftype, fid);
|
||||||
std::string fname;
|
if (ftype == ::apache::thrift::protocol::T_STRING) {
|
||||||
::apache::thrift::protocol::TType ftype;
|
xfer += iprot->readString(operand);
|
||||||
int16_t fid;
|
this->__isset.operand = true;
|
||||||
|
} else
|
||||||
|
xfer += iprot->skip(ftype);
|
||||||
|
xfer += iprot->readFieldEnd();
|
||||||
|
|
||||||
xfer += iprot->readStructBegin(fname);
|
xfer += iprot->readStructEnd();
|
||||||
|
|
||||||
using ::apache::thrift::protocol::TProtocolException;
|
return xfer;
|
||||||
|
|
||||||
|
|
||||||
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->operand);
|
|
||||||
this->__isset.operand = true;
|
|
||||||
} else {
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
xfer += iprot->readFieldEnd();
|
|
||||||
}
|
|
||||||
|
|
||||||
xfer += iprot->readStructEnd();
|
|
||||||
|
|
||||||
return xfer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t com_raytheon_uf_common_dataquery_requests_ConstraintType::write(::apache::thrift::protocol::TProtocol* oprot) const {
|
uint32_t com_raytheon_uf_common_dataquery_requests_ConstraintType::write(
|
||||||
uint32_t xfer = 0;
|
::apache::thrift::protocol::TProtocol* oprot) const {
|
||||||
xfer += oprot->writeStructBegin("com_raytheon_uf_common_dataquery_requests_ConstraintType");
|
uint32_t xfer = 0;
|
||||||
|
xfer
|
||||||
xfer += oprot->writeFieldBegin("operand", ::apache::thrift::protocol::T_STRING, 1);
|
+= oprot->writeStructBegin(
|
||||||
xfer += oprot->writeString(this->operand);
|
"com_raytheon_uf_common_dataquery_requests_RequestConstraint$ConstraintType");
|
||||||
xfer += oprot->writeFieldEnd();
|
xfer += oprot->writeFieldBegin("__enumValue__",
|
||||||
|
::apache::thrift::protocol::T_STRING, 1);
|
||||||
xfer += oprot->writeFieldStop();
|
xfer += oprot->writeString(this->operand);
|
||||||
xfer += oprot->writeStructEnd();
|
xfer += oprot->writeFieldEnd();
|
||||||
return xfer;
|
xfer += oprot->writeStructEnd();
|
||||||
|
return xfer;
|
||||||
}
|
}
|
||||||
|
|
||||||
void swap(com_raytheon_uf_common_dataquery_requests_ConstraintType &a, com_raytheon_uf_common_dataquery_requests_ConstraintType &b) {
|
const char
|
||||||
using ::std::swap;
|
* com_raytheon_uf_common_dataquery_requests_RequestConstraint::ascii_fingerprint =
|
||||||
swap(a.operand, b.operand);
|
"BDAF55DAA660FA1ADBE30760752211A8";
|
||||||
swap(a.__isset, b.__isset);
|
const uint8_t
|
||||||
|
com_raytheon_uf_common_dataquery_requests_RequestConstraint::binary_fingerprint[16] =
|
||||||
|
{ 0xBD, 0xAF, 0x55, 0xDA, 0xA6, 0x60, 0xFA, 0x1A, 0xDB, 0xE3,
|
||||||
|
0x07, 0x60, 0x75, 0x22, 0x11, 0xA8 };
|
||||||
|
|
||||||
|
uint32_t com_raytheon_uf_common_dataquery_requests_RequestConstraint::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_STRUCT) {
|
||||||
|
xfer += this->constraintType.read(iprot);
|
||||||
|
this->__isset.constraintType = true;
|
||||||
|
} else {
|
||||||
|
xfer += iprot->skip(ftype);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
if (ftype == ::apache::thrift::protocol::T_STRING) {
|
||||||
|
xfer += iprot->readString(this->constraintValue);
|
||||||
|
this->__isset.constraintValue = true;
|
||||||
|
} else {
|
||||||
|
xfer += iprot->skip(ftype);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
xfer += iprot->skip(ftype);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
xfer += iprot->readFieldEnd();
|
||||||
|
}
|
||||||
|
|
||||||
|
xfer += iprot->readStructEnd();
|
||||||
|
|
||||||
|
return xfer;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* com_raytheon_uf_common_dataquery_requests_RequestConstraint::ascii_fingerprint = "BDAF55DAA660FA1ADBE30760752211A8";
|
uint32_t com_raytheon_uf_common_dataquery_requests_RequestConstraint::write(
|
||||||
const uint8_t com_raytheon_uf_common_dataquery_requests_RequestConstraint::binary_fingerprint[16] = {0xBD,0xAF,0x55,0xDA,0xA6,0x60,0xFA,0x1A,0xDB,0xE3,0x07,0x60,0x75,0x22,0x11,0xA8};
|
::apache::thrift::protocol::TProtocol* oprot) const {
|
||||||
|
uint32_t xfer = 0;
|
||||||
uint32_t com_raytheon_uf_common_dataquery_requests_RequestConstraint::read(::apache::thrift::protocol::TProtocol* iprot) {
|
xfer += oprot->writeStructBegin(
|
||||||
|
"com_raytheon_uf_common_dataquery_requests_RequestConstraint");
|
||||||
uint32_t xfer = 0;
|
xfer += oprot->writeFieldBegin("constraintType",
|
||||||
std::string fname;
|
::apache::thrift::protocol::T_STRUCT, 1);
|
||||||
::apache::thrift::protocol::TType ftype;
|
xfer += this->constraintType.write(oprot);
|
||||||
int16_t fid;
|
xfer += oprot->writeFieldEnd();
|
||||||
|
xfer += oprot->writeFieldBegin("constraintValue",
|
||||||
xfer += iprot->readStructBegin(fname);
|
::apache::thrift::protocol::T_STRING, 2);
|
||||||
|
xfer += oprot->writeString(this->constraintValue);
|
||||||
using ::apache::thrift::protocol::TProtocolException;
|
xfer += oprot->writeFieldEnd();
|
||||||
|
xfer += oprot->writeFieldStop();
|
||||||
|
xfer += oprot->writeStructEnd();
|
||||||
while (true)
|
return xfer;
|
||||||
{
|
|
||||||
xfer += iprot->readFieldBegin(fname, ftype, fid);
|
|
||||||
if (ftype == ::apache::thrift::protocol::T_STOP) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
switch (fid)
|
|
||||||
{
|
|
||||||
case 1:
|
|
||||||
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
|
|
||||||
xfer += this->constraintType.read(iprot);
|
|
||||||
this->__isset.constraintType = true;
|
|
||||||
} else {
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
if (ftype == ::apache::thrift::protocol::T_STRING) {
|
|
||||||
xfer += iprot->readString(this->constraintValue);
|
|
||||||
this->__isset.constraintValue = true;
|
|
||||||
} else {
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
xfer += iprot->readFieldEnd();
|
|
||||||
}
|
|
||||||
|
|
||||||
xfer += iprot->readStructEnd();
|
|
||||||
|
|
||||||
return xfer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t com_raytheon_uf_common_dataquery_requests_RequestConstraint::write(::apache::thrift::protocol::TProtocol* oprot) const {
|
const char
|
||||||
uint32_t xfer = 0;
|
* com_raytheon_uf_common_pointdata_PointDataServerRequest::ascii_fingerprint =
|
||||||
xfer += oprot->writeStructBegin("com_raytheon_uf_common_dataquery_requests_RequestConstraint");
|
"C9F1CC9CD1A896EE01B7C5215E2BE99F";
|
||||||
|
const uint8_t
|
||||||
|
com_raytheon_uf_common_pointdata_PointDataServerRequest::binary_fingerprint[16] =
|
||||||
|
{ 0xC9, 0xF1, 0xCC, 0x9C, 0xD1, 0xA8, 0x96, 0xEE, 0x01, 0xB7,
|
||||||
|
0xC5, 0x21, 0x5E, 0x2B, 0xE9, 0x9F };
|
||||||
|
|
||||||
xfer += oprot->writeFieldBegin("constraintType", ::apache::thrift::protocol::T_STRUCT, 1);
|
uint32_t com_raytheon_uf_common_pointdata_PointDataServerRequest::read(
|
||||||
xfer += this->constraintType.write(oprot);
|
::apache::thrift::protocol::TProtocol* iprot) {
|
||||||
xfer += oprot->writeFieldEnd();
|
|
||||||
|
|
||||||
xfer += oprot->writeFieldBegin("constraintValue", ::apache::thrift::protocol::T_STRING, 2);
|
uint32_t xfer = 0;
|
||||||
xfer += oprot->writeString(this->constraintValue);
|
std::string fname;
|
||||||
xfer += oprot->writeFieldEnd();
|
::apache::thrift::protocol::TType ftype;
|
||||||
|
int16_t fid;
|
||||||
|
|
||||||
xfer += oprot->writeFieldStop();
|
xfer += iprot->readStructBegin(fname);
|
||||||
xfer += oprot->writeStructEnd();
|
|
||||||
return xfer;
|
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_MAP) {
|
||||||
|
{
|
||||||
|
this->rcMap.clear();
|
||||||
|
uint32_t _size0;
|
||||||
|
::apache::thrift::protocol::TType _ktype1;
|
||||||
|
::apache::thrift::protocol::TType _vtype2;
|
||||||
|
iprot->readMapBegin(_ktype1, _vtype2, _size0);
|
||||||
|
uint32_t _i4;
|
||||||
|
for (_i4 = 0; _i4 < _size0; ++_i4) {
|
||||||
|
std::string _key5;
|
||||||
|
xfer += iprot->readString(_key5);
|
||||||
|
com_raytheon_uf_common_dataquery_requests_RequestConstraint
|
||||||
|
& _val6 = this->rcMap[_key5];
|
||||||
|
xfer += _val6.read(iprot);
|
||||||
|
}
|
||||||
|
iprot->readMapEnd();
|
||||||
|
}
|
||||||
|
this->__isset.rcMap = true;
|
||||||
|
} else {
|
||||||
|
xfer += iprot->skip(ftype);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
xfer += iprot->skip(ftype);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
xfer += iprot->readFieldEnd();
|
||||||
|
}
|
||||||
|
|
||||||
|
xfer += iprot->readStructEnd();
|
||||||
|
|
||||||
|
return xfer;
|
||||||
}
|
}
|
||||||
|
|
||||||
void swap(com_raytheon_uf_common_dataquery_requests_RequestConstraint &a, com_raytheon_uf_common_dataquery_requests_RequestConstraint &b) {
|
uint32_t com_raytheon_uf_common_pointdata_PointDataServerRequest::write(
|
||||||
using ::std::swap;
|
::apache::thrift::protocol::TProtocol* oprot) const {
|
||||||
swap(a.constraintType, b.constraintType);
|
uint32_t xfer = 0;
|
||||||
swap(a.constraintValue, b.constraintValue);
|
xfer += oprot->writeStructBegin(
|
||||||
swap(a.__isset, b.__isset);
|
"com_raytheon_uf_common_pointdata_PointDataServerRequest");
|
||||||
|
xfer += oprot->writeFieldBegin("rcMap", ::apache::thrift::protocol::T_MAP,
|
||||||
|
1);
|
||||||
|
{
|
||||||
|
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING,
|
||||||
|
::apache::thrift::protocol::T_STRUCT, this->rcMap.size());
|
||||||
|
std::map<std::string,
|
||||||
|
com_raytheon_uf_common_dataquery_requests_RequestConstraint>::const_iterator
|
||||||
|
_iter7;
|
||||||
|
for (_iter7 = this->rcMap.begin(); _iter7 != this->rcMap.end(); ++_iter7) {
|
||||||
|
xfer += oprot->writeStructBegin("11");
|
||||||
|
xfer += oprot->writeString(_iter7->first);
|
||||||
|
xfer += oprot->writeStructEnd();
|
||||||
|
xfer += _iter7->second.write(oprot);
|
||||||
|
}
|
||||||
|
xfer += oprot->writeMapEnd();
|
||||||
|
}
|
||||||
|
xfer += oprot->writeFieldEnd();
|
||||||
|
xfer += oprot->writeFieldStop();
|
||||||
|
xfer += oprot->writeStructEnd();
|
||||||
|
return xfer;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* com_raytheon_uf_common_pointdata_PointDataServerRequest::ascii_fingerprint = "C9F1CC9CD1A896EE01B7C5215E2BE99F";
|
|
||||||
const uint8_t com_raytheon_uf_common_pointdata_PointDataServerRequest::binary_fingerprint[16] = {0xC9,0xF1,0xCC,0x9C,0xD1,0xA8,0x96,0xEE,0x01,0xB7,0xC5,0x21,0x5E,0x2B,0xE9,0x9F};
|
|
||||||
|
|
||||||
uint32_t com_raytheon_uf_common_pointdata_PointDataServerRequest::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_MAP) {
|
|
||||||
{
|
|
||||||
this->rcMap.clear();
|
|
||||||
uint32_t _size0;
|
|
||||||
::apache::thrift::protocol::TType _ktype1;
|
|
||||||
::apache::thrift::protocol::TType _vtype2;
|
|
||||||
xfer += iprot->readMapBegin(_ktype1, _vtype2, _size0);
|
|
||||||
uint32_t _i4;
|
|
||||||
for (_i4 = 0; _i4 < _size0; ++_i4)
|
|
||||||
{
|
|
||||||
std::string _key5;
|
|
||||||
xfer += iprot->readString(_key5);
|
|
||||||
com_raytheon_uf_common_dataquery_requests_RequestConstraint& _val6 = this->rcMap[_key5];
|
|
||||||
xfer += _val6.read(iprot);
|
|
||||||
}
|
|
||||||
xfer += iprot->readMapEnd();
|
|
||||||
}
|
|
||||||
this->__isset.rcMap = true;
|
|
||||||
} else {
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
xfer += iprot->skip(ftype);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
xfer += iprot->readFieldEnd();
|
|
||||||
}
|
|
||||||
|
|
||||||
xfer += iprot->readStructEnd();
|
|
||||||
|
|
||||||
return xfer;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t com_raytheon_uf_common_pointdata_PointDataServerRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
|
|
||||||
uint32_t xfer = 0;
|
|
||||||
xfer += oprot->writeStructBegin("com_raytheon_uf_common_pointdata_PointDataServerRequest");
|
|
||||||
|
|
||||||
xfer += oprot->writeFieldBegin("rcMap", ::apache::thrift::protocol::T_MAP, 1);
|
|
||||||
{
|
|
||||||
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->rcMap.size()));
|
|
||||||
std::map<std::string, com_raytheon_uf_common_dataquery_requests_RequestConstraint> ::const_iterator _iter7;
|
|
||||||
for (_iter7 = this->rcMap.begin(); _iter7 != this->rcMap.end(); ++_iter7)
|
|
||||||
{
|
|
||||||
xfer += oprot->writeString(_iter7->first);
|
|
||||||
xfer += _iter7->second.write(oprot);
|
|
||||||
}
|
|
||||||
xfer += oprot->writeMapEnd();
|
|
||||||
}
|
|
||||||
xfer += oprot->writeFieldEnd();
|
|
||||||
|
|
||||||
xfer += oprot->writeFieldStop();
|
|
||||||
xfer += oprot->writeStructEnd();
|
|
||||||
return xfer;
|
|
||||||
}
|
|
||||||
|
|
||||||
void swap(com_raytheon_uf_common_pointdata_PointDataServerRequest &a, com_raytheon_uf_common_pointdata_PointDataServerRequest &b) {
|
|
||||||
using ::std::swap;
|
|
||||||
swap(a.rcMap, b.rcMap);
|
|
||||||
swap(a.__isset, b.__isset);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
/**
|
|
||||||
* Autogenerated by Thrift Compiler (0.9.0)
|
|
||||||
*
|
|
||||||
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
||||||
* @generated
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****************************************************************************************
|
/*****************************************************************************************
|
||||||
* COPYRIGHT (c), 2009, RAYTHEON COMPANY
|
* COPYRIGHT (c), 2009, RAYTHEON COMPANY
|
||||||
* ALL RIGHTS RESERVED, An Unpublished Work
|
* ALL RIGHTS RESERVED, An Unpublished Work
|
||||||
|
@ -26,7 +19,8 @@
|
||||||
******************************************************************************************/
|
******************************************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extended thrift protocol to handle messages from edex.
|
* Support for point data request capability to retrieve point data
|
||||||
|
* from EDEX Thrift service.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
*
|
*
|
||||||
|
@ -34,13 +28,21 @@
|
||||||
*
|
*
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
* 01/18/10 3747 brockwoo Initial Creation
|
||||||
|
* 07/29/13 2215 bkowal Regenerated for thrift 0.9.0
|
||||||
|
* 07/22/14 15649 lshi Rollback to Initial Creation
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author bkowal
|
* @author brockwoo
|
||||||
* @version 1
|
* @version 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Autogenerated by Thrift
|
||||||
|
*
|
||||||
|
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||||
|
*/
|
||||||
#include "PointData_constants.h"
|
#include "PointData_constants.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue