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

Go to the SVN repository for this file.

1 #ifndef GUI_OBJUTILS___MACRO_PANEL_ARGS__HPP
2 #define GUI_OBJUTILS___MACRO_PANEL_ARGS__HPP
3 /* $Id: macro_panel_args.hpp 47274 2022-12-06 16:17:02Z asztalos $
4  * ===========================================================================
5  *
6  * PUBLIC DOMAIN NOTICE
7  * National Center for Biotechnology Information
8  *
9  * This software/database is a "United States Government Work" under the
10  * terms of the United States Copyright Act. It was written as part of
11  * the author's official duties as a United States Government employee and
12  * thus cannot be copyrighted. This software/database is freely available
13  * to the public for use. The National Library of Medicine and the U.S.
14  * Government have not placed any restriction on its use or reproduction.
15  *
16  * Although all reasonable efforts have been taken to ensure the accuracy
17  * and reliability of the software and data, the NLM and the U.S.
18  * Government do not and cannot warrant the performance or results that
19  * may be obtained by using this software or data. The NLM and the U.S.
20  * Government disclaim all warranties, express or implied, including
21  * warranties of performance, merchantability or fitness for any particular
22  * purpose.
23  *
24  * Please cite the author in any work or product based on this material.
25  *
26  * ===========================================================================
27  *
28  * Authors: Andrea Asztalos
29  *
30  * File Description: Control names defined in the panels from the macro editor
31  *
32  */
33 
34 #include <corelib/ncbistd.hpp>
37 #include <gui/gui_export.h>
38 
39 
41 
42 namespace NMacroArgs
43 {
44  const string kBsrcTextFrom = "text_qualifier_from";
45  const string kBsrcTaxFrom = "taxonomy_from";
46  const string kBsrcTextTo = "text_qualifier_to";
47  const string kBsrcTaxTo = "taxonomy_to";
48 
49  const string kField = "field";
50  const string kNewValue = "new_value";
51  const string kExistingText = "existing_text";
52  const string kDelimiter = "delimiter";
53 
54  const string kTableEnable = "enable_table";
55  const string kTableName = "table";
56  const string kTableCol = "table_column";
57  const string kOpenFile = "file_open_btn";
58  const string kTableLabel = "filename_text";
59  const string kColLabel = "column_text";
60  const string kTableDel = "table delimiter";
61  const string kCaseSensMatch = "case sens match";
62 
64 
65  const string kFind = "find_text";
66  const string kRepl = "repl_text";
67  const string kLocation = "location";
68  const string kCaseSens = "case_sensitive";
69  const string kCopy = "copy_btn";
70  const string kIsRegex = "is_regex";
71 
73 
74  const string kFromField = "from_field";
75  const string kToField = "to_field";
76 
78 
80 
81  const string kLeaveOrig = "leave_original";
82  const string kNoChange = "no_change";
83  const string kToUpper = "to_upper";
84  const string kCapNochange = "fcap_nochange";
85  const string kCapAtSpaces = "cap_atspaces";
86  const string kToLower = "to_lower";
87  const string kFCapLower = "fcap_lower";
88  const string kFlowerNochange = "flower_nochange";
89  const string kCapAtSpacesPunct = "cap_atspaces_punct";
90 
92 
93  const string kTextLeft = "text_left";
94  const string kDelLeft = "delimiter_left";
95  const string kDigitsLeft = "digits_left";
96  const string kLetterLeft = "letters_left";
97  const string kRmvLeft = "rmv_left";
98  const string kTextRight = "text_right";
99  const string kDelRight = "delimiter_right";
100  const string kDigitsRight = "digits_right";
101  const string kLetterRight = "letters_right";
102  const string kRmvRight = "rmv_right";
103 
105 
106  const string kJustAfter = "just_after";
107  const string kStartAt = "starting_at";
108  const string kUpTo = "up_to";
109  const string kInclude = "including";
110  const string kRmvParse = "rmv_from_parsed";
111  const string kCaseInsensParse = "case_insensitive_parse";
112  const string kWholeWordParse = "whole_word_parse";
113 
115 
116  const string kBefore = "before_check";
117  const string kAfter = "after_check";
118  const string kCaseInsensRmv = "case_insensitive_rmv";
119  const string kWholeWordRmv = "whole_word_rmv";
120 
122 
123  const string kFeatType = "feature_field";
124  const string kFeatQual = "qualifier_field";
125  const string kUpdatemRNA = "update_mrna";
126  const string kRNAType = "rna_type";
127  const string kncRNAClass = "ncRNA_class";
128  const string kStrCommField = "strcomm_field";
129  const string kMoveToNote = "move_to_note";
130  const string kProteinName = "protein_name";
131  const string kIsProtein = "is_protein";
132 
134 
135  const string kBsrcText = "text_qualifier";
136  const string kBsrcTax = "taxonomy";
137  const string kBsrcLoc = "bsrclocation";
138  const string kBsrcOrigin = "origin";
139  const TArgumentsVector& GetBsrcArgs();
140 
142 
143  const string kMolFrom = "mol_from";
144  const string kMolTo = "mol_to";
145  const string kTechFrom = "tech_from";
146  const string kTechTo = "tech_to";
147  const string kComplFrom = "compl_from";
148  const string kComplTo = "compl_to";
149  const string kClassFrom = "class_from";
150  const string kClassTo = "class_to";
151  const string kTopFrom = "topology_from";
152  const string kTopTo = "topology_to";
153  const string kStrandFrom = "strand_from";
154  const string kStrandTo = "strand_to";
155  const string kApplySeq = "apply_seq";
156 
158 
159  const string kInconsTaxa = "inconsistent_taxa";
160 
162 
163  const string kFromFeat = "from_feature";
164  const string kToFeat = "to_feature";
165  const string kConvText = "conversion_descr";
166  const string kLeaveFeat = "leave_original";
167  const string kRemmRNA = "rem_mrna";
168  const string kRemGene = "rem_gene";
169  const string kRemTranscriptid = "rem_transcriptID";
170  const string kSelText = "selection_text";
171  const string kChoices = "choices";
172  const string kCreateOnProtein = "create_on_protein";
173 
175 
176  const string kCapChange = "cap_change";
177  const string kPunctonly = "punct_only";
178 
180 
181  const string kExceptionType = "exception_type";
182  const string kWhereFeatProduct = "where_feature_product";
183  const string kMoveExplanation = "move_explanation";
184 
186 
187  const string kSuppressingType = "suppressing_type";
188  const string kNecessaryType = "necessary_type";
189 
191 
192  const string kCheckPartials = "check_partials";
193  const string kRemoveProteins = "remove_proteins";
194 
196 
197  const string kDelImproper = "del_improper";
198  const string kDelUnrecog = "del_unrecog";
199  const string kDelMultRepl = "del_mult_repl";
200 
202 
203  const string kObeyStopCodon = "obey_stop_codon";
204 
205  const string kRmvOverlapGene = "rmv_overlapping_gene";
206 
207  const string kRmvBlank = "remove_blank";
208 
210 
211  const string kGapSizeCnv = "convert_gap_size";
212 
213  const string kAllDbxref = "all_dbxref";
214  const string kIllegalDbxref = "illegal_dbxref";
215 
217 
218  const string kColDel = "col_del";
219  const string kMergeDel = "merge_del";
220  const string kSplitFirst = "split_first";
221  const string kConvertMulti = "convert_multi";
222  const string kMergeFirst = "merge_first";
223  const string kMultipleSpsOnly = "multiple_spaces_only";
224 
225  // used when opening a macro in the editor
226  const string kAffiliation = "affiliation";
227 
228  const string kLast = "last";
229  const string kFirst = "first";
230  const string kMiddle = "middle"; // middle initials
231  const string kSuffix = "suffix";
232 
233  const string kRetranslate = "retranslate";
234  const string kAdjustGene = "adjustgene";
235 
237 
238  const string kPartialOption = "partial_option";
239  const string kExtend = "extend";
240 
243 
245 
246  const string kLocType = "loc_type";
247 
249 
250  const string kTestName = "test_name";
251 
253 
254  const string kSourceField = "source_field";
255  const string kListFeatRule = "list_feat_rule";
256  const string kMiscFeatCheck = "misc_feat_check";
257  const string kMiscFeatRule = "misc_feat_rule";
258  const string kSelectAll = "select_all";
259  const string kAutodefCompl = "autodef_complete";
260 
262 
263 
264  const string kMinUnknown = "min_unknown";
265  const string kMaxUnknown = "max_unknown";
266  const string kMinKnown = "min_known";
267  const string kMaxKnown = "max_known";
268  const string kAdjustCDS = "adjust_cds";
269  const string kKeepGapLength = "keep_gap_length";
270  const string kGapType = "gap_type";
271  const string kLinkage = "linkage";
272  const string kLinkEvidence = "linkage_evidence";
273 
274  const vector<string>& GetAddAssemblyGapsNArgs();
275 
276  const string kProteinDescr = "protein_descr";
277  const string kCodonStart = "codon_start";
278  const string kAddmRNA = "add_mrna";
279 
281 
282  const string kPartial5 = "partial5";
283  const string kPartial3 = "partial3";
284  const string kStrand = "loc_strand";
285  const string kWholeSeq = "use_whole_seq";
286  const string kInterval = "use_coord";
287  const string kFromCoord = "from_coord";
288  const string kToCoord = "to_coord";
289 
290  const string kComment = "comment";
291  const string kGeneLocus = "gene_symbol";
292  const string kGeneDescr = "gene_descr";
293  const string kAddRedundant = "add_redundant";
294  const string kFeatureType = "feature_type";
295 
296  const string kAddFeatQual1 = "qualifier1";
297  const string kAddFeatVal1 = "qual_value1";
298  const string kAddFeatQual2 = "qualifier2";
299  const string kAddFeatVal2 = "qual_value2";
300  const string kAddFeatQual3 = "qualifier3";
301  const string kAddFeatVal3 = "qual_value3";
302  const string kAddFeatQual4 = "qualifier4";
303  const string kAddFeatVal4 = "qual_value4";
304 
305 
307 
308  const string kRnaName = "rna_name";
309  const string kmiscRNA_comment1 = "miscRNA_comment1";
310  const string kmiscRNA_comment2 = "miscRNA_comment2";
311  const string kGeneSymbolStatic = "gene_symbol_static";
312  const string kGeneDescrStatic = "gene_descr_static";
313 
315 
316  const string kApplyMultiple = "apply_multiple";
317 
319 
320  const string kGlobalDoi = "global_doi";
321  const string kSameDoi = "same_doi";
322 
324 
325  const string kUnverOrg = "unver_org";
326  const string kUnverFeats = "unver_feats";
327  const string kUnverMisassembled = "unver_misassm";
328  const string kUnverContamination = "unver_contm";
329 
331 
332  // variables used in the location constraint panel
333  const string kConstr_Strand = "constr_strand";
334  const string kConstr_LocType = "constr_loctype";
335  const string kConstr_Distance = "constr_dist";
336 
337  // variables used in the string constraint panel
338  const string kConstr_Match = "match_text";
339  const string kConstr_StrCaseSens = "constr_casesens";
340  const string kConstr_IgnoreSpace = "ignore_space";
341  const string kConstr_IgnorePunct = "ignore_punct";
342  const string kConstr_WholeWord = "whole_word";
343  const string kConstr_IgnoreWeasel = "ignore_weasel";
344  const string kConstr_SynFile = "synonym_file";
345  const string kConstr_SynMatch = "syn_match";
346  const string kConstr_SynCaseSens = "syn_casesens";
347  const string kConstr_SynWholeWord = "syn_wholeword";
348 
349  // variables used in the sequence_and_features constraint panel
350  const string kConstr_FeatType = "constr_feattype";
351  const string kConstr_FeatCount = "constr_featcount";
352 
353 }
354 
356 
357 #endif // GUI_OBJUTILS___MACRO_PANEL_ARGS__HPP
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
Defines to provide correct exporting from DLLs in Windows.
vector< macro::SArgMetaData > TArgumentsVector
const string kmiscRNA_comment1
const vector< string > & GetAddAssemblyGapsNArgs()
const TArgumentsVector & GetUpdateRpldECNumbersArgs()
const string kApplyMultiple
const string kCapAtSpaces
const string kGlobalDoi
const TArgumentsVector & GetSwapArgs()
const string kMinUnknown
const TArgumentsVector & GetApplyCDSArgs()
const string kAddRedundant
const string kRepl
const string kLast
const string kAffiliation
const TArgumentsVector & GetConvertLocStrandArgs()
const string kSameDoi
const string kSelectAll
const string kBsrcLoc
const string kNewValue
const string kConstr_IgnorePunct
const string kJustAfter
const string kWhereFeatProduct
const string kColLabel
const string kUnverFeats
const TArgumentsVector & GetRmvOutsideArgs()
const string kProteinDescr
const string kBsrcOrigin
const string kMiscFeatCheck
const string kStrandFrom
const string kLocType
const string kAdjustGene
const string kConstr_IgnoreWeasel
const TArgumentsVector & GetApplyPmidArgs()
const string kAddFeatQual3
const string kToCoord
const string kUnverMisassembled
const string kFirst
const string kConstr_Strand
const string kMoveToNote
const TArgumentsVector & GetRemoveGeneXrefArgs()
const string kChoices
const string kDelUnrecog
const string kWholeWordParse
const string kDigitsRight
const string kMiscFeatRule
const string kAddFeatVal2
const string kWholeSeq
const string kCapAtSpacesPunct
const string kConstr_FeatCount
const string kLeaveFeat
const string kToUpper
const string kExceptionType
const string kLetterRight
const string kStrandTo
const string kGeneDescrStatic
const TArgumentsVector & GetUnverifiedArgs()
const string kTextLeft
const string kBsrcTaxTo
const string kRmvLeft
const string kApplySeq
const string kCodonStart
const string kToField
const TArgumentsVector & GetSetArgs()
const string kListFeatRule
const string kConstr_SynCaseSens
const string kMiddle
const string kConvertMulti
const string kUpTo
const TArgumentsVector & GetDOILookupArgs()
const string kInconsTaxa
const string kTechTo
const string kProteinName
const string kLocation
const string kConstr_StrCaseSens
const string kAddFeatVal4
const string kFromField
const string kPartialOption
const string kBefore
const string kFeatQual
const TArgumentsVector & GetRmvDbxrefArgs()
const TArgumentsVector & GetSetPartialArgs()
const string kField
const string kTableName
const string kDigitsLeft
const string kPartial3
const string kAutodefCompl
const TArgumentsVector & GetConvertArgs()
const string kNoChange
const string kCaseSens
const string kFind
const string kTableCol
const string kLinkEvidence
const string kAddFeatQual1
const string kKeepGapLength
const string kUnverOrg
const TArgumentsVector & GetExtendFeatToSeqEndArgs()
const string kIsProtein
const string kMultipleSpsOnly
const string kCapChange
const string kSuffix
const TArgumentsVector & GetSetExceptionArgs()
const string kRemmRNA
const string kFromFeat
const string kLetterLeft
const string kAfter
const string kConstr_SynFile
const string kIsRegex
const string kTableDel
const string kSuppressingType
const string kConstr_WholeWord
const string kRmvOverlapGene
const string kStrand
const string kFromCoord
const string kComplFrom
const string kClassTo
const TArgumentsVector & GetFixPubCapsArgs()
const string kConstr_SynWholeWord
const string kTestName
const string kMinKnown
const string kAllDbxref
const TArgumentsVector & GetConvertLocTypeArgs()
const string kMaxUnknown
const string kDelMultRepl
const string kRNAType
const string kNecessaryType
const string kFlowerNochange
const string kTechFrom
const TArgumentsVector & GetDelimiterArgs()
const string kncRNAClass
const TArgumentsVector & GetAutodefArgs()
const string kWholeWordRmv
const TArgumentsVector & GetOptionalArgs()
const string kSplitFirst
const TArgumentsVector & GetDiscrReportArgs()
const TArgumentsVector & GetRmvDuplFeaturesArgs()
const string kConstr_FeatType
const string kComment
const TArgumentsVector & GetParseArgs()
const string kCreateOnProtein
const TArgumentsVector & GetApplyTableArgs()
const string kExistingText
const string kToLower
const TArgumentsVector & GetConvertSetArgs()
const string kTableLabel
const string kMergeDel
const string kDelLeft
const string kRmvBlank
const string kSourceField
const string kmiscRNA_comment2
const string kGapSizeCnv
const string kConstr_SynMatch
const string kLeaveOrig
const string kFeatType
const string kOpenFile
const string kCheckPartials
const string kSelText
const string kDelImproper
const string kDelRight
const string kCapNochange
const string kRetranslate
const string kConvText
const string kRmvParse
const TArgumentsVector & GetApplyRNAArgs()
const string kLinkage
const TArgumentsVector & GetBsrcArgs()
const string kComplTo
const TArgumentsVector & GetDualBsrcArgs()
const string kGeneSymbolStatic
const string kCopy
const string kMolFrom
const string kGeneLocus
const string kBsrcText
const string kTextRight
const string kUnverContamination
const string kGapType
const string kInclude
const string kMaxKnown
const TArgumentsVector & GetCopyArgs()
const string kRnaName
const string kRemGene
const string kAddFeatQual2
const string kAddmRNA
const string kBsrcTextTo
const string kRmvRight
const string kRemTranscriptid
const string kUpdatemRNA
const TArgumentsVector & GetClearPartialArgs()
const TArgumentsVector & GetConvertFeatArgs()
const string kBsrcTax
const string kIllegalDbxref
const string kAddFeatQual4
const TArgumentsVector & GetApplyOtherFeatureArgs()
const string kPartial5
const string kTableEnable
const string kExtend
const string kTopFrom
const string kAdjustCDS
const TArgumentsVector & GetEditArgs()
const string kAddFeatVal1
const string kCaseSensMatch
const string kMolTo
const string kRemoveProteins
const string kMergeFirst
const string kCaseInsensParse
const string kConstr_LocType
const string kStartAt
const string kPunctonly
const string kConstr_Match
const string kMoveExplanation
const string kInterval
const TArgumentsVector & GetEditMolinfoArgs()
const string kStrCommField
const string kGeneDescr
const string kBsrcTaxFrom
const string kColDel
const string kBsrcTextFrom
const string kClassFrom
const string kToFeat
const string kCaseInsensRmv
const string kFeatureType
const string kTopTo
const string kObeyStopCodon
const string kDelimiter
const string kConstr_IgnoreSpace
const string kFCapLower
const string kAddFeatVal3
const string kConstr_Distance
Modified on Wed Sep 04 15:05:21 2024 by modify_doxy.py rev. 669887