NCBI C++ ToolKit
Classes | Enumerations | Functions
string_constraint.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/bioseq_handle.hpp>
+ Include dependency graph for string_constraint.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CStringConstraint
 

Enumerations

enum  EExistingText {
  eExistingText_replace_old = 0 , eExistingText_append_semi , eExistingText_append_space , eExistingText_append_colon ,
  eExistingText_append_comma , eExistingText_append_none , eExistingText_prefix_semi , eExistingText_prefix_space ,
  eExistingText_prefix_colon , eExistingText_prefix_comma , eExistingText_prefix_none , eExistingText_leave_old ,
  eExistingText_add_qual , eExistingText_cancel
}
 

Functions

bool AddValueToString (string &str, const string &value, EExistingText existing_text)
 Add text to an existing string, using the "existing_text" directive to combine new text with existing text. More...
 

Enumeration Type Documentation

◆ EExistingText

Enumerator
eExistingText_replace_old 
eExistingText_append_semi 
eExistingText_append_space 
eExistingText_append_colon 
eExistingText_append_comma 
eExistingText_append_none 
eExistingText_prefix_semi 
eExistingText_prefix_space 
eExistingText_prefix_colon 
eExistingText_prefix_comma 
eExistingText_prefix_none 
eExistingText_leave_old 
eExistingText_add_qual 
eExistingText_cancel 

Definition at line 46 of file string_constraint.hpp.

Function Documentation

◆ AddValueToString()

bool AddValueToString ( string str,
const string value,
EExistingText  existing_text 
)

Add text to an existing string, using the "existing_text" directive to combine new text with existing text.

Definition at line 39 of file string_constraint.cpp.

References eExistingText_append_colon, eExistingText_append_comma, eExistingText_append_none, eExistingText_append_semi, eExistingText_append_space, eExistingText_prefix_colon, eExistingText_prefix_comma, eExistingText_prefix_none, eExistingText_prefix_semi, eExistingText_prefix_space, eExistingText_replace_old, NStr::IsBlank(), str(), and rapidjson::value.

Referenced by CDBLinkField::_ParseAndAppend(), CSrcTableDbxrefColumn::AddToBioSource(), CSrcTaxnameAfterBinomialColumn::AddToBioSource(), CSrcTableOriginColumn::AddToBioSource(), CSrcStructuredVoucherPartColumn::AddToBioSource(), CCommentColumn::AddToFeature(), CExceptionColumn::AddToFeature(), CGbQualColumn::AddToFeature(), CProductColumn::AddToFeature(), CDescriptionColumn::AddToFeature(), CGeneRefColumn::AddToFeature(), CProtRefColumn::AddToFeature(), AddValueToColumn(), NMacroUtil::ApplyFirstName(), NMacroUtil::ApplyMiddleInitial(), CApplySubpanel::ApplyToAll(), CConvertSubpanel::ApplyToAll(), CParseSubpanel::ApplyToAll(), CApplySubpanel::ApplyToSelected(), CConvertSubpanel::ApplyToSelected(), CParseSubpanel::ApplyToSelected(), CConvertCDSToPseudoGene::Convert(), CBulkCDS::GetCommandFromValuesTable(), IEditingAction::HandleValue(), CGenomeAssemblyComment::SetAssemblyMethodProgram(), CGenomeAssemblyComment::SetAssemblyMethodVersion(), CPubField::SetAuthorField(), CPubField::SetPubTitle(), SetRnaProductName(), SetSimpleTypeValue(), CGBBlockField::SetVal(), CCommentDescField::SetVal(), CDefinitionLineField::SetVal(), CGenbankKeywordField::SetVal(), CGenomeProjectField::SetVal(), CDBLinkField::SetVal(), CStructuredCommentField::SetVal(), CMacroFunction_AddDBLink::TheFunction(), CMacroFunction_ParseToStructComm::TheFunction(), CMacroFunction_AddorSetContElement::TheFunction(), CMacroFunction_SetPubTitle::TheFunction(), CMacroFunction_SetPubAuthor::TheFunction(), UpdateOneDefLine(), CSatelliteColumn::x_AddSatelliteName(), CSatelliteColumn::x_AddSatelliteType(), CConvertFeatureBase::x_AddToComment(), CConvertCDSToPseudoGene::x_AddToGeneDescr(), CConvertCDSToPseudoGene::x_AddToGeneLocus(), CMacroFunction_ApplyStrucVoucherPart::x_ApplyPart(), CSrcTablePrimerColumn::x_ApplyStringToPrimerSet(), CMacroFunction_ConvertStringQual::x_ChangeFields(), CMacroFunction_ParseStringQual::x_ChangeFields(), CMacroFunction_CopyStringQual::x_ChangeFields(), CMacroFunction_SwapQual::x_CopyFields(), CSequenceUpdater::x_FuseFeatures(), CMacroFunction_AddParsedText::x_ParseFields(), CMacroFunction_SetPubAffil::x_SetAffilField(), CMacroFunction_SetPubJournal::x_SetJournalInPubdesc(), CMacroFunction_SetStringQual::x_SetNewPrimitiveValue(), CMacroFunction_SetPubVolIssuePages::x_SetVolIssuePagesInPubdesc(), and CUpdateTLSNameDlg::x_UpdateAutodefOptions().

Modified on Mon May 27 04:36:49 2024 by modify_doxy.py rev. 669887