soapctor.cpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #include <type_traits>
  2. #include <cstring>
  3. #include "soapH.h"
  4. #include "soapStub.h"
  5. #define C(X) X::X(void) { static_assert(std::is_standard_layout<X>::value, ""); memset(this, 0, sizeof(*this)); }
  6. C(company)
  7. //gsoap-AG//C(exportMessageChangesAsStreamResponse)
  8. //gsoap-AG//C(getChangeInfoResponse)
  9. //gsoap-AG//C(getServerDetailsResponse)
  10. //gsoap-AG//C(getSyncStatesReponse)
  11. C(group)
  12. C(notification)
  13. C(notificationICS)
  14. C(notifySubscribe)
  15. C(notifySubscribeArray)
  16. C(notifySyncState)
  17. C(propTagArray)
  18. C(propVal)
  19. C(propValArray)
  20. //gsoap-AG//C(resetFolderCountResponse)
  21. //gsoap-AG//C(resolvePseudoUrlResponse)
  22. C(rights)
  23. C(sortOrder)
  24. C(sortOrderArray)
  25. C(tableMultiRequest)
  26. //gsoap-AG//C(tableMultiResponse)
  27. C(tableOpenRequest)
  28. C(user)
  29. C(xsd__Binary)
  30. propTagArray::propTagArray(unsigned int *a, int b) :
  31. __ptr(a), __size(b)
  32. {}
  33. sortOrder::sortOrder(unsigned int a, unsigned int b) :
  34. ulPropTag(a), ulOrder(b)
  35. {}
  36. sortOrderArray::sortOrderArray(struct sortOrder *a, int b) :
  37. __ptr(a), __size(b)
  38. {}
  39. notifySyncState::notifySyncState(unsigned int a, unsigned int b) :
  40. ulSyncId(a), ulChangeId(b)
  41. {}
  42. rights::rights(unsigned int a, unsigned int b, unsigned int c, unsigned int d) :
  43. ulUserid(a), ulType(b), ulRights(c), ulState(d)
  44. {
  45. sUserId.__ptr = nullptr;
  46. sUserId.__size = 0;
  47. }