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

Go to the SVN repository for this file.

1 /*
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  * Author: Alexey Dobronadezhdin
27  *
28  * File Description:
29  *
30  * ===========================================================================
31  */
32 
33 #ifndef UNPUB_HOOK_HPP
34 #define UNPUB_HOOK_HPP
35 
36 #include <corelib/ncbistl.hpp>
37 #include <serial/objistr.hpp>
38 
39 namespace ncbi
40 {
41  namespace objects
42  {
43  class CPub;
44  }
45 }
46 
48 
49 namespace pub_report
50 {
51 
52 class CUnpublishedReport;
53 
55 {
56 public:
58  void SkipObject(CObjectIStream& in, const CObjectTypeInfo& info) override;
59 
60 private:
61  void ProcessUnpublished(const CPub& pub);
62 
64 };
65 
66 }
67 
68 #endif // UNPUB_HOOK_HPP
CObjectIStream –.
Definition: objistr.hpp:93
CObjectTypeInfo –.
Definition: objectinfo.hpp:94
Definition: Pub.hpp:56
Skip hook for a standalone object.
Definition: objhook.hpp:205
CSkipPubUnpublishedHook(CUnpublishedReport &report)
Definition: unpub_hook.cpp:53
void SkipObject(CObjectIStream &in, const CObjectTypeInfo &info) override
Definition: unpub_hook.cpp:99
void ProcessUnpublished(const CPub &pub)
Definition: unpub_hook.cpp:94
static MDB_envinfo info
Definition: mdb_load.c:37
Magic spell ;-) needed for some weird compilers... very empiric.
The NCBI C++/STL use hints.
std::istream & in(std::istream &in_, double &x_)
USING_NCBI_SCOPE
Definition: unpub_hook.hpp:47
Modified on Mon Apr 22 04:01:38 2024 by modify_doxy.py rev. 669887