41 #ifndef OBJECTS_SEQ_PUBDESC_BASE_HPP
42 #define OBJECTS_SEQ_PUBDESC_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
95 eReftype_no_target = 3
142 bool IsSetPub(
void)
const;
149 bool CanGetPub(
void)
const;
158 const TPub& GetPub(
void)
const;
180 bool IsSetName(
void)
const;
187 bool CanGetName(
void)
const;
190 void ResetName(
void);
196 const TName& GetName(
void)
const;
209 TName& SetName(
void);
219 bool IsSetFig(
void)
const;
226 bool CanGetFig(
void)
const;
235 const TFig& GetFig(
void)
const;
258 bool IsSetNum(
void)
const;
265 bool CanGetNum(
void)
const;
274 const TNum& GetNum(
void)
const;
296 bool IsSetNumexc(
void)
const;
303 bool CanGetNumexc(
void)
const;
306 void ResetNumexc(
void);
334 bool IsSetPoly_a(
void)
const;
341 bool CanGetPoly_a(
void)
const;
344 void ResetPoly_a(
void);
372 bool IsSetMaploc(
void)
const;
379 bool CanGetMaploc(
void)
const;
382 void ResetMaploc(
void);
388 const TMaploc& GetMaploc(
void)
const;
411 bool IsSetSeq_raw(
void)
const;
418 bool CanGetSeq_raw(
void)
const;
421 void ResetSeq_raw(
void);
427 const TSeq_raw& GetSeq_raw(
void)
const;
450 bool IsSetAlign_group(
void)
const;
457 bool CanGetAlign_group(
void)
const;
460 void ResetAlign_group(
void);
488 bool IsSetComment(
void)
const;
495 bool CanGetComment(
void)
const;
498 void ResetComment(
void);
504 const TComment& GetComment(
void)
const;
526 bool IsSetReftype(
void)
const;
533 bool CanGetReftype(
void)
const;
536 void ResetReftype(
void);
539 void SetDefaultReftype(
void);
560 virtual void Reset(
void);
595 return m_Pub.NotEmpty();
653 m_Name = std::forward<CPubdesc_Base::TName>(
value);
700 m_Fig = std::forward<CPubdesc_Base::TFig>(
value);
719 return m_Num.NotEmpty();
how sequence presented in pub
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TName & SetName(void)
Assign a value to Name data member.
bool IsSetComment(void) const
any comment on this pub in context Check if a value has been assigned to Comment data member.
void ResetPoly_a(void)
Reset Poly_a data member.
TFig & SetFig(void)
Assign a value to Fig data member.
bool CanGetNum(void) const
Check if it is safe to call GetNum method.
TPub & SetPub(void)
Assign a value to Pub data member.
TAlign_group GetAlign_group(void) const
Get the Align_group member data.
EReftype
type of reference in a GenBank record
bool CanGetPub(void) const
Check if it is safe to call GetPub method.
const TComment & GetComment(void) const
Get the Comment member data.
TPoly_a GetPoly_a(void) const
Get the Poly_a member data.
TNumexc & SetNumexc(void)
Assign a value to Numexc data member.
Tparent::CMemberIndex< E_memberIndex, 12 > TmemberIndex
bool IsSetFig(void) const
figure in paper Check if a value has been assigned to Fig data member.
bool CanGetReftype(void) const
Check if it is safe to call GetReftype method.
bool IsSetNumexc(void) const
numbering problem with paper Check if a value has been assigned to Numexc data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
const TName & GetName(void) const
Get the Name member data.
bool CanGetFig(void) const
Check if it is safe to call GetFig method.
TComment & SetComment(void)
Assign a value to Comment data member.
void ResetNumexc(void)
Reset Numexc data member.
bool IsSetName(void) const
name used in paper Check if a value has been assigned to Name data member.
void ResetPub(void)
Reset Pub data member.
void ResetAlign_group(void)
Reset Align_group data member.
bool IsSetMaploc(void) const
map location reported in paper Check if a value has been assigned to Maploc data member.
bool CanGetAlign_group(void) const
Check if it is safe to call GetAlign_group method.
TReftype & SetReftype(void)
Assign a value to Reftype data member.
bool IsSetSeq_raw(void) const
original sequence from paper Check if a value has been assigned to Seq_raw data member.
DECLARE_INTERNAL_TYPE_INFO()
const TFig & GetFig(void) const
Get the Fig member data.
CPubdesc_Base(const CPubdesc_Base &)
TAlign_group & SetAlign_group(void)
Assign a value to Align_group data member.
const TSeq_raw & GetSeq_raw(void) const
Get the Seq_raw member data.
TMaploc & SetMaploc(void)
Assign a value to Maploc data member.
TNumexc GetNumexc(void) const
Get the Numexc member data.
TSeq_raw & SetSeq_raw(void)
Assign a value to Seq_raw data member.
bool CanGetSeq_raw(void) const
Check if it is safe to call GetSeq_raw method.
bool IsSetPub(void) const
the citation(s) Check if a value has been assigned to Pub data member.
bool CanGetComment(void) const
Check if it is safe to call GetComment method.
bool IsSetNum(void) const
numbering from paper Check if a value has been assigned to Num data member.
bool CanGetPoly_a(void) const
Check if it is safe to call GetPoly_a method.
TReftype GetReftype(void) const
Get the Reftype member data.
void SetDefaultReftype(void)
Assign default value to Reftype data member.
TPoly_a & SetPoly_a(void)
Assign a value to Poly_a data member.
bool CanGetMaploc(void) const
Check if it is safe to call GetMaploc method.
const TNum & GetNum(void) const
Get the Num member data.
bool CanGetNumexc(void) const
Check if it is safe to call GetNumexc method.
const TPub & GetPub(void) const
Get the Pub member data.
bool IsSetAlign_group(void) const
this seq aligned with others in paper Check if a value has been assigned to Align_group data member.
bool IsSetPoly_a(void) const
poly A tail indicated in figure? Check if a value has been assigned to Poly_a data member.
CPubdesc_Base & operator=(const CPubdesc_Base &)
bool IsSetReftype(void) const
Check if a value has been assigned to Reftype data member.
void ResetReftype(void)
Reset Reftype data member.
const TMaploc & GetMaploc(void) const
Get the Maploc member data.
@ eReftype_seq
refers to sequence
const GenericPointer< typename T::ValueType > T2 value