41 #ifndef OBJECTS_CDD_CDD_TREE_BASE_HPP
42 #define OBJECTS_CDD_CDD_TREE_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
127 bool IsSetName(
void)
const;
134 bool CanGetName(
void)
const;
137 void ResetName(
void);
143 const TName& GetName(
void)
const;
156 TName& SetName(
void);
166 bool IsSetId(
void)
const;
173 bool CanGetId(
void)
const;
204 bool IsSetDescription(
void)
const;
211 bool CanGetDescription(
void)
const;
214 void ResetDescription(
void);
242 bool IsSetParent(
void)
const;
249 bool CanGetParent(
void)
const;
252 void ResetParent(
void);
258 const TParent& GetParent(
void)
const;
280 bool IsSetChildren(
void)
const;
287 bool CanGetChildren(
void)
const;
290 void ResetChildren(
void);
296 const TChildren& GetChildren(
void)
const;
318 bool IsSetSiblings(
void)
const;
325 bool CanGetSiblings(
void)
const;
328 void ResetSiblings(
void);
334 const TSiblings& GetSiblings(
void)
const;
357 bool IsSetNeighbors(
void)
const;
364 bool CanGetNeighbors(
void)
const;
367 void ResetNeighbors(
void);
388 virtual void Reset(
void);
447 m_Name = std::forward<CCdd_tree_Base::TName>(
value);
466 return m_Id.NotEmpty();
the Cdd-tree stores the hierarchy of CDDs.
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
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.
TId & SetId(void)
Assign a value to Id data member.
bool IsSetName(void) const
short name copied from CD Check if a value has been assigned to Name data member.
DECLARE_INTERNAL_TYPE_INFO()
const TSiblings & GetSiblings(void) const
Get the Siblings member data.
bool CanGetNeighbors(void) const
Check if it is safe to call GetNeighbors method.
const TId & GetId(void) const
Get the Id member data.
CCdd_descr_set TDescription
const TDescription & GetDescription(void) const
Get the Description member data.
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool IsSetParent(void) const
CD is the result of a split/merge Check if a value has been assigned to Parent data member.
CCdd_tree_Base & operator=(const CCdd_tree_Base &)
bool CanGetParent(void) const
Check if it is safe to call GetParent method.
CRef< TSiblings > m_Siblings
bool IsSetId(void) const
IDs copied from CD Check if a value has been assigned to Id data member.
bool IsSetSiblings(void) const
related CDs (have common hits) Check if a value has been assigned to Siblings data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
bool CanGetSiblings(void) const
Check if it is safe to call GetSiblings method.
const TParent & GetParent(void) const
Get the Parent member data.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
bool IsSetNeighbors(void) const
co-occurring CDs (non-overlapping hits to same sequences) Check if a value has been assigned to Neigh...
const TNeighbors & GetNeighbors(void) const
Get the Neighbors member data.
bool CanGetChildren(void) const
Check if it is safe to call GetChildren method.
bool IsSetDescription(void) const
description copied from CD Check if a value has been assigned to Description data member.
CRef< TNeighbors > m_Neighbors
CCdd_tree_Base(const CCdd_tree_Base &)
const TChildren & GetChildren(void) const
Get the Children member data.
TName & SetName(void)
Assign a value to Name data member.
CRef< TChildren > m_Children
CRef< TDescription > m_Description
bool IsSetChildren(void) const
this CD has been split Check if a value has been assigned to Children data member.
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
const TName & GetName(void) const
Get the Name member data.
void ResetId(void)
Reset Id data member.
const GenericPointer< typename T::ValueType > T2 value