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

Go to the SVN repository for this file.

1 #ifndef KEY__HPP
2 #define KEY__HPP
3 
4 /* $Id: Key.hpp 101014 2023-10-16 17:50:16Z saprykin $
5  * ===========================================================================
6  *
7  * PUBLIC DOMAIN NOTICE
8  * National Center for Biotechnology Information
9  *
10  * This software/database is a "United States Government Work" under the
11  * terms of the United States Copyright Act. It was written as part of
12  * the author's official duties as a United States Government employee and
13  * thus cannot be copyrighted. This software/database is freely available
14  * to the public for use. The National Library of Medicine and the U.S.
15  * Government have not placed any restriction on its use or reproduction.
16  *
17  * Although all reasonable efforts have been taken to ensure the accuracy
18  * and reliability of the software and data, the NLM and the U.S.
19  * Government do not and cannot warrant the performance or results that
20  * may be obtained by using this software or data. The NLM and the U.S.
21  * Government disclaim all warranties, express or implied, including
22  * warranties of performance, merchantability or fitness for any particular
23  * purpose.
24  *
25  * Please cite the author in any work or product based on this material.
26  *
27  * ===========================================================================
28  *
29  * Authors: Dmitri Dmitrienko
30  *
31  * File Description:
32  *
33  * List and map of entities
34  *
35  */
36 
37 #include <unordered_map>
38 #include <vector>
39 #include <bitset>
40 #include <corelib/ncbistd.hpp>
41 
42 #include "cass_exception.hpp"
43 #include "IdCassScope.hpp"
44 
45 
48 
49 // if blob has large chunks, bfComplete flag indicates whether chunks
50 // are successfully inserted or updated
51 #define bfComplete 0x0000000001
52 #define bfPacked 0x0000000002
53 #define bfCheckFailed 0x0000000004
54 
55 struct SBlobStat
56 {
59 };
60 
62 {
69  bool seen{false};
70 };
71 
72 using TBlobFullStatVec = deque<SBlobFullStat>;
73 
75 #endif
#define END_IDBLOB_SCOPE
Definition: IdCassScope.hpp:40
#define BEGIN_IDBLOB_SCOPE
Definition: IdCassScope.hpp:39
deque< SBlobFullStat > TBlobFullStatVec
Definition: Key.hpp:72
USING_NCBI_SCOPE
Definition: Key.hpp:47
Include a standard set of the NCBI C++ Toolkit most basic headers.
Int4 int32_t
Int8 int64_t
bool seen
Definition: Key.hpp:69
int32_t owner
Definition: Key.hpp:68
int64_t modified
Definition: Key.hpp:63
int64_t flags
Definition: Key.hpp:64
int64_t size
Definition: Key.hpp:65
int32_t sat_key
Definition: Key.hpp:66
int32_t info
Definition: Key.hpp:67
int64_t modified
Definition: Key.hpp:57
int64_t flags
Definition: Key.hpp:58
Modified on Sat Jun 22 10:41:18 2024 by modify_doxy.py rev. 669887