41 #ifndef OBJECTS_CDD_CDD_BASE_HPP
42 #define OBJECTS_CDD_CDD_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
184 bool IsSetName(
void)
const;
191 bool CanGetName(
void)
const;
194 void ResetName(
void);
200 const TName& GetName(
void)
const;
213 TName& SetName(
void);
223 bool IsSetId(
void)
const;
230 bool CanGetId(
void)
const;
261 bool IsSetDescription(
void)
const;
268 bool CanGetDescription(
void)
const;
271 void ResetDescription(
void);
299 bool IsSetSeqannot(
void)
const;
306 bool CanGetSeqannot(
void)
const;
309 void ResetSeqannot(
void);
315 const TSeqannot& GetSeqannot(
void)
const;
333 bool IsSetFeatures(
void)
const;
340 bool CanGetFeatures(
void)
const;
343 void ResetFeatures(
void);
349 const TFeatures& GetFeatures(
void)
const;
371 bool IsSetSequences(
void)
const;
378 bool CanGetSequences(
void)
const;
381 void ResetSequences(
void);
410 bool IsSetProfile_range(
void)
const;
417 bool CanGetProfile_range(
void)
const;
420 void ResetProfile_range(
void);
451 bool IsSetTrunc_master(
void)
const;
458 bool CanGetTrunc_master(
void)
const;
461 void ResetTrunc_master(
void);
489 bool IsSetPosfreq(
void)
const;
496 bool CanGetPosfreq(
void)
const;
499 void ResetPosfreq(
void);
505 const TPosfreq& GetPosfreq(
void)
const;
527 bool IsSetScoremat(
void)
const;
534 bool CanGetScoremat(
void)
const;
537 void ResetScoremat(
void);
543 const TScoremat& GetScoremat(
void)
const;
565 bool IsSetDistance(
void)
const;
572 bool CanGetDistance(
void)
const;
575 void ResetDistance(
void);
581 const TDistance& GetDistance(
void)
const;
603 bool IsSetParent(
void)
const;
610 bool CanGetParent(
void)
const;
613 void ResetParent(
void);
619 const TParent& GetParent(
void)
const;
641 bool IsSetChildren(
void)
const;
648 bool CanGetChildren(
void)
const;
651 void ResetChildren(
void);
657 const TChildren& GetChildren(
void)
const;
679 bool IsSetSiblings(
void)
const;
686 bool CanGetSiblings(
void)
const;
689 void ResetSiblings(
void);
695 const TSiblings& GetSiblings(
void)
const;
717 bool IsSetNeighbors(
void)
const;
724 bool CanGetNeighbors(
void)
const;
727 void ResetNeighbors(
void);
756 bool IsSetPending(
void)
const;
763 bool CanGetPending(
void)
const;
766 void ResetPending(
void);
772 const TPending& GetPending(
void)
const;
789 bool IsSetRejects(
void)
const;
796 bool CanGetRejects(
void)
const;
799 void ResetRejects(
void);
805 const TRejects& GetRejects(
void)
const;
821 bool IsSetMaster3d(
void)
const;
828 bool CanGetMaster3d(
void)
const;
831 void ResetMaster3d(
void);
837 const TMaster3d& GetMaster3d(
void)
const;
853 bool IsSetAlignannot(
void)
const;
860 bool CanGetAlignannot(
void)
const;
863 void ResetAlignannot(
void);
891 bool IsSetStyle_dictionary(
void)
const;
898 bool CanGetStyle_dictionary(
void)
const;
901 void ResetStyle_dictionary(
void);
929 bool IsSetUser_annotations(
void)
const;
936 bool CanGetUser_annotations(
void)
const;
939 void ResetUser_annotations(
void);
967 bool IsSetAncestors(
void)
const;
974 bool CanGetAncestors(
void)
const;
977 void ResetAncestors(
void);
998 bool IsSetScoreparams(
void)
const;
1005 bool CanGetScoreparams(
void)
const;
1008 void ResetScoreparams(
void);
1035 bool IsSetSeqtree(
void)
const;
1042 bool CanGetSeqtree(
void)
const;
1045 void ResetSeqtree(
void);
1051 const TSeqtree& GetSeqtree(
void)
const;
1066 virtual void Reset(
void);
1161 return m_Id.NotEmpty();
the Cdd is the basic ASN.1 object storing an annotated and curated set of alignments (formulated as a...
CCn3d_style_dictionary –.
CCn3d_user_annotations –.
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.
bool CanGetSequences(void) const
Check if it is safe to call GetSequences method.
const TSequences & GetSequences(void) const
Get the Sequences member data.
bool IsSetStyle_dictionary(void) const
record rendering styles Check if a value has been assigned to Style_dictionary data member.
CAlign_annot_set TAlignannot
bool IsSetPending(void) const
contains alignments from update or "lower panel" Check if a value has been assigned to Pending data m...
CSeq_interval TProfile_range
const TScoremat & GetScoremat(void) const
Get the Scoremat member data.
bool IsSetSequences(void) const
store as bioseq-set inside seq-entry Check if a value has been assigned to Sequences data member.
list< CRef< CSeq_annot > > m_Seqannot
bool CanGetDistance(void) const
Check if it is safe to call GetDistance method.
bool CanGetChildren(void) const
Check if it is safe to call GetChildren method.
const TTrunc_master & GetTrunc_master(void) const
Get the Trunc_master member data.
const TId & GetId(void) const
Get the Id member data.
bool CanGetMaster3d(void) const
Check if it is safe to call GetMaster3d method.
bool IsSetRejects(void) const
SeqIds of rejected CD- members, ignore in update Check if a value has been assigned to Rejects data m...
CRef< TDescription > m_Description
bool IsSetSeqannot(void) const
contains the CD alignment Check if a value has been assigned to Seqannot data member.
bool IsSetUser_annotations(void) const
user annotations in Cn3D Check if a value has been assigned to User_annotations data member.
list< CRef< CSeq_annot > > TSeqannot
Tparent::CMemberIndex< E_memberIndex, 25 > TmemberIndex
TId & SetId(void)
Assign a value to Id data member.
const TScoreparams & GetScoreparams(void) const
Get the Scoreparams member data.
CRef< TTrunc_master > m_Trunc_master
const TMaster3d & GetMaster3d(void) const
Get the Master3d member data.
const TNeighbors & GetNeighbors(void) const
Get the Neighbors member data.
list< CRef< CSeq_id > > TMaster3d
bool CanGetParent(void) const
Check if it is safe to call GetParent method.
const TPosfreq & GetPosfreq(void) const
Get the Posfreq member data.
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool IsSetDescription(void) const
status, references, etc.
list< CRef< CUpdate_align > > m_Pending
TMaster3d & SetMaster3d(void)
Assign a value to Master3d data member.
bool IsSetAlignannot(void) const
alignment annotation Check if a value has been assigned to Alignannot data member.
list< CRef< CUpdate_align > > TPending
bool CanGetNeighbors(void) const
Check if it is safe to call GetNeighbors method.
const TUser_annotations & GetUser_annotations(void) const
Get the User_annotations member data.
TAncestors & SetAncestors(void)
Assign a value to Ancestors data member.
CRef< TDistance > m_Distance
CRef< TPosfreq > m_Posfreq
const TRejects & GetRejects(void) const
Get the Rejects member data.
bool CanGetSeqtree(void) const
Check if it is safe to call GetSeqtree method.
const TAncestors & GetAncestors(void) const
Get the Ancestors member data.
bool IsSetChildren(void) const
this CD has been split, not used Check if a value has been assigned to Children data member.
bool IsSetPosfreq(void) const
relative residue frequencies Check if a value has been assigned to Posfreq data member.
TPending & SetPending(void)
Assign a value to Pending data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
list< CRef< CReject_id > > TRejects
bool CanGetFeatures(void) const
Check if it is safe to call GetFeatures method.
bool IsSetName(void) const
a short name (can be the accession..) Check if a value has been assigned to Name data member.
bool IsSetMaster3d(void) const
record if CD has a 3D representative Check if a value has been assigned to Master3d data member.
const TPending & GetPending(void) const
Get the Pending member data.
CCn3d_user_annotations TUser_annotations
bool IsSetDistance(void) const
pairwise distances for all seqs.
bool CanGetSiblings(void) const
Check if it is safe to call GetSiblings method.
bool IsSetTrunc_master(void) const
holds the truncated master, which may be something like a consensus, uses the same sequence coordinat...
const TDistance & GetDistance(void) const
Get the Distance member data.
CRef< TNeighbors > m_Neighbors
bool IsSetAncestors(void) const
list of parents Check if a value has been assigned to Ancestors data member.
bool IsSetScoreparams(void) const
Check if a value has been assigned to Scoreparams data member.
bool IsSetSeqtree(void) const
Check if a value has been assigned to Seqtree data member.
bool CanGetPending(void) const
Check if it is safe to call GetPending method.
bool IsSetScoremat(void) const
Position dependent score matrix Check if a value has been assigned to Scoremat data member.
CCdd_descr_set TDescription
CRef< TSiblings > m_Siblings
CCdd_Base & operator=(const CCdd_Base &)
CRef< TUser_annotations > m_User_annotations
void ResetId(void)
Reset Id data member.
bool IsSetSiblings(void) const
related CDs (common hits), clusters Check if a value has been assigned to Siblings data member.
const TAlignannot & GetAlignannot(void) const
Get the Alignannot member data.
bool CanGetPosfreq(void) const
Check if it is safe to call GetPosfreq method.
const TSeqannot & GetSeqannot(void) const
Get the Seqannot member data.
TRejects & SetRejects(void)
Assign a value to Rejects data member.
bool CanGetAlignannot(void) const
Check if it is safe to call GetAlignannot method.
bool CanGetRejects(void) const
Check if it is safe to call GetRejects method.
CRef< TSeqtree > m_Seqtree
TSeqannot & SetSeqannot(void)
Assign a value to Seqannot data member.
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
list< CRef< CDomain_parent > > TAncestors
CCdd_Base(const CCdd_Base &)
DECLARE_INTERNAL_TYPE_INFO()
CRef< TFeatures > m_Features
CRef< TAlignannot > m_Alignannot
bool IsSetId(void) const
this CD's Ids Check if a value has been assigned to Id data member.
CCn3d_style_dictionary TStyle_dictionary
bool CanGetSeqannot(void) const
Check if it is safe to call GetSeqannot method.
bool CanGetStyle_dictionary(void) const
Check if it is safe to call GetStyle_dictionary method.
bool IsSetNeighbors(void) const
co-occurring CDs, not used Check if a value has been assigned to Neighbors data member.
bool CanGetAncestors(void) const
Check if it is safe to call GetAncestors method.
const TChildren & GetChildren(void) const
Get the Children member data.
list< CRef< CSeq_id > > m_Master3d
const TSeqtree & GetSeqtree(void) const
Get the Seqtree member data.
bool IsSetProfile_range(void) const
profile for this region only also stores the Seq-id of the master Check if a value has been assigned ...
CRef< TSequences > m_Sequences
const TDescription & GetDescription(void) const
Get the Description member data.
bool CanGetScoreparams(void) const
Check if it is safe to call GetScoreparams method.
const TParent & GetParent(void) const
Get the Parent member data.
CBiostruc_annot_set TFeatures
CPssmWithParameters TScoreparams
CRef< TStyle_dictionary > m_Style_dictionary
bool CanGetProfile_range(void) const
Check if it is safe to call GetProfile_range method.
CRef< TChildren > m_Children
const TName & GetName(void) const
Get the Name member data.
bool CanGetUser_annotations(void) const
Check if it is safe to call GetUser_annotations method.
bool IsSetParent(void) const
this CD is the result of a split Check if a value has been assigned to Parent data member.
const TProfile_range & GetProfile_range(void) const
Get the Profile_range member data.
CRef< TScoremat > m_Scoremat
bool IsSetFeatures(void) const
contains structure alignment data or "core" definitions Check if a value has been assigned to Feature...
const TSiblings & GetSiblings(void) const
Get the Siblings member data.
bool CanGetTrunc_master(void) const
Check if it is safe to call GetTrunc_master method.
list< CRef< CDomain_parent > > m_Ancestors
CRef< TProfile_range > m_Profile_range
TName & SetName(void)
Assign a value to Name data member.
list< CRef< CReject_id > > m_Rejects
CRef< TScoreparams > m_Scoreparams
const TFeatures & GetFeatures(void) const
Get the Features member data.
const TStyle_dictionary & GetStyle_dictionary(void) const
Get the Style_dictionary member data.
bool CanGetScoremat(void) const
Check if it is safe to call GetScoremat method.
const GenericPointer< typename T::ValueType > T2 value