NCBI C++ ToolKit
Typedefs | Functions | Variables
User_object.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/User_field.hpp>
#include <objects/general/Object_id.hpp>
#include <util/static_map.hpp>
+ Include dependency graph for User_object.cpp:
+ 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.

Typedefs

typedef SStaticPair< const char *, CUser_object::EObjectTypeTObjectTypePair
 
typedef CStaticArrayMap< const char *, CUser_object::EObjectType, PNocase_CStrTObjectTypeMap
 
typedef SStaticPair< const char *, CUser_object::ERefGeneTrackingStatusTRefGeneTrackingStatusPair
 
typedef CStaticArrayMap< const char *, CUser_object::ERefGeneTrackingStatus, PNocase_CStrTRefGeneTrackingStatusMap
 

Functions

 SAFE_CONST_STATIC_STRING (kUnverifiedOrganism, "Organism")
 
 SAFE_CONST_STATIC_STRING (kUnverifiedMisassembled, "Misassembled")
 
 SAFE_CONST_STATIC_STRING (kUnverifiedFeature, "Features")
 
 SAFE_CONST_STATIC_STRING (kUnverifiedContaminant, "Contaminant")
 
 SAFE_CONST_STATIC_STRING (kUnreviewedUnannotated, "Unannotated")
 
static string s_GetUserObjectType (const CUser_object &obj)
 
static string s_GetUserObjectContent (const CUser_object &obj)
 
 DEFINE_STATIC_ARRAY_MAP (TObjectTypeMap, sc_ObjectTypeMap, k_object_type_map)
 
 DEFINE_STATIC_ARRAY_MAP (TRefGeneTrackingStatusMap, sc_RefGeneTrackingStatusMap, k_refgene_tracking_status_map)
 

Variables

static const char * s_ncbi = "NCBI"
 
static const char * s_expres = "experimental_results"
 
static const char * s_exp = "experiment"
 
static const char * s_sage = "SAGE"
 
static const char * s_tag = "tag"
 
static const char * s_count = "count"
 
static const char * kDBLink = "DBLink"
 
static const char * kStructuredComment = "StructuredComment"
 
static const char * kOriginalId = "OriginalID"
 
static const char * kOrigIdAltSpell = "OrginalID"
 
static const char * kUnverified = "Unverified"
 
static const char * kValidationSuppression = "ValidationSuppression"
 
static const char * kNcbiCleanup = "NcbiCleanup"
 
static const char * kAutoDefOptions = "AutodefOptions"
 
static const char * kFileTrack = "FileTrack"
 
static const char * kRefGeneTracking = "RefGeneTracking"
 
static const char * kUnreviewed = "Unreviewed"
 
static const TObjectTypePair k_object_type_map []
 
static const TRefGeneTrackingStatusPair k_refgene_tracking_status_map []
 
const string kRefGeneTrackingStatus = "Status"
 
const string kRefGeneTrackingGenomicSource = "GenomicSource"
 
const string kRefGeneTrackingCollaborator = "Collaborator"
 
const string kRefGeneTrackingCollaboratorURL = "CollaboratorURL"
 
const string kRefGeneTrackingGenerated = "Generated"
 
const string kRGTAAccession = "accession"
 
const string kRGTAName = "name"
 
const string kRGTAGI = "gi"
 
const string kRGTAFrom = "from"
 
const string kRGTATo = "to"
 
const string kRGTAComment = "comment"
 
const string kRefGeneTrackingIdenticalTo = "IdenticalTo"
 
const string kRefGeneTrackingAssembly = "Assembly"
 

Typedef Documentation

◆ TObjectTypeMap

Definition at line 621 of file User_object.cpp.

◆ TObjectTypePair

Definition at line 608 of file User_object.cpp.

◆ TRefGeneTrackingStatusMap

Definition at line 983 of file User_object.cpp.

◆ TRefGeneTrackingStatusPair

Definition at line 973 of file User_object.cpp.

Function Documentation

◆ DEFINE_STATIC_ARRAY_MAP() [1/2]

DEFINE_STATIC_ARRAY_MAP ( TObjectTypeMap  ,
sc_ObjectTypeMap  ,
k_object_type_map   
)

◆ DEFINE_STATIC_ARRAY_MAP() [2/2]

DEFINE_STATIC_ARRAY_MAP ( TRefGeneTrackingStatusMap  ,
sc_RefGeneTrackingStatusMap  ,
k_refgene_tracking_status_map   
)

◆ s_GetUserObjectContent()

static string s_GetUserObjectContent ( const CUser_object obj)
static

◆ s_GetUserObjectType()

static string s_GetUserObjectType ( const CUser_object obj)
static

◆ SAFE_CONST_STATIC_STRING() [1/5]

SAFE_CONST_STATIC_STRING ( kUnreviewedUnannotated  ,
"Unannotated"   
)

◆ SAFE_CONST_STATIC_STRING() [2/5]

