41 #ifndef OBJECTS_SEQEDIT_SEQEDIT_CMD_ATTACHSEQENTRY_BASE_HPP
42 #define OBJECTS_SEQEDIT_SEQEDIT_CMD_ATTACHSEQENTRY_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
112 bool IsSetId(
void)
const;
119 bool CanGetId(
void)
const;
150 bool IsSetSeq_entry(
void)
const;
157 bool CanGetSeq_entry(
void)
const;
160 void ResetSeq_entry(
void);
188 bool IsSetIndex(
void)
const;
195 bool CanGetIndex(
void)
const;
198 void ResetIndex(
void);
204 TIndex GetIndex(
void)
const;
219 virtual void Reset(
void);
246 return m_Id.NotEmpty();
*************************************************************** Attach a seq entry to bioseq-set
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
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.
#define NCBI_SEQEDIT_EXPORT
DECLARE_INTERNAL_TYPE_INFO()
TIndex GetIndex(void) const
Get the Index member data.
CSeqEdit_Cmd_AttachSeqEntry_Base & operator=(const CSeqEdit_Cmd_AttachSeqEntry_Base &)
TIndex & SetIndex(void)
Assign a value to Index data member.
CSeqEdit_Cmd_AttachSeqEntry_Base(const CSeqEdit_Cmd_AttachSeqEntry_Base &)
void ResetIndex(void)
Reset Index data member.
bool IsSetId(void) const
Bioseq_set id Check if a value has been assigned to Id data member.
const TSeq_entry & GetSeq_entry(void) const
Get the Seq_entry member data.
bool IsSetSeq_entry(void) const
set entry Check if a value has been assigned to Seq_entry data member.
bool CanGetSeq_entry(void) const
Check if it is safe to call GetSeq_entry method.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
void ResetId(void)
Reset Id data member.
bool IsSetIndex(void) const
index Check if a value has been assigned to Index data member.
const TId & GetId(void) const
Get the Id member data.
CRef< TSeq_entry > m_Seq_entry
TId & SetId(void)
Assign a value to Id data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool CanGetIndex(void) const
Check if it is safe to call GetIndex method.
CSeq_entry_Info & GetSeq_entry(CTSE_Info &tse, const CBioObjectId &id)