NCBI C++ ToolKit
Macros | Functions | Variables
struc_comm_field.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbistr.hpp>
#include <serial/enumvalues.hpp>
#include <serial/serialimpl.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/valid/Field_rule.hpp>
#include <objects/valid/Comment_rule.hpp>
#include <objects/valid/Comment_set.hpp>
#include <objects/valid/Field_set.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/bioseq_ci.hpp>
#include <util/util_misc.hpp>
#include <objtools/edit/struc_comm_field.hpp>
#include <objtools/edit/seqid_guesser.hpp>
+ Include dependency graph for struc_comm_field.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define ANI_STRING_FIELD_IMPLEMENTATION(Fieldname)
 

Functions

 USING_SCOPE (ncbi::objects)
 
bool s_UserFieldCompare (const CRef< CUser_field > &f1, const CRef< CUser_field > &f2)
 

Variables

const string kStructuredComment = "StructuredComment"
 
const string kStructuredCommentPrefix = "StructuredCommentPrefix"
 
const string kStructuredCommentSuffix = "StructuredCommentSuffix"
 
const string kGenomeAssemblyData = "Genome-Assembly-Data"
 
const string kAssemblyMethod = "Assembly Method"
 
const string kGenomeCoverage = "Genome Coverage"
 
const string kSequencingTechnology = "Sequencing Technology"
 
const string kExpectedFinalVersion = "Expected Final Version"
 
const string kReferenceGuidedAssembly = "Reference-guided Assembly"
 
const string kSingleCellAmplification = "Single-cell Amplification"
 
const string kANI = "Taxonomic-Update-Statistics"
 
const string kANIThisGenome = "This Genome (query)"
 
const string kANICurrentName = "Current Name"
 
const string kANIPreviousName = "Previous Name"
 
const string kANIDateUpdated = "Date Updated"
 
const string kANIAnalysisType = "Analysis Type"
 
const string kANIAnalysis1 = "Analysis 1 (A1)"
 
const string kANIA1Genome = "A1 Genome (subject)"
 
const string kANIA1Name = "A1 Name"
 
const string kANIA1ANI = "A1 ANI"
 
const string kANIA1QueryCoverage = "A1 Query Coverage"
 
const string kANIA1SubjectCoverage = "A1 Subject Coverage"
 
const string kANIAnalysis2 = "Analysis 2 (A2)"
 
const string kANIA2Genome = "A2 Genome (subject)"
 
const string kANIA2Name = "A2 Name"
 
const string kANIA2ANI = "A2 ANI"
 
const string kANIA2QueryCoverage = "A2 Query Coverage"
 
const string kANIA2SubjectCoverage = "A2 Subject Coverage"
 

Macro Definition Documentation

◆ ANI_STRING_FIELD_IMPLEMENTATION

