NCBI C++ ToolKit
gb_flatfile_load_params.cpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: gb_flatfile_load_params.cpp 46563 2021-07-13 17:50:23Z asztalos $
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  * Authors: Andrea Asztalos
27  */
28 
29 
30 #include <ncbi_pch.hpp>
33 
35 
37 {
38  Copy(data);
39 }
40 
42 {
43  Copy(data);
44 }
45 
47 {
48  return (m_SeqIdOption == data.m_SeqIdOption);
49 }
50 
52 {
54 }
55 
56 static const char *kSequenceIdOptionTag = "SequenceIDs";
57 
59 {
60  if (!m_RegPath.empty()) {
63 
65  }
66 }
67 
69 {
70  if (!m_RegPath.empty()) {
72  CRegistryReadView view = gui_reg.GetReadView(m_RegPath);
73 
75  }
76 }
77 
bool operator==(const CGBFlatFileLoadParams &data) const
void Copy(const CGBFlatFileLoadParams &data)
void operator=(const CGBFlatFileLoadParams &data)
virtual void SaveSettings() const
CRegistryWriteView GetWriteView(const string &section)
get a read-write view at a particular level.
Definition: registry.cpp:462
static CGuiRegistry & GetInstance()
access the application-wide singleton
Definition: registry.cpp:400
CRegistryReadView GetReadView(const string &section) const
get a read-only view at a particular level.
Definition: registry.cpp:428
class CRegistryReadView provides a nested hierarchical view at a particular key.
Definition: reg_view.hpp:58
int GetInt(const string &key, int default_val=0) const
access a named key at this level, with no recursion
Definition: reg_view.cpp:230
void Set(const string &key, int val)
access a named key at this level, with no recursion
Definition: reg_view.cpp:533
static const char * kSequenceIdOptionTag
#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 Wed Feb 28 07:12:15 2024 by modify_doxy.py rev. 669887