NCBI C++ ToolKit
Cache_blob.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: Cache_blob.hpp 72621 2016-05-18 17:08:34Z gouriano $
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 Cache_blob.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 /// 'cache_blob.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Cache_blob_.hpp
37 
38 
39 #ifndef INTERNAL_GPIPE_ASN_CACHE_LIB_CACHE_BLOB_HPP
40 #define INTERNAL_GPIPE_ASN_CACHE_LIB_CACHE_BLOB_HPP
41 
42 
43 // generated includes
45 
46 // generated classes
47 
49 
50 BEGIN_objects_SCOPE // namespace ncbi::objects::
51 
52 class CSeq_entry;
53 
54 /////////////////////////////////////////////////////////////////////////////
56 {
58 public:
59 
60  enum {
61  kVersion = 1,
62  kMagicNum = 0x05D705DD,
63  kMD5Size = 16
64  };
65 
66  // constructor
67  CCache_blob(void);
68  // destructor
69  ~CCache_blob(void);
70 
71  void Pack(const CSeq_entry& entry);
72  void UnPack(CSeq_entry& entry) const;
73  void UnPack(vector<unsigned char>& raw_bytes) const;
74 
75 private:
76  // Prohibit copy constructor and assignment operator
79 
80 };
81 
82 /////////////////// CCache_blob inline methods
83 
84 /////////////////// end of CCache_blob inline methods
85 
86 
87 END_objects_SCOPE // namespace ncbi::objects::
88 
90 
91 
92 #endif // INTERNAL_GPIPE_ASN_CACHE_LIB_CACHE_BLOB_HPP
93 /* Original file checksum: lines: 86, chars: 2470, CRC32: 4964646f */
Data storage class.
CCache_blob_Base –.
Definition: Cache_blob_.hpp:73
void UnPack(CSeq_entry &entry) const
Definition: Cache_blob.cpp:98
CCache_blob(const CCache_blob &value)
void Pack(const CSeq_entry &entry)
Definition: Cache_blob.cpp:75
~CCache_blob(void)
Definition: Cache_blob.cpp:70
CCache_blob & operator=(const CCache_blob &value)
CCache_blob_Base Tparent
Definition: Cache_blob.hpp:57
CCache_blob(void)
Definition: Cache_blob.cpp:64
Definition: Seq_entry.hpp:56
char value[7]
Definition: config.c:431
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
Modified on Mon Feb 26 03:59:21 2024 by modify_doxy.py rev. 669887