#define ANI_STRING_FIELD_IMPLEMENTATION (   Fieldname)
Value:
void CANIComment::Set##Fieldname(CUser_object& obj, string val, EExistingText existing_text) \
{ \
CStructuredCommentField field(kANI, kANI##Fieldname); \
field.SetVal(obj, val, existing_text); \
} \
string CANIComment::Get##Fieldname(const CUser_object& obj) \
{ \
CStructuredCommentField field(kANI, kANI##Fieldname); \
return field.GetVal(obj); \
} \
CANIComment& CANIComment::Set##Fieldname(string val, EExistingText existing_text) \
{ \
Set##Fieldname(*m_User, val, existing_text); \
return *this; \
}
const TYPE & Get(const CNamedParameterList *param)
EExistingText
const string kANI

Definition at line 818 of file struc_comm_field.cpp.

Function Documentation

◆ s_UserFieldCompare()

bool s_UserFieldCompare ( const CRef< CUser_field > &  f1,
const CRef< CUser_field > &  f2 
)

◆ USING_SCOPE()

USING_SCOPE ( ncbi::objects  )

Variable Documentation

◆ kANI

const string kANI = "Taxonomic-Update-Statistics"

Definition at line 780 of file struc_comm_field.cpp.

Referenced by CANIComment::IsValid(), and CANIComment::MakeEmptyUserObject().

◆ kANIA1ANI

const string kANIA1ANI = "A1 ANI"

Definition at line 789 of file struc_comm_field.cpp.

◆ kANIA1Genome

const string kANIA1Genome = "A1 Genome (subject)"

Definition at line 787 of file struc_comm_field.cpp.

◆ kANIA1Name

const string kANIA1Name = "A1 Name"

Definition at line 788 of file struc_comm_field.cpp.

◆ kANIA1QueryCoverage

const string kANIA1QueryCoverage = "A1 Query Coverage"

Definition at line 790 of file struc_comm_field.cpp.

◆ kANIA1SubjectCoverage

const string kANIA1SubjectCoverage = "A1 Subject Coverage"

Definition at line 791 of file struc_comm_field.cpp.

◆ kANIA2ANI

const string kANIA2ANI = "A2 ANI"

Definition at line 795 of file struc_comm_field.cpp.

◆ kANIA2Genome

const string kANIA2Genome = "A2 Genome (subject)"

Definition at line 793 of file struc_comm_field.cpp.

◆ kANIA2Name

const string kANIA2Name = "A2 Name"

Definition at line 794 of file struc_comm_field.cpp.

◆ kANIA2QueryCoverage

const string kANIA2QueryCoverage = "A2 Query Coverage"

Definition at line 796 of file struc_comm_field.cpp.

◆ kANIA2SubjectCoverage

const string kANIA2SubjectCoverage = "A2 Subject Coverage"

Definition at line 797 of file struc_comm_field.cpp.

◆ kANIAnalysis1

const string kANIAnalysis1 = "Analysis 1 (A1)"

Definition at line 786 of file struc_comm_field.cpp.

◆ kANIAnalysis2

const string kANIAnalysis2 = "Analysis 2 (A2)"

Definition at line 792 of file struc_comm_field.cpp.

◆ kANIAnalysisType

const string kANIAnalysisType = "Analysis Type"

Definition at line 785 of file struc_comm_field.cpp.

◆ kANICurrentName

const string kANICurrentName = "Current Name"

Definition at line 782 of file struc_comm_field.cpp.

◆ kANIDateUpdated

const string kANIDateUpdated = "Date Updated"

Definition at line 784 of file struc_comm_field.cpp.

◆ kANIPreviousName

const string kANIPreviousName = "Previous Name"

Definition at line 783 of file struc_comm_field.cpp.

◆ kANIThisGenome

const string kANIThisGenome = "This Genome (query)"

Definition at line 781 of file struc_comm_field.cpp.

◆ kAssemblyMethod

const string kAssemblyMethod = "Assembly Method"

◆ kExpectedFinalVersion

const string kExpectedFinalVersion = "Expected Final Version"

◆ kGenomeAssemblyData

const string kGenomeAssemblyData = "Genome-Assembly-Data"

◆ kGenomeCoverage

const string kGenomeCoverage = "Genome Coverage"

◆ kReferenceGuidedAssembly

const string kReferenceGuidedAssembly = "Reference-guided Assembly"

◆ kSequencingTechnology

const string kSequencingTechnology = "Sequencing Technology"

◆ kSingleCellAmplification

const string kSingleCellAmplification = "Single-cell Amplification"

◆ kStructuredComment

const string kStructuredComment = "StructuredComment"

Definition at line 57 of file struc_comm_field.cpp.

Referenced by CStructuredCommentField::MakeUserObject().

◆ kStructuredCommentPrefix

const string kStructuredCommentPrefix = "StructuredCommentPrefix"

◆ kStructuredCommentSuffix

const string kStructuredCommentSuffix = "StructuredCommentSuffix"
Modified on Fri Jul 19 17:12:04 2024 by modify_doxy.py rev. 669887