NCBI C++ ToolKit
seqloc_macros.hpp File Reference

Utility macros and typedefs for exploring NCBI objects from seqloc.asn. More...

#include <objects/misc/sequence_util_macros.hpp>
#include <objects/seqloc/seqloc__.hpp>
+ Include dependency graph for seqloc_macros.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.

#define NCBI_SEQID(Type)   CSeq_id::e_##Type
 @NAME Convenience macros for NCBI objects More...
 
#define NCBI_ACCN(Type)   CSeq_id::eAcc_##Type
 
#define NCBI_SEQLOC(Type)   CSeq_loc::e_##Type
 CSeq_loc definitions. More...
 
#define SEQID_CHOICE_Test(Var)   (Var).Which() != CSeq_id::e_not_set
 CSeq_id macros. More...
 
#define SEQID_CHOICE_Chs(Var)   (Var).Which()
 
#define SEQID_CHOICE_IS(Var, Chs)   CHOICE_IS (SEQID_CHOICE, Var, Chs)
 SEQID_CHOICE_IS. More...
 
#define SWITCH_ON_SEQID_CHOICE(Var)   SWITCH_ON (SEQID_CHOICE, Var)
 SWITCH_ON_SEQID_CHOICE. More...
 
typedef CSeq_id::E_Choice TSEQID_CHOICE
 
typedef CSeq_id::EAccessionInfo TACCN_CHOICE
 
typedef CSeq_loc::E_Choice TSEQLOC_TYPE
 

Detailed Description

Utility macros and typedefs for exploring NCBI objects from seqloc.asn.

Definition in file seqloc_macros.hpp.

Macro Definition Documentation

◆ NCBI_ACCN

#define NCBI_ACCN (   Type)    CSeq_id::eAcc_##Type

Definition at line 64 of file seqloc_macros.hpp.

◆ NCBI_SEQID

#define NCBI_SEQID (   Type)    CSeq_id::e_##Type

@NAME Convenience macros for NCBI objects

Macros and typedefs for object subtypes CSeq_id definitions

Definition at line 55 of file seqloc_macros.hpp.

◆ NCBI_SEQLOC

#define NCBI_SEQLOC (   Type)    CSeq_loc::e_##Type

CSeq_loc definitions.

Definition at line 70 of file seqloc_macros.hpp.

◆ SEQID_CHOICE_Chs

#define SEQID_CHOICE_Chs (   Var)    (Var).Which()

Definition at line 96 of file seqloc_macros.hpp.

◆ SEQID_CHOICE_IS

#define SEQID_CHOICE_IS (   Var,
  Chs 
)    CHOICE_IS (SEQID_CHOICE, Var, Chs)

SEQID_CHOICE_IS.

Definition at line 100 of file seqloc_macros.hpp.

◆ SEQID_CHOICE_Test

#define SEQID_CHOICE_Test (   Var)    (Var).Which() != CSeq_id::e_not_set

CSeq_id macros.

SEQID_CHOICE macros

Definition at line 95 of file seqloc_macros.hpp.

◆ SWITCH_ON_SEQID_CHOICE

#define SWITCH_ON_SEQID_CHOICE (   Var)    SWITCH_ON (SEQID_CHOICE, Var)

SWITCH_ON_SEQID_CHOICE.

Definition at line 105 of file seqloc_macros.hpp.

Typedef Documentation

◆ TACCN_CHOICE

Definition at line 65 of file seqloc_macros.hpp.

◆ TSEQID_CHOICE

Definition at line 56 of file seqloc_macros.hpp.

◆ TSEQLOC_TYPE

Definition at line 71 of file seqloc_macros.hpp.

Modified on Thu Feb 29 12:18:50 2024 by modify_doxy.py rev. 669887