soap_detail.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
源码类别:

生物技术

开发平台:

C/C++

  1. /*
  2.  * ===========================================================================
  3.  * PRODUCTION $Log: soap_detail.cpp,v $
  4.  * PRODUCTION Revision 1000.1  2004/06/01 19:44:13  gouriano
  5.  * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
  6.  * PRODUCTION
  7.  * ===========================================================================
  8.  */
  9. /* $Id: soap_detail.cpp,v 1000.1 2004/06/01 19:44:13 gouriano Exp $
  10.  * ===========================================================================
  11.  *
  12.  *                            PUBLIC DOMAIN NOTICE
  13.  *               National Center for Biotechnology Information
  14.  *
  15.  *  This software/database is a "United States Government Work" under the
  16.  *  terms of the United States Copyright Act.  It was written as part of
  17.  *  the author's official duties as a United States Government employee and
  18.  *  thus cannot be copyrighted.  This software/database is freely available
  19.  *  to the public for use. The National Library of Medicine and the U.S.
  20.  *  Government have not placed any restriction on its use or reproduction.
  21.  *
  22.  *  Although all reasonable efforts have been taken to ensure the accuracy
  23.  *  and reliability of the software and data, the NLM and the U.S.
  24.  *  Government do not and cannot warrant the performance or results that
  25.  *  may be obtained by using this software or data. The NLM and the U.S.
  26.  *  Government disclaim all warranties, express or implied, including
  27.  *  warranties of performance, merchantability or fitness for any particular
  28.  *  purpose.
  29.  *
  30.  *  Please cite the author in any work or product based on this material.
  31.  *
  32.  * ===========================================================================
  33.  *
  34.  * Author: Andrei Gourianov
  35.  *
  36.  * File Description:
  37.  *   SOAP Detail object
  38.  *
  39.  * ===========================================================================
  40.  */
  41. // standard includes
  42. #include <ncbi_pch.hpp>
  43. #include <serial/serialimpl.hpp>
  44. // generated includes
  45. #include <serial/soap/soap_detail.hpp>
  46. BEGIN_NCBI_SCOPE
  47. // generated classes
  48. void CSoapDetail::C_E::ResetAnyContent(void)
  49. {
  50.     (*m_AnyContent).Reset();
  51. }
  52. void CSoapDetail::C_E::SetAnyContent(CAnyContentObject& value)
  53. {
  54.     m_AnyContent.Reset(&value);
  55. }
  56. void CSoapDetail::C_E::Reset(void)
  57. {
  58.     ResetAnyContent();
  59. }
  60. BEGIN_NAMED_CLASS_INFO("", CSoapDetail::C_E)
  61. {
  62.     ADD_NAMED_REF_MEMBER("AnyContent", m_AnyContent, CAnyContentObject)->SetNoPrefix()->SetNotag()->SetAnyContent();
  63. }
  64. END_CLASS_INFO
  65. // constructor
  66. CSoapDetail::C_E::C_E(void)
  67.     : m_AnyContent(0/*new CAnyContentObject()*/)
  68. {
  69. }
  70. // destructor
  71. CSoapDetail::C_E::~C_E(void)
  72. {
  73. }
  74. void CSoapDetail::Reset(void)
  75. {
  76.     m_data.clear();
  77.     m_set_State[0] &= ~0x3;
  78. }
  79. BEGIN_NAMED_IMPLICIT_CLASS_INFO("Detail", CSoapDetail)
  80. {
  81.     SET_CLASS_MODULE("soap");
  82.     ADD_NAMED_MEMBER("", m_data, STL_list, (STL_CRef, (CLASS, (C_E))))->SetSetFlag(MEMBER_PTR(m_set_State[0]));
  83.     info->RandomOrder();
  84. }
  85. END_CLASS_INFO
  86. // constructor
  87. CSoapDetail::CSoapDetail(void)
  88. {
  89.     memset(m_set_State,0,sizeof(m_set_State));
  90. }
  91. // destructor
  92. CSoapDetail::~CSoapDetail(void)
  93. {
  94. }
  95. END_NCBI_SCOPE
  96. /* --------------------------------------------------------------------------
  97. * $Log: soap_detail.cpp,v $
  98. * Revision 1000.1  2004/06/01 19:44:13  gouriano
  99. * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
  100. *
  101. * Revision 1.2  2004/05/17 21:03:24  gorelenk
  102. * Added include of PCH ncbi_pch.hpp
  103. *
  104. * Revision 1.1  2003/09/25 19:45:33  gouriano
  105. * Added soap Fault object
  106. *
  107. *
  108. * ===========================================================================
  109. */