Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef OBJECTS_SEQLOC___SEQLOC_MACROS__HPP
2 #define OBJECTS_SEQLOC___SEQLOC_MACROS__HPP
55 #define NCBI_SEQID(Type) CSeq_id::e_##Type
64 #define NCBI_ACCN(Type) CSeq_id::eAcc_##Type
70 #define NCBI_SEQLOC(Type) CSeq_loc::e_##Type
95 #define SEQID_CHOICE_Test(Var) (Var).Which() != CSeq_id::e_not_set
96 #define SEQID_CHOICE_Chs(Var) (Var).Which()
100 #define SEQID_CHOICE_IS(Var, Chs) \
101 CHOICE_IS (SEQID_CHOICE, Var, Chs)
105 #define SWITCH_ON_SEQID_CHOICE(Var) \
106 SWITCH_ON (SEQID_CHOICE, Var)
EAccessionInfo
For IdentifyAccession (below)
#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.
CSeq_id::EAccessionInfo TACCN_CHOICE
CSeq_id::E_Choice TSEQID_CHOICE
CSeq_loc::E_Choice TSEQLOC_TYPE
Generic utility macros and templates for exploring NCBI objects.