1 /* $Id: ID2_Reply_Data.hpp 534721 2017-05-01 18:13:51Z grichenk $
2  * ===========================================================================
3  *
4  *                            PUBLIC DOMAIN NOTICE
5  *               National Center for Biotechnology Information
6  *
7  *  This software/database is a "United States Government Work" under the
8  *  terms of the United States Copyright Act.  It was written as part of
9  *  the author's official duties as a United States Government employee and
10  *  thus cannot be copyrighted.  This software/database is freely available
11  *  to the public for use. The National Library of Medicine and the U.S.
12  *  Government have not placed any restriction on its use or reproduction.
13  *
14  *  Although all reasonable efforts have been taken to ensure the accuracy
15  *  and reliability of the software and data, the NLM and the U.S.
16  *  Government do not and cannot warrant the performance or results that
17  *  may be obtained by using this software or data. The NLM and the U.S.
18  *  Government disclaim all warranties, express or implied, including
19  *  warranties of performance, merchantability or fitness for any particular
20  *  purpose.
21  *
22  *  Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  */
27 
28 /// @file ID2_Reply_Data.hpp
29 /// User-defined methods of the data storage class.
30 ///
31 /// This file was originally generated by application DATATOOL
32 /// using the following specifications:
33 /// 'id2.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: ID2_Reply_Data_.hpp
37 
38 
39 #ifndef OBJECTS_ID2_ID2_REPLY_DATA_HPP
40 #define OBJECTS_ID2_ID2_REPLY_DATA_HPP
41 
42 
43 #include <corelib/reader_writer.hpp>
44 
45 // generated includes
46 #include <objects/id2/ID2_Reply_Data_.hpp>
47 
48 // generated classes
49 
50 BEGIN_NCBI_SCOPE
51 
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 /////////////////////////////////////////////////////////////////////////////
55 class NCBI_ID2_EXPORT CID2_Reply_Data : public CID2_Reply_Data_Base
56 {
57     typedef CID2_Reply_Data_Base Tparent;
58 public:
59     // constructor
60     CID2_Reply_Data(void);
61     // destructor
62     ~CID2_Reply_Data(void);
63 
64 private:
65     // Prohibit copy constructor and assignment operator
66     CID2_Reply_Data(const CID2_Reply_Data& value);
67     CID2_Reply_Data& operator=(const CID2_Reply_Data& value);
68 
69 };
70 
71 
72 class  NCBI_ID2_EXPORT COctetStringSequenceWriter : public IWriter
73 {
74 public:
75     typedef vector<char> TOctetString;
76     typedef CID2_Reply_Data::TData TOctetStringSequence;
77 
78     COctetStringSequenceWriter(TOctetStringSequence& out);
79     virtual ERW_Result Write(const void* buffer,
80                              size_t      count,
81                              size_t*     written);
82     virtual ERW_Result Flush(void);
83 
84 private:
85     TOctetStringSequence& m_Output;
86 };
87 
88 
89 /////////////////// CID2_Reply_Data inline methods
90 
91 // constructor
92 inline
CID2_Reply_Data(void)93 CID2_Reply_Data::CID2_Reply_Data(void)
94 {
95 }
96 
97 
98 /////////////////// end of CID2_Reply_Data inline methods
99 
100 
101 END_objects_SCOPE // namespace ncbi::objects::
102 
103 END_NCBI_SCOPE
104 
105 
106 #endif // OBJECTS_ID2_ID2_REPLY_DATA_HPP
107 /* Original file checksum: lines: 86, chars: 2487, CRC32: bc64c4ad */
108