SAFE_CONST_STATIC_STRING ( kUnverifiedContaminant  ,
"Contaminant"   
)

◆ SAFE_CONST_STATIC_STRING() [3/5]

SAFE_CONST_STATIC_STRING ( kUnverifiedFeature  ,
"Features"   
)

◆ SAFE_CONST_STATIC_STRING() [4/5]

SAFE_CONST_STATIC_STRING ( kUnverifiedMisassembled  ,
"Misassembled"   
)

◆ SAFE_CONST_STATIC_STRING() [5/5]

SAFE_CONST_STATIC_STRING ( kUnverifiedOrganism  ,
"Organism"   
)

Variable Documentation

◆ k_object_type_map

const TObjectTypePair k_object_type_map[]
static
Initial value:
= {
}
static const char * kFileTrack
static const char * kAutoDefOptions
static const char * kRefGeneTracking
static const char * kUnreviewed
static const char * kStructuredComment
static const char * kUnverified
static const char * kValidationSuppression
static const char * kOriginalId
static const char * kDBLink
static const char * kNcbiCleanup
@ eObjectType_RefGeneTracking
@ eObjectType_StructuredComment
@ eObjectType_AutodefOptions
@ eObjectType_ValidationSuppression

Definition at line 609 of file User_object.cpp.

◆ k_refgene_tracking_status_map

const TRefGeneTrackingStatusPair k_refgene_tracking_status_map[]
static

◆ kAutoDefOptions

const char* kAutoDefOptions = "AutodefOptions"
static

Definition at line 603 of file User_object.cpp.

◆ kDBLink

const char* kDBLink = "DBLink"
static

Definition at line 596 of file User_object.cpp.

◆ kFileTrack

const char* kFileTrack = "FileTrack"
static

◆ kNcbiCleanup

const char* kNcbiCleanup = "NcbiCleanup"
static

Definition at line 602 of file User_object.cpp.

◆ kOrigIdAltSpell

const char* kOrigIdAltSpell = "OrginalID"
static

Definition at line 599 of file User_object.cpp.

Referenced by CUser_object::GetObjectType().

◆ kOriginalId

const char* kOriginalId = "OriginalID"
static

Definition at line 598 of file User_object.cpp.

◆ kRefGeneTracking

const char* kRefGeneTracking = "RefGeneTracking"
static

Definition at line 605 of file User_object.cpp.

◆ kRefGeneTrackingAssembly

const string kRefGeneTrackingAssembly = "Assembly"

◆ kRefGeneTrackingCollaborator

const string kRefGeneTrackingCollaborator = "Collaborator"

◆ kRefGeneTrackingCollaboratorURL

const string kRefGeneTrackingCollaboratorURL = "CollaboratorURL"

◆ kRefGeneTrackingGenerated

const string kRefGeneTrackingGenerated = "Generated"

◆ kRefGeneTrackingGenomicSource

const string kRefGeneTrackingGenomicSource = "GenomicSource"

◆ kRefGeneTrackingIdenticalTo

const string kRefGeneTrackingIdenticalTo = "IdenticalTo"

◆ kRefGeneTrackingStatus

const string kRefGeneTrackingStatus = "Status"

◆ kRGTAAccession

const string kRGTAAccession = "accession"

◆ kRGTAComment

const string kRGTAComment = "comment"

◆ kRGTAFrom

const string kRGTAFrom = "from"

◆ kRGTAGI

const string kRGTAGI = "gi"

◆ kRGTAName

const string kRGTAName = "name"

◆ kRGTATo

const string kRGTATo = "to"

◆ kStructuredComment

const char* kStructuredComment = "StructuredComment"
static

Definition at line 597 of file User_object.cpp.

◆ kUnreviewed

const char* kUnreviewed = "Unreviewed"
static

Definition at line 606 of file User_object.cpp.

◆ kUnverified

const char* kUnverified = "Unverified"
static

Definition at line 600 of file User_object.cpp.

◆ kValidationSuppression

const char* kValidationSuppression = "ValidationSuppression"
static

Definition at line 601 of file User_object.cpp.

◆ s_count

const char* s_count = "count"
static

Definition at line 362 of file User_object.cpp.

Referenced by s_GetUserObjectContent().

◆ s_exp

const char* s_exp = "experiment"
static

Definition at line 359 of file User_object.cpp.

Referenced by CUser_object::GetCategory(), and CUser_object::SetCategory().

◆ s_expres

const char* s_expres = "experimental_results"
static

Definition at line 358 of file User_object.cpp.

Referenced by CUser_object::GetCategory(), and CUser_object::SetCategory().

◆ s_ncbi

const char* s_ncbi = "NCBI"
static

◆ s_sage

const char* s_sage = "SAGE"
static

◆ s_tag

const char* s_tag = "tag"
static

Definition at line 361 of file User_object.cpp.

Referenced by s_GetUserObjectContent().

Modified on Thu May 23 12:28:36 2024 by modify_doxy.py rev. 669887