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

Go to the SVN repository for this file.

1 /* $Id: macro_panel_args.cpp 47274 2022-12-06 16:17:02Z 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  * File Description: Utility functions used in macro editor
29  *
30  */
31 
32 #include <ncbi_pch.hpp>
33 #include <objmgr/util/sequence.hpp>
35 
38 USING_SCOPE(macro);
39 
40 namespace NMacroArgs
41 {
42  // Changes in the function and parameter names require changes in the respective
43  // XRC file used in the macro editor
44 
45  // Order of the vectors is important for populating the macro editor's action panel with the correct values
46  // Always list the function's argument first and then list the arguments specific for the panel
47  // For example, see the order in GetEditArgs()
49  {
50  static const TArgumentsVector s_args{
55  };
56  return s_args;
57  }
58 
60  {
61  static const TArgumentsVector s_args{
68  , SArgMetaData(kCopy, CMQueryNodeValue::eBool, false) // not a function argument, but it's needed for the panel
69  };
70  return s_args;
71  }
72 
74  {
75  static const TArgumentsVector s_args{
80  };
81  return s_args;
82  }
83 
85  {
86  static const TArgumentsVector s_args{
89  };
90  return s_args;
91  }
92 
94  {
95  static const TArgumentsVector s_args{
109  };
110  return s_args;
111  }
112 
114  {
115  static const TArgumentsVector s_args{
126  };
127  return s_args;
128  }
129 
131  {
132  static const TArgumentsVector s_args{
155  };
156  return s_args;
157  }
158 
160  {
161  static const TArgumentsVector s_args{
167  };
168  return s_args;
169  }
170 
172  {
173  static const TArgumentsVector s_optargs{
185  };
186  return s_optargs;
187  }
188 
190  {
191  static const TArgumentsVector s_bsrcargs{
196  };
197  return s_bsrcargs;
198  }
199 
201  {
202  static const TArgumentsVector s_args{
207  };
208  return s_args;
209  }
210 
212  {
213  static const TArgumentsVector s_args{
227  };
228  return s_args;
229  }
230 
232  {
233  static const TArgumentsVector s_args{
237  };
238  return s_args;
239  }
240 
242  {
243  static const TArgumentsVector s_args{
254  };
255  return s_args;
256  }
257 
259  {
260  static const TArgumentsVector s_args{
265  };
266  return s_args;
267  }
268 
270  {
271  static const TArgumentsVector s_args{
275  };
276  return s_args;
277  }
278 
280  {
281  static const TArgumentsVector s_args{
286  };
287  return s_args;
288  }
289 
291  {
292  static const TArgumentsVector s_args{
296  };
297  return s_args;
298  }
299 
301  {
302  static const TArgumentsVector s_args{
306  };
307  return s_args;
308  }
309 
311  {
312  static const TArgumentsVector s_args{
317  };
318  return s_args;
319  }
320 
322  {
323  static const TArgumentsVector s_args{
325  };
326  return s_args;
327  }
328 
330  {
331  static const TArgumentsVector s_args{
335  };
336  return s_args;
337  }
338 
340  {
341  static const TArgumentsVector s_args{
347  };
348  return s_args;
349  }
350 
352  {
353  static const TArgumentsVector s_args{
358  };
359  return s_args;
360  }
361 
363  {
364  static const TArgumentsVector s_args{
370  };
371  return s_args;
372  }
373 
375  {
376  static const TArgumentsVector s_args{
381  };
382  return s_args;
383  }
384 
386  {
387  static const TArgumentsVector s_args{
389  };
390  return s_args;
391  }
392 
394  {
395  static const TArgumentsVector s_args{
402  };
403  return s_args;
404  }
405 
406  const vector<string>& GetAddAssemblyGapsNArgs()
407  {
408  static const vector<string> s_args{
410  return s_args;
411  }
412 
414  {
415  static const TArgumentsVector& s_args{
420 
425 
433  };
434  return s_args;
435  }
436 
438  {
439  static const TArgumentsVector& s_args{
453 
461  };
462  return s_args;
463  }
464 
466  {
467  static const TArgumentsVector& s_args{
475 
480 
488 
489  };
490  return s_args;
491  }
492 
494  {
495  static const TArgumentsVector& s_args{
498  };
499  return s_args;
500  }
501 
503  {
504  static const TArgumentsVector& s_args{
508  };
509  return s_args;
510  }
511 
513  {
514  static const TArgumentsVector& s_args{
519  };
520  return s_args;
521  }
522 }
523 
525 
526 /* @} */
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
vector< macro::SArgMetaData > TArgumentsVector
USING_SCOPE(objects)
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 TArgumentsVector & GetConvertLocStrandArgs()
const string kSameDoi
const string kSelectAll
const string kBsrcLoc
const string kNewValue
const string kJustAfter
const string kWhereFeatProduct
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 TArgumentsVector & GetApplyPmidArgs()
const string kAddFeatQual3
const string kToCoord
const string kUnverMisassembled
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 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 kUpTo
const TArgumentsVector & GetDOILookupArgs()
const string kInconsTaxa
const string kTechTo
const string kProteinName
const string kLocation
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 kDigitsLeft
const string kPartial3
const string kAutodefCompl
const TArgumentsVector & GetConvertArgs()
const string kNoChange
const string kCaseSens
const string kFind
const string kLinkEvidence
const string kAddFeatQual1
const string kKeepGapLength
const string kUnverOrg
const TArgumentsVector & GetExtendFeatToSeqEndArgs()
const string kCapChange
const TArgumentsVector & GetSetExceptionArgs()
const string kRemmRNA
const string kFromFeat
const string kLetterLeft
const string kAfter
const string kIsRegex
const string kSuppressingType
const string kRmvOverlapGene
const string kStrand
const string kFromCoord
const string kComplFrom
const string kClassTo
const TArgumentsVector & GetFixPubCapsArgs()
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 TArgumentsVector & GetDiscrReportArgs()
const TArgumentsVector & GetRmvDuplFeaturesArgs()
const string kComment
const TArgumentsVector & GetParseArgs()
const string kCreateOnProtein
const TArgumentsVector & GetApplyTableArgs()
const string kExistingText
const string kToLower
const TArgumentsVector & GetConvertSetArgs()
const string kDelLeft
const string kRmvBlank
const string kSourceField
const string kmiscRNA_comment2
const string kGapSizeCnv
const string kLeaveOrig
const string kFeatType
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 kExtend
const string kTopFrom
const string kAdjustCDS
const TArgumentsVector & GetEditArgs()
const string kAddFeatVal1
const string kMolTo
const string kRemoveProteins
const string kCaseInsensParse
const string kStartAt
const string kPunctonly
const string kMoveExplanation
const string kInterval
const TArgumentsVector & GetEditMolinfoArgs()
const string kStrCommField
const string kGeneDescr
const string kBsrcTaxFrom
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 kFCapLower
const string kAddFeatVal3
Modified on Mon Jun 17 05:11:37 2024 by modify_doxy.py rev. 669887