NCBI C++ ToolKit
Classes | Typedefs | Functions
miscedit_util.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objects/seq/Seqdesc.hpp>
#include <objects/biblio/Cit_sub.hpp>
#include <objects/biblio/Auth_list.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Imprint.hpp>
#include <objects/pub/Pub.hpp>
#include <objects/seq/Pubdesc.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/User_field.hpp>
#include <objmgr/scope.hpp>
#include <objtools/edit/loc_edit.hpp>
#include <objtools/edit/parse_text_options.hpp>
#include <objtools/cleanup/capitalization_string.hpp>
#include <gui/objutils/cmd_composite.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/packages/pkg_sequence_edit/featedit_util.hpp>
#include <gui/packages/pkg_sequence_edit/srcedit_util.hpp>
#include <gui/packages/pkg_sequence_edit/seqtable_util.hpp>
+ Include dependency graph for miscedit_util.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  CFieldHandlerFactory
 
class  CTextDescriptorField
 
class  CCommentDescField
 
class  CDefinitionLineField
 
class  CGenbankKeywordField
 
class  CGenomeProjectField
 
class  CBankITCommentField
 
class  CGeneralCommentField
 
class  CSeqIdField
 
class  CFileIDField
 
class  CGeneralIDField
 
class  CLocalIDField
 
class  CStructCommFieldValuePair
 
class  CStructCommDBName
 
class  CStructCommFieldName
 
class  CFlatFileField
 
class  CMiscSeqTableColumn
 

Typedefs

typedef vector< CRef< CMiscSeqTableColumn > > TMiscSeqTableColumnList
 

Functions

CRef< CCmdCompositeConvertValCmd (CConstRef< CObject > object, CRef< CMiscSeqTableColumn > col1, CRef< CMiscSeqTableColumn > col2, objects::edit::EExistingText existing_text, objects::CScope &scope)
 
CRef< objects::CSeq_table > GetMiscTableFromSeqEntry (const vector< string > &fields, objects::CSeq_entry_Handle entry)
 
void AddMiscColumnsToTable (CRef< objects::CSeq_table > table, const vector< string > &fields, objects::CSeq_entry_Handle entry)
 
string MakeTableMetaInfoString (objects::edit::EExistingText rule, bool erase_blanks)
 
CRef< objects::CUser_field > MakeTableMetaInfoField (objects::edit::EExistingText rule, bool erase_blanks)
 
int CountColumnConflicts (CRef< CMiscSeqTableColumn > col, vector< CConstRef< CObject > > objs, const string &val)
 
bool DoesObjectMatchFieldConstraint (const CObject &object, const string &field_name, CRef< objects::edit::CStringConstraint > string_constraint, CRef< objects::CScope > scope)
 
bool DoesApplyObjectMatchFieldConstraint (const objects::edit::CApplyObject &object, const string &field_name, CRef< objects::edit::CStringConstraint > string_constraint)
 
CRef< CCmdCompositeGetPropagateDBLinkCmd (objects::CSeq_entry_Handle entry)
 
CRef< CCmdCompositeGetCommandFromApplyObject (objects::edit::CApplyObject &obj)
 
void GetViewObjects (IWorkbench *workbench, TConstScopedObjects &objects)
 
int GetNumberOfViewedBioseqs (TConstScopedObjects &objects)
 
bool FocusedOnNucleotides (TConstScopedObjects &objects, const objects::CSeq_entry_Handle &tse)
 
bool FocusedOnAll (TConstScopedObjects &objects, const objects::CSeq_entry_Handle &tse)
 

Typedef Documentation

◆ TMiscSeqTableColumnList

Definition at line 407 of file miscedit_util.hpp.

Function Documentation

◆ AddMiscColumnsToTable()

void AddMiscColumnsToTable ( CRef< objects::CSeq_table >  table,
const vector< string > &  fields,
objects::CSeq_entry_Handle  entry 
)

◆ ConvertValCmd()

CRef<CCmdComposite> ConvertValCmd ( CConstRef< CObject object,
CRef< CMiscSeqTableColumn col1,
CRef< CMiscSeqTableColumn col2,
objects::edit::EExistingText  existing_text,
objects::CScope &  scope 
)

◆ CountColumnConflicts()

int CountColumnConflicts ( CRef< CMiscSeqTableColumn col,
vector< CConstRef< CObject > >  objs,
const string val 
)

◆ DoesApplyObjectMatchFieldConstraint()

bool DoesApplyObjectMatchFieldConstraint ( const objects::edit::CApplyObject &  object,
const string field_name,
CRef< objects::edit::CStringConstraint >  string_constraint 
)

◆ DoesObjectMatchFieldConstraint()

bool DoesObjectMatchFieldConstraint ( const CObject object,
const string field_name,
CRef< objects::edit::CStringConstraint >  string_constraint,
CRef< objects::CScope >  scope 
)

◆ FocusedOnAll()

bool FocusedOnAll ( TConstScopedObjects objects,
const objects::CSeq_entry_Handle &  tse 
)

Definition at line 3805 of file miscedit_util.cpp.

References CSeq_inst_Base::eMol_na, and GetNumberOfViewedBioseqs().

Referenced by s_Create5ColFeatTable().

◆ FocusedOnNucleotides()

bool FocusedOnNucleotides ( TConstScopedObjects objects,
const objects::CSeq_entry_Handle &  tse 
)

◆ GetCommandFromApplyObject()

CRef<CCmdComposite> GetCommandFromApplyObject ( objects::edit::CApplyObject &  obj)

◆ GetMiscTableFromSeqEntry()

CRef<objects::CSeq_table> GetMiscTableFromSeqEntry ( const vector< string > &  fields,
objects::CSeq_entry_Handle  entry 
)

Referenced by x_TestList(), and x_TestPair().

◆ GetNumberOfViewedBioseqs()

int GetNumberOfViewedBioseqs ( TConstScopedObjects objects)

Definition at line 3775 of file miscedit_util.cpp.

References ITERATE.

Referenced by FocusedOnAll(), and FocusedOnNucleotides().

◆ GetPropagateDBLinkCmd()

CRef<CCmdComposite> GetPropagateDBLinkCmd ( objects::CSeq_entry_Handle  entry)

◆ GetViewObjects()

void GetViewObjects ( IWorkbench workbench,
TConstScopedObjects objects 
)

◆ MakeTableMetaInfoField()

CRef<objects::CUser_field> MakeTableMetaInfoField ( objects::edit::EExistingText  rule,
bool  erase_blanks 
)

◆ MakeTableMetaInfoString()

string MakeTableMetaInfoString ( objects::edit::EExistingText  rule,
bool  erase_blanks 
)
Modified on Sun Apr 14 05:26:26 2024 by modify_doxy.py rev. 669887