1 #ifndef OBJECTS_OBJMGR_IMPL___ANNOT_TYPE_INDEX__HPP
2 #define OBJECTS_OBJMGR_IMPL___ANNOT_TYPE_INDEX__HPP
65 static void Initialize(
void);
90 kAnnotIndex_size = kAnnotIndex_Ftable + kFeatSubtype_size
93 static void x_InitIndexTables(
void);
99 static Uint1 sm_AnnotTypeIndexRange[kAnnotType_size][2];
101 static Uint1 sm_FeatTypeIndexRange[kFeatType_size][2];
103 static Uint1 sm_FeatSubtypeIndex[kFeatSubtype_size];
105 static Uint1 sm_IndexSubtype[kAnnotIndex_size];
static void x_InitIndexTables(void)
static CSeqFeatData::ESubtype GetSubtypeForIndex(size_t index)
pair< size_t, size_t > TIndexRange
static TIndexRange GetFeatTypeRange(CSeqFeatData::E_Choice type)
static size_t GetSubtypeIndex(CSeqFeatData::ESubtype subtype)
static Uint1 sm_FeatSubtypeIndex[kFeatSubtype_size]
static Uint1 sm_FeatTypeIndexRange[kFeatType_size][2]
static void Initialize(void)
static Uint1 sm_AnnotTypeIndexRange[kAnnotType_size][2]
static Uint1 sm_IndexSubtype[kAnnotIndex_size]
static TIndexRange GetAnnotTypeRange(CSeq_annot::C_Data::E_Choice type)
static atomic< bool > sm_TablesInitialized
@ eSubtype_bad
These no longer need to match the FEATDEF values in the C toolkit's objfdef.h.
Include a standard set of the NCBI C++ Toolkit most basic headers.
uint8_t Uint1
1-byte (8-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XOBJMGR_EXPORT
@ e_MaxChoice
== e_Variation+1
@ e_MaxChoice
== e_Seq_table+1