NCBI C++ ToolKit
Cdd_.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id$
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  */
27 
28 /// @file Cdd_.hpp
29 /// Data storage class.
30 ///
31 /// This file was generated by application DATATOOL
32 /// using the following specifications:
33 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/cdd/cdd.asn">cdd.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/cdd/cdd.def">cdd.def</a>
36 ///
37 /// ATTENTION:
38 /// Don't edit or commit this file into CVS as this file will
39 /// be overridden (by DATATOOL) without warning!
40 
41 #ifndef OBJECTS_CDD_CDD_BASE_HPP
42 #define OBJECTS_CDD_CDD_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #include <string>
50 
52 
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
56 #endif
57 BEGIN_objects_SCOPE // namespace ncbi::objects::
58 
59 
60 // forward declarations
61 class CAlign_annot_set;
62 class CBioseq;
64 class CCdd_descr_set;
65 class CCdd_id;
66 class CCdd_id_set;
69 class CDomain_parent;
70 class CMatrix;
72 class CReject_id;
73 class CSeq_annot;
74 class CSeq_entry;
75 class CSeq_id;
76 class CSeq_interval;
77 class CSequence_tree;
78 class CTriangle;
79 class CUpdate_align;
80 
81 
82 // generated classes
83 
84 
85 /** @addtogroup dataspec_NCBI_Cdd
86  *
87  * @{
88  */
89 
90 /////////////////////////////////////////////////////////////////////////////
91 /// the Cdd is the basic ASN.1 object storing an annotated and curated set of
92 /// alignments (formulated as a set of pairwise master-slave alignments).
93 /// The alignment data are contained in Seq-annots, and a special type of
94 /// object, the Update-align, contains additional alignment data from unfinished
95 /// editing sessions and update processes. The Biostruc-annot-set holds
96 /// structure superposition information for multiple structure-derived rows in
97 /// the alignment.
98 /// Version numbers in Global-ids are meant to be updated every time the Cdd is
99 /// changed in a way that does not require Global-ids to be changed (sequences
100 /// added in update cycle, annotation changed, alignment errors fixed)
101 ///
102 /// CCdd_Base --
103 ///
104 
106 {
108 public:
109  // constructor
110  CCdd_Base(void);
111  // destructor
112  virtual ~CCdd_Base(void);
113 
114  // type info
116 
117  // types
118  typedef string TName;
119  typedef CCdd_id_set TId;
121  typedef list< CRef< CSeq_annot > > TSeqannot;
126  typedef CMatrix TPosfreq;
129  typedef CCdd_id TParent;
133  typedef list< CRef< CUpdate_align > > TPending;
134  typedef list< CRef< CReject_id > > TRejects;
135  typedef list< CRef< CSeq_id > > TMaster3d;
139  typedef list< CRef< CDomain_parent > > TAncestors;
142 
143  // member index
144  enum class E_memberIndex {
145  e__allMandatory = 0,
146  e_name,
147  e_id,
148  e_description,
149  e_seqannot,
150  e_features,
151  e_sequences,
152  e_profile_range,
153  e_trunc_master,
154  e_posfreq,
155  e_scoremat,
156  e_distance,
157  e_parent,
158  e_children,
159  e_siblings,
160  e_neighbors,
161  e_pending,
162  e_rejects,
163  e_master3d,
164  e_alignannot,
165  e_style_dictionary,
166  e_user_annotations,
167  e_ancestors,
168  e_scoreparams,
169  e_seqtree
170  };
172 
173  // getters
174  // setters
175 
176  /// a short name (can be the accession..)
177  /// Check if a value has been assigned to Name data member.
178  ///
179  /// Data member Name is mandatory;
180  /// its type is defined as 'typedef string TName'
181  /// @return
182  /// - true, if a value has been assigned.
183  /// - false, otherwise.
184  bool IsSetName(void) const;
185 
186  /// Check if it is safe to call GetName method.
187  ///
188  /// @return
189  /// - true, if the data member is getatable.
190  /// - false, otherwise.
191  bool CanGetName(void) const;
192 
193  /// Reset Name data member.
194  void ResetName(void);
195 
196  /// Get the Name member data.
197  ///
198  /// @return
199  /// Reference to the member data.
200  const TName& GetName(void) const;
201 
202  /// Assign a value to Name data member.
203  ///
204  /// @param value
205  /// Value to assign
206  void SetName(const TName& value);
207  void SetName(TName&& value);
208 
209  /// Assign a value to Name data member.
210  ///
211  /// @return
212  /// Reference to the data value.
213  TName& SetName(void);
214 
215  /// this CD's Ids
216  /// Check if a value has been assigned to Id data member.
217  ///
218  /// Data member Id is mandatory;
219  /// its type is defined as 'typedef CCdd_id_set TId'
220  /// @return
221  /// - true, if a value has been assigned.
222  /// - false, otherwise.
223  bool IsSetId(void) const;
224 
225  /// Check if it is safe to call GetId method.
226  ///
227  /// @return
228  /// - true, if the data member is getatable.
229  /// - false, otherwise.
230  bool CanGetId(void) const;
231 
232  /// Reset Id data member.
233  void ResetId(void);
234 
235  /// Get the Id member data.
236  ///
237  /// @return
238  /// Reference to the member data.
239  const TId& GetId(void) const;
240 
241  /// Assign a value to Id data member.
242  ///
243  /// @param value
244  /// Reference to value.
245  void SetId(TId& value);
246 
247  /// Assign a value to Id data member.
248  ///
249  /// @return
250  /// Reference to the data value.
251  TId& SetId(void);
252 
253  /// status, references, etc.
254  /// Check if a value has been assigned to Description data member.
255  ///
256  /// Data member Description is optional;
257  /// its type is defined as 'typedef CCdd_descr_set TDescription'
258  /// @return
259  /// - true, if a value has been assigned.
260  /// - false, otherwise.
261  bool IsSetDescription(void) const;
262 
263  /// Check if it is safe to call GetDescription method.
264  ///
265  /// @return
266  /// - true, if the data member is getatable.
267  /// - false, otherwise.
268  bool CanGetDescription(void) const;
269 
270  /// Reset Description data member.
271  void ResetDescription(void);
272 
273  /// Get the Description member data.
274  ///
275  /// @return
276  /// Reference to the member data.
277  const TDescription& GetDescription(void) const;
278 
279  /// Assign a value to Description data member.
280  ///
281  /// @param value
282  /// Reference to value.
283  void SetDescription(TDescription& value);
284 
285  /// Assign a value to Description data member.
286  ///
287  /// @return
288  /// Reference to the data value.
289  TDescription& SetDescription(void);
290 
291  /// contains the CD alignment
292  /// Check if a value has been assigned to Seqannot data member.
293  ///
294  /// Data member Seqannot is optional;
295  /// its type is defined as 'typedef list< CRef< CSeq_annot > > TSeqannot'
296  /// @return
297  /// - true, if a value has been assigned.
298  /// - false, otherwise.
299  bool IsSetSeqannot(void) const;
300 
301  /// Check if it is safe to call GetSeqannot method.
302  ///
303  /// @return
304  /// - true, if the data member is getatable.
305  /// - false, otherwise.
306  bool CanGetSeqannot(void) const;
307 
308  /// Reset Seqannot data member.
309  void ResetSeqannot(void);
310 
311  /// Get the Seqannot member data.
312  ///
313  /// @return
314  /// Reference to the member data.
315  const TSeqannot& GetSeqannot(void) const;
316 
317  /// Assign a value to Seqannot data member.
318  ///
319  /// @return
320  /// Reference to the data value.
321  TSeqannot& SetSeqannot(void);
322 
323  /// contains structure
324  /// alignment data
325  /// or "core" definitions
326  /// Check if a value has been assigned to Features data member.
327  ///
328  /// Data member Features is optional;
329  /// its type is defined as 'typedef CBiostruc_annot_set TFeatures'
330  /// @return
331  /// - true, if a value has been assigned.
332  /// - false, otherwise.
333  bool IsSetFeatures(void) const;
334 
335  /// Check if it is safe to call GetFeatures method.
336  ///
337  /// @return
338  /// - true, if the data member is getatable.
339  /// - false, otherwise.
340  bool CanGetFeatures(void) const;
341 
342  /// Reset Features data member.
343  void ResetFeatures(void);
344 
345  /// Get the Features member data.
346  ///
347  /// @return
348  /// Reference to the member data.
349  const TFeatures& GetFeatures(void) const;
350 
351  /// Assign a value to Features data member.
352  ///
353  /// @param value
354  /// Reference to value.
355  void SetFeatures(TFeatures& value);
356 
357  /// Assign a value to Features data member.
358  ///
359  /// @return
360  /// Reference to the data value.
361  TFeatures& SetFeatures(void);
362 
363  /// store as bioseq-set inside seq-entry
364  /// Check if a value has been assigned to Sequences data member.
365  ///
366  /// Data member Sequences is optional;
367  /// its type is defined as 'typedef CSeq_entry TSequences'
368  /// @return
369  /// - true, if a value has been assigned.
370  /// - false, otherwise.
371  bool IsSetSequences(void) const;
372 
373  /// Check if it is safe to call GetSequences method.
374  ///
375  /// @return
376  /// - true, if the data member is getatable.
377  /// - false, otherwise.
378  bool CanGetSequences(void) const;
379 
380  /// Reset Sequences data member.
381  void ResetSequences(void);
382 
383  /// Get the Sequences member data.
384  ///
385  /// @return
386  /// Reference to the member data.
387  const TSequences& GetSequences(void) const;
388 
389  /// Assign a value to Sequences data member.
390  ///
391  /// @param value
392  /// Reference to value.
393  void SetSequences(TSequences& value);
394 
395  /// Assign a value to Sequences data member.
396  ///
397  /// @return
398  /// Reference to the data value.
399  TSequences& SetSequences(void);
400 
401  /// profile for this region only
402  /// also stores the Seq-id of the master
403  /// Check if a value has been assigned to Profile_range data member.
404  ///
405  /// Data member Profile_range is optional;
406  /// its type is defined as 'typedef CSeq_interval TProfile_range'
407  /// @return
408  /// - true, if a value has been assigned.
409  /// - false, otherwise.
410  bool IsSetProfile_range(void) const;
411 
412  /// Check if it is safe to call GetProfile_range method.
413  ///
414  /// @return
415  /// - true, if the data member is getatable.
416  /// - false, otherwise.
417  bool CanGetProfile_range(void) const;
418 
419  /// Reset Profile_range data member.
420  void ResetProfile_range(void);
421 
422  /// Get the Profile_range member data.
423  ///
424  /// @return
425  /// Reference to the member data.
426  const TProfile_range& GetProfile_range(void) const;
427 
428  /// Assign a value to Profile_range data member.
429  ///
430  /// @param value
431  /// Reference to value.
432  void SetProfile_range(TProfile_range& value);
433 
434  /// Assign a value to Profile_range data member.
435  ///
436  /// @return
437  /// Reference to the data value.
438  TProfile_range& SetProfile_range(void);
439 
440  /// holds the truncated master, which
441  /// may be something like a consensus,
442  /// uses the same sequence coordinate
443  /// frame as the profile-range
444  /// Check if a value has been assigned to Trunc_master data member.
445  ///
446  /// Data member Trunc_master is optional;
447  /// its type is defined as 'typedef CBioseq TTrunc_master'
448  /// @return
449  /// - true, if a value has been assigned.
450  /// - false, otherwise.
451  bool IsSetTrunc_master(void) const;
452 
453  /// Check if it is safe to call GetTrunc_master method.
454  ///
455  /// @return
456  /// - true, if the data member is getatable.
457  /// - false, otherwise.
458  bool CanGetTrunc_master(void) const;
459 
460  /// Reset Trunc_master data member.
461  void ResetTrunc_master(void);
462 
463  /// Get the Trunc_master member data.
464  ///
465  /// @return
466  /// Reference to the member data.
467  const TTrunc_master& GetTrunc_master(void) const;
468 
469  /// Assign a value to Trunc_master data member.
470  ///
471  /// @param value
472  /// Reference to value.
473  void SetTrunc_master(TTrunc_master& value);
474 
475  /// Assign a value to Trunc_master data member.
476  ///
477  /// @return
478  /// Reference to the data value.
479  TTrunc_master& SetTrunc_master(void);
480 
481  /// relative residue frequencies
482  /// Check if a value has been assigned to Posfreq data member.
483  ///
484  /// Data member Posfreq is optional;
485  /// its type is defined as 'typedef CMatrix TPosfreq'
486  /// @return
487  /// - true, if a value has been assigned.
488  /// - false, otherwise.
489  bool IsSetPosfreq(void) const;
490 
491  /// Check if it is safe to call GetPosfreq method.
492  ///
493  /// @return
494  /// - true, if the data member is getatable.
495  /// - false, otherwise.
496  bool CanGetPosfreq(void) const;
497 
498  /// Reset Posfreq data member.
499  void ResetPosfreq(void);
500 
501  /// Get the Posfreq member data.
502  ///
503  /// @return
504  /// Reference to the member data.
505  const TPosfreq& GetPosfreq(void) const;
506 
507  /// Assign a value to Posfreq data member.
508  ///
509  /// @param value
510  /// Reference to value.
511  void SetPosfreq(TPosfreq& value);
512 
513  /// Assign a value to Posfreq data member.
514  ///
515  /// @return
516  /// Reference to the data value.
517  TPosfreq& SetPosfreq(void);
518 
519  /// Position dependent score matrix
520  /// Check if a value has been assigned to Scoremat data member.
521  ///
522  /// Data member Scoremat is optional;
523  /// its type is defined as 'typedef CMatrix TScoremat'
524  /// @return
525  /// - true, if a value has been assigned.
526  /// - false, otherwise.
527  bool IsSetScoremat(void) const;
528 
529  /// Check if it is safe to call GetScoremat method.
530  ///
531  /// @return
532  /// - true, if the data member is getatable.
533  /// - false, otherwise.
534  bool CanGetScoremat(void) const;
535 
536  /// Reset Scoremat data member.
537  void ResetScoremat(void);
538 
539  /// Get the Scoremat member data.
540  ///
541  /// @return
542  /// Reference to the member data.
543  const TScoremat& GetScoremat(void) const;
544 
545  /// Assign a value to Scoremat data member.
546  ///
547  /// @param value
548  /// Reference to value.
549  void SetScoremat(TScoremat& value);
550 
551  /// Assign a value to Scoremat data member.
552  ///
553  /// @return
554  /// Reference to the data value.
555  TScoremat& SetScoremat(void);
556 
557  /// pairwise distances for all seqs.
558  /// Check if a value has been assigned to Distance data member.
559  ///
560  /// Data member Distance is optional;
561  /// its type is defined as 'typedef CTriangle TDistance'
562  /// @return
563  /// - true, if a value has been assigned.
564  /// - false, otherwise.
565  bool IsSetDistance(void) const;
566 
567  /// Check if it is safe to call GetDistance method.
568  ///
569  /// @return
570  /// - true, if the data member is getatable.
571  /// - false, otherwise.
572  bool CanGetDistance(void) const;
573 
574  /// Reset Distance data member.
575  void ResetDistance(void);
576 
577  /// Get the Distance member data.
578  ///
579  /// @return
580  /// Reference to the member data.
581  const TDistance& GetDistance(void) const;
582 
583  /// Assign a value to Distance data member.
584  ///
585  /// @param value
586  /// Reference to value.
587  void SetDistance(TDistance& value);
588 
589  /// Assign a value to Distance data member.
590  ///
591  /// @return
592  /// Reference to the data value.
593  TDistance& SetDistance(void);
594 
595  /// this CD is the result of a split
596  /// Check if a value has been assigned to Parent data member.
597  ///
598  /// Data member Parent is optional;
599  /// its type is defined as 'typedef CCdd_id TParent'
600  /// @return
601  /// - true, if a value has been assigned.
602  /// - false, otherwise.
603  bool IsSetParent(void) const;
604 
605  /// Check if it is safe to call GetParent method.
606  ///
607  /// @return
608  /// - true, if the data member is getatable.
609  /// - false, otherwise.
610  bool CanGetParent(void) const;
611 
612  /// Reset Parent data member.
613  void ResetParent(void);
614 
615  /// Get the Parent member data.
616  ///
617  /// @return
618  /// Reference to the member data.
619  const TParent& GetParent(void) const;
620 
621  /// Assign a value to Parent data member.
622  ///
623  /// @param value
624  /// Reference to value.
625  void SetParent(TParent& value);
626 
627  /// Assign a value to Parent data member.
628  ///
629  /// @return
630  /// Reference to the data value.
631  TParent& SetParent(void);
632 
633  /// this CD has been split, not used
634  /// Check if a value has been assigned to Children data member.
635  ///
636  /// Data member Children is optional;
637  /// its type is defined as 'typedef CCdd_id_set TChildren'
638  /// @return
639  /// - true, if a value has been assigned.
640  /// - false, otherwise.
641  bool IsSetChildren(void) const;
642 
643  /// Check if it is safe to call GetChildren method.
644  ///
645  /// @return
646  /// - true, if the data member is getatable.
647  /// - false, otherwise.
648  bool CanGetChildren(void) const;
649 
650  /// Reset Children data member.
651  void ResetChildren(void);
652 
653  /// Get the Children member data.
654  ///
655  /// @return
656  /// Reference to the member data.
657  const TChildren& GetChildren(void) const;
658 
659  /// Assign a value to Children data member.
660  ///
661  /// @param value
662  /// Reference to value.
663  void SetChildren(TChildren& value);
664 
665  /// Assign a value to Children data member.
666  ///
667  /// @return
668  /// Reference to the data value.
669  TChildren& SetChildren(void);
670 
671  /// related CDs (common hits), clusters
672  /// Check if a value has been assigned to Siblings data member.
673  ///
674  /// Data member Siblings is optional;
675  /// its type is defined as 'typedef CCdd_id_set TSiblings'
676  /// @return
677  /// - true, if a value has been assigned.
678  /// - false, otherwise.
679  bool IsSetSiblings(void) const;
680 
681  /// Check if it is safe to call GetSiblings method.
682  ///
683  /// @return
684  /// - true, if the data member is getatable.
685  /// - false, otherwise.
686  bool CanGetSiblings(void) const;
687 
688  /// Reset Siblings data member.
689  void ResetSiblings(void);
690 
691  /// Get the Siblings member data.
692  ///
693  /// @return
694  /// Reference to the member data.
695  const TSiblings& GetSiblings(void) const;
696 
697  /// Assign a value to Siblings data member.
698  ///
699  /// @param value
700  /// Reference to value.
701  void SetSiblings(TSiblings& value);
702 
703  /// Assign a value to Siblings data member.
704  ///
705  /// @return
706  /// Reference to the data value.
707  TSiblings& SetSiblings(void);
708 
709  /// co-occurring CDs, not used
710  /// Check if a value has been assigned to Neighbors data member.
711  ///
712  /// Data member Neighbors is optional;
713  /// its type is defined as 'typedef CCdd_id_set TNeighbors'
714  /// @return
715  /// - true, if a value has been assigned.
716  /// - false, otherwise.
717  bool IsSetNeighbors(void) const;
718 
719  /// Check if it is safe to call GetNeighbors method.
720  ///
721  /// @return
722  /// - true, if the data member is getatable.
723  /// - false, otherwise.
724  bool CanGetNeighbors(void) const;
725 
726  /// Reset Neighbors data member.
727  void ResetNeighbors(void);
728 
729  /// Get the Neighbors member data.
730  ///
731  /// @return
732  /// Reference to the member data.
733  const TNeighbors& GetNeighbors(void) const;
734 
735  /// Assign a value to Neighbors data member.
736  ///
737  /// @param value
738  /// Reference to value.
739  void SetNeighbors(TNeighbors& value);
740 
741  /// Assign a value to Neighbors data member.
742  ///
743  /// @return
744  /// Reference to the data value.
745  TNeighbors& SetNeighbors(void);
746 
747  /// contains alignments from
748  /// update or "lower panel"
749  /// Check if a value has been assigned to Pending data member.
750  ///
751  /// Data member Pending is optional;
752  /// its type is defined as 'typedef list< CRef< CUpdate_align > > TPending'
753  /// @return
754  /// - true, if a value has been assigned.
755  /// - false, otherwise.
756  bool IsSetPending(void) const;
757 
758  /// Check if it is safe to call GetPending method.
759  ///
760  /// @return
761  /// - true, if the data member is getatable.
762  /// - false, otherwise.
763  bool CanGetPending(void) const;
764 
765  /// Reset Pending data member.
766  void ResetPending(void);
767 
768  /// Get the Pending member data.
769  ///
770  /// @return
771  /// Reference to the member data.
772  const TPending& GetPending(void) const;
773 
774  /// Assign a value to Pending data member.
775  ///
776  /// @return
777  /// Reference to the data value.
778  TPending& SetPending(void);
779 
780  /// SeqIds of rejected CD-
781  /// members, ignore in update
782  /// Check if a value has been assigned to Rejects data member.
783  ///
784  /// Data member Rejects is optional;
785  /// its type is defined as 'typedef list< CRef< CReject_id > > TRejects'
786  /// @return
787  /// - true, if a value has been assigned.
788  /// - false, otherwise.
789  bool IsSetRejects(void) const;
790 
791  /// Check if it is safe to call GetRejects method.
792  ///
793  /// @return
794  /// - true, if the data member is getatable.
795  /// - false, otherwise.
796  bool CanGetRejects(void) const;
797 
798  /// Reset Rejects data member.
799  void ResetRejects(void);
800 
801  /// Get the Rejects member data.
802  ///
803  /// @return
804  /// Reference to the member data.
805  const TRejects& GetRejects(void) const;
806 
807  /// Assign a value to Rejects data member.
808  ///
809  /// @return
810  /// Reference to the data value.
811  TRejects& SetRejects(void);
812 
813  /// record if CD has a 3D representative
814  /// Check if a value has been assigned to Master3d data member.
815  ///
816  /// Data member Master3d is optional;
817  /// its type is defined as 'typedef list< CRef< CSeq_id > > TMaster3d'
818  /// @return
819  /// - true, if a value has been assigned.
820  /// - false, otherwise.
821  bool IsSetMaster3d(void) const;
822 
823  /// Check if it is safe to call GetMaster3d method.
824  ///
825  /// @return
826  /// - true, if the data member is getatable.
827  /// - false, otherwise.
828  bool CanGetMaster3d(void) const;
829 
830  /// Reset Master3d data member.
831  void ResetMaster3d(void);
832 
833  /// Get the Master3d member data.
834  ///
835  /// @return
836  /// Reference to the member data.
837  const TMaster3d& GetMaster3d(void) const;
838 
839  /// Assign a value to Master3d data member.
840  ///
841  /// @return
842  /// Reference to the data value.
843  TMaster3d& SetMaster3d(void);
844 
845  /// alignment annotation
846  /// Check if a value has been assigned to Alignannot data member.
847  ///
848  /// Data member Alignannot is optional;
849  /// its type is defined as 'typedef CAlign_annot_set TAlignannot'
850  /// @return
851  /// - true, if a value has been assigned.
852  /// - false, otherwise.
853  bool IsSetAlignannot(void) const;
854 
855  /// Check if it is safe to call GetAlignannot method.
856  ///
857  /// @return
858  /// - true, if the data member is getatable.
859  /// - false, otherwise.
860  bool CanGetAlignannot(void) const;
861 
862  /// Reset Alignannot data member.
863  void ResetAlignannot(void);
864 
865  /// Get the Alignannot member data.
866  ///
867  /// @return
868  /// Reference to the member data.
869  const TAlignannot& GetAlignannot(void) const;
870 
871  /// Assign a value to Alignannot data member.
872  ///
873  /// @param value
874  /// Reference to value.
875  void SetAlignannot(TAlignannot& value);
876 
877  /// Assign a value to Alignannot data member.
878  ///
879  /// @return
880  /// Reference to the data value.
881  TAlignannot& SetAlignannot(void);
882 
883  /// record rendering styles
884  /// Check if a value has been assigned to Style_dictionary data member.
885  ///
886  /// Data member Style_dictionary is optional;
887  /// its type is defined as 'typedef CCn3d_style_dictionary TStyle_dictionary'
888  /// @return
889  /// - true, if a value has been assigned.
890  /// - false, otherwise.
891  bool IsSetStyle_dictionary(void) const;
892 
893  /// Check if it is safe to call GetStyle_dictionary method.
894  ///
895  /// @return
896  /// - true, if the data member is getatable.
897  /// - false, otherwise.
898  bool CanGetStyle_dictionary(void) const;
899 
900  /// Reset Style_dictionary data member.
901  void ResetStyle_dictionary(void);
902 
903  /// Get the Style_dictionary member data.
904  ///
905  /// @return
906  /// Reference to the member data.
907  const TStyle_dictionary& GetStyle_dictionary(void) const;
908 
909  /// Assign a value to Style_dictionary data member.
910  ///
911  /// @param value
912  /// Reference to value.
913  void SetStyle_dictionary(TStyle_dictionary& value);
914 
915  /// Assign a value to Style_dictionary data member.
916  ///
917  /// @return
918  /// Reference to the data value.
919  TStyle_dictionary& SetStyle_dictionary(void);
920 
921  /// user annotations in Cn3D
922  /// Check if a value has been assigned to User_annotations data member.
923  ///
924  /// Data member User_annotations is optional;
925  /// its type is defined as 'typedef CCn3d_user_annotations TUser_annotations'
926  /// @return
927  /// - true, if a value has been assigned.
928  /// - false, otherwise.
929  bool IsSetUser_annotations(void) const;
930 
931  /// Check if it is safe to call GetUser_annotations method.
932  ///
933  /// @return
934  /// - true, if the data member is getatable.
935  /// - false, otherwise.
936  bool CanGetUser_annotations(void) const;
937 
938  /// Reset User_annotations data member.
939  void ResetUser_annotations(void);
940 
941  /// Get the User_annotations member data.
942  ///
943  /// @return
944  /// Reference to the member data.
945  const TUser_annotations& GetUser_annotations(void) const;
946 
947  /// Assign a value to User_annotations data member.
948  ///
949  /// @param value
950  /// Reference to value.
951  void SetUser_annotations(TUser_annotations& value);
952 
953  /// Assign a value to User_annotations data member.
954  ///
955  /// @return
956  /// Reference to the data value.
957  TUser_annotations& SetUser_annotations(void);
958 
959  /// list of parents
960  /// Check if a value has been assigned to Ancestors data member.
961  ///
962  /// Data member Ancestors is optional;
963  /// its type is defined as 'typedef list< CRef< CDomain_parent > > TAncestors'
964  /// @return
965  /// - true, if a value has been assigned.
966  /// - false, otherwise.
967  bool IsSetAncestors(void) const;
968 
969  /// Check if it is safe to call GetAncestors method.
970  ///
971  /// @return
972  /// - true, if the data member is getatable.
973  /// - false, otherwise.
974  bool CanGetAncestors(void) const;
975 
976  /// Reset Ancestors data member.
977  void ResetAncestors(void);
978 
979  /// Get the Ancestors member data.
980  ///
981  /// @return
982  /// Reference to the member data.
983  const TAncestors& GetAncestors(void) const;
984 
985  /// Assign a value to Ancestors data member.
986  ///
987  /// @return
988  /// Reference to the data value.
989  TAncestors& SetAncestors(void);
990 
991  /// Check if a value has been assigned to Scoreparams data member.
992  ///
993  /// Data member Scoreparams is optional;
994  /// its type is defined as 'typedef CPssmWithParameters TScoreparams'
995  /// @return
996  /// - true, if a value has been assigned.
997  /// - false, otherwise.
998  bool IsSetScoreparams(void) const;
999 
1000  /// Check if it is safe to call GetScoreparams method.
1001  ///
1002  /// @return
1003  /// - true, if the data member is getatable.
1004  /// - false, otherwise.
1005  bool CanGetScoreparams(void) const;
1006 
1007  /// Reset Scoreparams data member.
1008  void ResetScoreparams(void);
1009 
1010  /// Get the Scoreparams member data.
1011  ///
1012  /// @return
1013  /// Reference to the member data.
1014  const TScoreparams& GetScoreparams(void) const;
1015 
1016  /// Assign a value to Scoreparams data member.
1017  ///
1018  /// @param value
1019  /// Reference to value.
1020  void SetScoreparams(TScoreparams& value);
1021 
1022  /// Assign a value to Scoreparams data member.
1023  ///
1024  /// @return
1025  /// Reference to the data value.
1026  TScoreparams& SetScoreparams(void);
1027 
1028  /// Check if a value has been assigned to Seqtree data member.
1029  ///
1030  /// Data member Seqtree is optional;
1031  /// its type is defined as 'typedef CSequence_tree TSeqtree'
1032  /// @return
1033  /// - true, if a value has been assigned.
1034  /// - false, otherwise.
1035  bool IsSetSeqtree(void) const;
1036 
1037  /// Check if it is safe to call GetSeqtree method.
1038  ///
1039  /// @return
1040  /// - true, if the data member is getatable.
1041  /// - false, otherwise.
1042  bool CanGetSeqtree(void) const;
1043 
1044  /// Reset Seqtree data member.
1045  void ResetSeqtree(void);
1046 
1047  /// Get the Seqtree member data.
1048  ///
1049  /// @return
1050  /// Reference to the member data.
1051  const TSeqtree& GetSeqtree(void) const;
1052 
1053  /// Assign a value to Seqtree data member.
1054  ///
1055  /// @param value
1056  /// Reference to value.
1057  void SetSeqtree(TSeqtree& value);
1058 
1059  /// Assign a value to Seqtree data member.
1060  ///
1061  /// @return
1062  /// Reference to the data value.
1063  TSeqtree& SetSeqtree(void);
1064 
1065  /// Reset the whole object
1066  virtual void Reset(void);
1067 
1068 
1069 private:
1070  // Prohibit copy constructor and assignment operator
1073 
1074  // data
1075  Uint4 m_set_State[2];
1076  string m_Name;
1079  list< CRef< CSeq_annot > > m_Seqannot;
1091  list< CRef< CUpdate_align > > m_Pending;
1092  list< CRef< CReject_id > > m_Rejects;
1093  list< CRef< CSeq_id > > m_Master3d;
1097  list< CRef< CDomain_parent > > m_Ancestors;
1100 };
1101 
1102 /* @} */
1103 
1104 
1105 
1106 
1107 
1108 ///////////////////////////////////////////////////////////
1109 ///////////////////// inline methods //////////////////////
1110 ///////////////////////////////////////////////////////////
1111 inline
1112 bool CCdd_Base::IsSetName(void) const
1113 {
1114  return ((m_set_State[0] & 0x3) != 0);
1115 }
1116 
1117 inline
1118 bool CCdd_Base::CanGetName(void) const
1119 {
1120  return IsSetName();
1121 }
1122 
1123 inline
1125 {
1126  if (!CanGetName()) {
1127  ThrowUnassigned(0);
1128  }
1129  return m_Name;
1130 }
1131 
1132 inline
1134 {
1135  m_Name = value;
1136  m_set_State[0] |= 0x3;
1137 }
1138 
1139 inline
1141 {
1142  m_Name = std::forward<CCdd_Base::TName>(value);
1143  m_set_State[0] |= 0x3;
1144 }
1145 
1146 inline
1148 {
1149 #ifdef _DEBUG
1150  if (!IsSetName()) {
1152  }
1153 #endif
1154  m_set_State[0] |= 0x1;
1155  return m_Name;
1156 }
1157 
1158 inline
1159 bool CCdd_Base::IsSetId(void) const
1160 {
1161  return m_Id.NotEmpty();
1162 }
1163 
1164 inline
1165 bool CCdd_Base::CanGetId(void) const
1166 {
1167  return true;
1168 }
1169 
1170 inline
1172 {
1173  if ( !m_Id ) {
1174  const_cast<CCdd_Base*>(this)->ResetId();
1175  }
1176  return (*m_Id);
1177 }
1178 
1179 inline
1181 {
1182  if ( !m_Id ) {
1183  ResetId();
1184  }
1185  return (*m_Id);
1186 }
1187 
1188 inline
1190 {
1191  return m_Description.NotEmpty();
1192 }
1193 
1194 inline
1196 {
1197  return IsSetDescription();
1198 }
1199 
1200 inline
1202 {
1203  if (!CanGetDescription()) {
1204  ThrowUnassigned(2);
1205  }
1206  return (*m_Description);
1207 }
1208 
1209 inline
1211 {
1212  return ((m_set_State[0] & 0xc0) != 0);
1213 }
1214 
1215 inline
1217 {
1218  return true;
1219 }
1220 
1221 inline
1223 {
1224  return m_Seqannot;
1225 }
1226 
1227 inline
1229 {
1230  m_set_State[0] |= 0x40;
1231  return m_Seqannot;
1232 }
1233 
1234 inline
1236 {
1237  return m_Features.NotEmpty();
1238 }
1239 
1240 inline
1242 {
1243  return IsSetFeatures();
1244 }
1245 
1246 inline
1248 {
1249  if (!CanGetFeatures()) {
1250  ThrowUnassigned(4);
1251  }
1252  return (*m_Features);
1253 }
1254 
1255 inline
1257 {
1258  return m_Sequences.NotEmpty();
1259 }
1260 
1261 inline
1263 {
1264  return IsSetSequences();
1265 }
1266 
1267 inline
1269 {
1270  if (!CanGetSequences()) {
1271  ThrowUnassigned(5);
1272  }
1273  return (*m_Sequences);
1274 }
1275 
1276 inline
1278 {
1279  return m_Profile_range.NotEmpty();
1280 }
1281 
1282 inline
1284 {
1285  return IsSetProfile_range();
1286 }
1287 
1288 inline
1290 {
1291  if (!CanGetProfile_range()) {
1292  ThrowUnassigned(6);
1293  }
1294  return (*m_Profile_range);
1295 }
1296 
1297 inline
1299 {
1300  return m_Trunc_master.NotEmpty();
1301 }
1302 
1303 inline
1305 {
1306  return IsSetTrunc_master();
1307 }
1308 
1309 inline
1311 {
1312  if (!CanGetTrunc_master()) {
1313  ThrowUnassigned(7);
1314  }
1315  return (*m_Trunc_master);
1316 }
1317 
1318 inline
1319 bool CCdd_Base::IsSetPosfreq(void) const
1320 {
1321  return m_Posfreq.NotEmpty();
1322 }
1323 
1324 inline
1326 {
1327  return IsSetPosfreq();
1328 }
1329 
1330 inline
1332 {
1333  if (!CanGetPosfreq()) {
1334  ThrowUnassigned(8);
1335  }
1336  return (*m_Posfreq);
1337 }
1338 
1339 inline
1341 {
1342  return m_Scoremat.NotEmpty();
1343 }
1344 
1345 inline
1347 {
1348  return IsSetScoremat();
1349 }
1350 
1351 inline
1353 {
1354  if (!CanGetScoremat()) {
1355  ThrowUnassigned(9);
1356  }
1357  return (*m_Scoremat);
1358 }
1359 
1360 inline
1362 {
1363  return m_Distance.NotEmpty();
1364 }
1365 
1366 inline
1368 {
1369  return IsSetDistance();
1370 }
1371 
1372 inline
1374 {
1375  if (!CanGetDistance()) {
1376  ThrowUnassigned(10);
1377  }
1378  return (*m_Distance);
1379 }
1380 
1381 inline
1382 bool CCdd_Base::IsSetParent(void) const
1383 {
1384  return m_Parent.NotEmpty();
1385 }
1386 
1387 inline
1388 bool CCdd_Base::CanGetParent(void) const
1389 {
1390  return IsSetParent();
1391 }
1392 
1393 inline
1395 {
1396  if (!CanGetParent()) {
1397  ThrowUnassigned(11);
1398  }
1399  return (*m_Parent);
1400 }
1401 
1402 inline
1404 {
1405  return m_Children.NotEmpty();
1406 }
1407 
1408 inline
1410 {
1411  return IsSetChildren();
1412 }
1413 
1414 inline
1416 {
1417  if (!CanGetChildren()) {
1418  ThrowUnassigned(12);
1419  }
1420  return (*m_Children);
1421 }
1422 
1423 inline
1425 {
1426  return m_Siblings.NotEmpty();
1427 }
1428 
1429 inline
1431 {
1432  return IsSetSiblings();
1433 }
1434 
1435 inline
1437 {
1438  if (!CanGetSiblings()) {
1439  ThrowUnassigned(13);
1440  }
1441  return (*m_Siblings);
1442 }
1443 
1444 inline
1446 {
1447  return m_Neighbors.NotEmpty();
1448 }
1449 
1450 inline
1452 {
1453  return IsSetNeighbors();
1454 }
1455 
1456 inline
1458 {
1459  if (!CanGetNeighbors()) {
1460  ThrowUnassigned(14);
1461  }
1462  return (*m_Neighbors);
1463 }
1464 
1465 inline
1466 bool CCdd_Base::IsSetPending(void) const
1467 {
1468  return ((m_set_State[0] & 0xc0000000) != 0);
1469 }
1470 
1471 inline
1473 {
1474  return true;
1475 }
1476 
1477 inline
1479 {
1480  return m_Pending;
1481 }
1482 
1483 inline
1485 {
1486  m_set_State[0] |= 0x40000000;
1487  return m_Pending;
1488 }
1489 
1490 inline
1491 bool CCdd_Base::IsSetRejects(void) const
1492 {
1493  return ((m_set_State[1] & 0x3) != 0);
1494 }
1495 
1496 inline
1498 {
1499  return true;
1500 }
1501 
1502 inline
1504 {
1505  return m_Rejects;
1506 }
1507 
1508 inline
1510 {
1511  m_set_State[1] |= 0x1;
1512  return m_Rejects;
1513 }
1514 
1515 inline
1517 {
1518  return ((m_set_State[1] & 0xc) != 0);
1519 }
1520 
1521 inline
1523 {
1524  return true;
1525 }
1526 
1527 inline
1529 {
1530  return m_Master3d;
1531 }
1532 
1533 inline
1535 {
1536  m_set_State[1] |= 0x4;
1537  return m_Master3d;
1538 }
1539 
1540 inline
1542 {
1543  return m_Alignannot.NotEmpty();
1544 }
1545 
1546 inline
1548 {
1549  return IsSetAlignannot();
1550 }
1551 
1552 inline
1554 {
1555  if (!CanGetAlignannot()) {
1556  ThrowUnassigned(18);
1557  }
1558  return (*m_Alignannot);
1559 }
1560 
1561 inline
1563 {
1564  return m_Style_dictionary.NotEmpty();
1565 }
1566 
1567 inline
1569 {
1570  return IsSetStyle_dictionary();
1571 }
1572 
1573 inline
1575 {
1576  if (!CanGetStyle_dictionary()) {
1577  ThrowUnassigned(19);
1578  }
1579  return (*m_Style_dictionary);
1580 }
1581 
1582 inline
1584 {
1585  return m_User_annotations.NotEmpty();
1586 }
1587 
1588 inline
1590 {
1591  return IsSetUser_annotations();
1592 }
1593 
1594 inline
1596 {
1597  if (!CanGetUser_annotations()) {
1598  ThrowUnassigned(20);
1599  }
1600  return (*m_User_annotations);
1601 }
1602 
1603 inline
1605 {
1606  return ((m_set_State[1] & 0xc00) != 0);
1607 }
1608 
1609 inline
1611 {
1612  return true;
1613 }
1614 
1615 inline
1617 {
1618  return m_Ancestors;
1619 }
1620 
1621 inline
1623 {
1624  m_set_State[1] |= 0x400;
1625  return m_Ancestors;
1626 }
1627 
1628 inline
1630 {
1631  return m_Scoreparams.NotEmpty();
1632 }
1633 
1634 inline
1636 {
1637  return IsSetScoreparams();
1638 }
1639 
1640 inline
1642 {
1643  if (!CanGetScoreparams()) {
1644  ThrowUnassigned(22);
1645  }
1646  return (*m_Scoreparams);
1647 }
1648 
1649 inline
1650 bool CCdd_Base::IsSetSeqtree(void) const
1651 {
1652  return m_Seqtree.NotEmpty();
1653 }
1654 
1655 inline
1657 {
1658  return IsSetSeqtree();
1659 }
1660 
1661 inline
1663 {
1664  if (!CanGetSeqtree()) {
1665  ThrowUnassigned(23);
1666  }
1667  return (*m_Seqtree);
1668 }
1669 
1670 ///////////////////////////////////////////////////////////
1671 ////////////////// end of inline methods //////////////////
1672 ///////////////////////////////////////////////////////////
1673 
1674 
1675 
1676 
1677 
1678 END_objects_SCOPE // namespace ncbi::objects::
1679 
1681 
1682 
1683 #endif // OBJECTS_CDD_CDD_BASE_HPP
CAlign_annot_set –.
CBiostruc_annot_set –.
the Cdd is the basic ASN.1 object storing an annotated and curated set of alignments (formulated as a...
Definition: Cdd_.hpp:106
CCdd_descr_set –.
CCdd_id_set –.
Definition: Cdd_id_set.hpp:66
CCdd_id –.
Definition: Cdd_id.hpp:66
CCn3d_style_dictionary –.
CCn3d_user_annotations –.
CDomain_parent –.
CMatrix –.
Definition: Matrix.hpp:66
CRef –.
Definition: ncbiobj.hpp:618
CReject_id –.
Definition: Reject_id.hpp:66
Definition: Seq_entry.hpp:56
CSequence_tree –.
Base class for all serializable objects.
Definition: serialbase.hpp:150
CTriangle –.
Definition: Triangle.hpp:66
CUpdate_align –.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
Definition: serialbase.hpp:175
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
Definition: ncbitype.h:103
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_CDD_EXPORT
Definition: ncbi_export.h:368
bool CanGetSequences(void) const
Check if it is safe to call GetSequences method.
Definition: Cdd_.hpp:1262
const TSequences & GetSequences(void) const
Get the Sequences member data.
Definition: Cdd_.hpp:1268
bool IsSetStyle_dictionary(void) const
record rendering styles Check if a value has been assigned to Style_dictionary data member.
Definition: Cdd_.hpp:1562
string TName
Definition: Cdd_.hpp:118
CAlign_annot_set TAlignannot
Definition: Cdd_.hpp:136
bool IsSetPending(void) const
contains alignments from update or "lower panel" Check if a value has been assigned to Pending data m...
Definition: Cdd_.hpp:1466
CSeq_interval TProfile_range
Definition: Cdd_.hpp:124
const TScoremat & GetScoremat(void) const
Get the Scoremat member data.
Definition: Cdd_.hpp:1352
bool IsSetSequences(void) const
store as bioseq-set inside seq-entry Check if a value has been assigned to Sequences data member.
Definition: Cdd_.hpp:1256
list< CRef< CSeq_annot > > m_Seqannot
Definition: Cdd_.hpp:1079
bool CanGetDistance(void) const
Check if it is safe to call GetDistance method.
Definition: Cdd_.hpp:1367
bool CanGetChildren(void) const
Check if it is safe to call GetChildren method.
Definition: Cdd_.hpp:1409
const TTrunc_master & GetTrunc_master(void) const
Get the Trunc_master member data.
Definition: Cdd_.hpp:1310
CCdd_id TParent
Definition: Cdd_.hpp:129
const TId & GetId(void) const
Get the Id member data.
Definition: Cdd_.hpp:1171
bool CanGetMaster3d(void) const
Check if it is safe to call GetMaster3d method.
Definition: Cdd_.hpp:1522
bool IsSetRejects(void) const
SeqIds of rejected CD- members, ignore in update Check if a value has been assigned to Rejects data m...
Definition: Cdd_.hpp:1491
CRef< TDescription > m_Description
Definition: Cdd_.hpp:1078
bool IsSetSeqannot(void) const
contains the CD alignment Check if a value has been assigned to Seqannot data member.
Definition: Cdd_.hpp:1210
bool IsSetUser_annotations(void) const
user annotations in Cn3D Check if a value has been assigned to User_annotations data member.
Definition: Cdd_.hpp:1583
list< CRef< CSeq_annot > > TSeqannot
Definition: Cdd_.hpp:121
Tparent::CMemberIndex< E_memberIndex, 25 > TmemberIndex
Definition: Cdd_.hpp:171
TId & SetId(void)
Assign a value to Id data member.
Definition: Cdd_.hpp:1180
CCdd_id_set TId
Definition: Cdd_.hpp:119
const TScoreparams & GetScoreparams(void) const
Get the Scoreparams member data.
Definition: Cdd_.hpp:1641
CRef< TTrunc_master > m_Trunc_master
Definition: Cdd_.hpp:1083
const TMaster3d & GetMaster3d(void) const
Get the Master3d member data.
Definition: Cdd_.hpp:1528
const TNeighbors & GetNeighbors(void) const
Get the Neighbors member data.
Definition: Cdd_.hpp:1457
list< CRef< CSeq_id > > TMaster3d
Definition: Cdd_.hpp:135
bool CanGetParent(void) const
Check if it is safe to call GetParent method.
Definition: Cdd_.hpp:1388
const TPosfreq & GetPosfreq(void) const
Get the Posfreq member data.
Definition: Cdd_.hpp:1331
bool CanGetId(void) const
Check if it is safe to call GetId method.
Definition: Cdd_.hpp:1165
bool IsSetDescription(void) const
status, references, etc.
Definition: Cdd_.hpp:1189
list< CRef< CUpdate_align > > m_Pending
Definition: Cdd_.hpp:1091
TMaster3d & SetMaster3d(void)
Assign a value to Master3d data member.
Definition: Cdd_.hpp:1534
bool IsSetAlignannot(void) const
alignment annotation Check if a value has been assigned to Alignannot data member.
Definition: Cdd_.hpp:1541
list< CRef< CUpdate_align > > TPending
Definition: Cdd_.hpp:133
bool CanGetNeighbors(void) const
Check if it is safe to call GetNeighbors method.
Definition: Cdd_.hpp:1451
const TUser_annotations & GetUser_annotations(void) const
Get the User_annotations member data.
Definition: Cdd_.hpp:1595
TAncestors & SetAncestors(void)
Assign a value to Ancestors data member.
Definition: Cdd_.hpp:1622
CRef< TId > m_Id
Definition: Cdd_.hpp:1077
CRef< TDistance > m_Distance
Definition: Cdd_.hpp:1086
CRef< TPosfreq > m_Posfreq
Definition: Cdd_.hpp:1084
CTriangle TDistance
Definition: Cdd_.hpp:128
const TRejects & GetRejects(void) const
Get the Rejects member data.
Definition: Cdd_.hpp:1503
CCdd_id_set TSiblings
Definition: Cdd_.hpp:131
bool CanGetSeqtree(void) const
Check if it is safe to call GetSeqtree method.
Definition: Cdd_.hpp:1656
const TAncestors & GetAncestors(void) const
Get the Ancestors member data.
Definition: Cdd_.hpp:1616
bool IsSetChildren(void) const
this CD has been split, not used Check if a value has been assigned to Children data member.
Definition: Cdd_.hpp:1403
bool IsSetPosfreq(void) const
relative residue frequencies Check if a value has been assigned to Posfreq data member.
Definition: Cdd_.hpp:1319
CRef< TParent > m_Parent
Definition: Cdd_.hpp:1087
TPending & SetPending(void)
Assign a value to Pending data member.
Definition: Cdd_.hpp:1484
bool CanGetName(void) const
Check if it is safe to call GetName method.
Definition: Cdd_.hpp:1118
list< CRef< CReject_id > > TRejects
Definition: Cdd_.hpp:134
bool CanGetFeatures(void) const
Check if it is safe to call GetFeatures method.
Definition: Cdd_.hpp:1241
bool IsSetName(void) const
a short name (can be the accession..) Check if a value has been assigned to Name data member.
Definition: Cdd_.hpp:1112
bool IsSetMaster3d(void) const
record if CD has a 3D representative Check if a value has been assigned to Master3d data member.
Definition: Cdd_.hpp:1516
const TPending & GetPending(void) const
Get the Pending member data.
Definition: Cdd_.hpp:1478
CCn3d_user_annotations TUser_annotations
Definition: Cdd_.hpp:138
CSeq_entry TSequences
Definition: Cdd_.hpp:123
bool IsSetDistance(void) const
pairwise distances for all seqs.
Definition: Cdd_.hpp:1361
bool CanGetSiblings(void) const
Check if it is safe to call GetSiblings method.
Definition: Cdd_.hpp:1430
bool IsSetTrunc_master(void) const
holds the truncated master, which may be something like a consensus, uses the same sequence coordinat...
Definition: Cdd_.hpp:1298
const TDistance & GetDistance(void) const
Get the Distance member data.
Definition: Cdd_.hpp:1373
CRef< TNeighbors > m_Neighbors
Definition: Cdd_.hpp:1090
string m_Name
Definition: Cdd_.hpp:1076
bool IsSetAncestors(void) const
list of parents Check if a value has been assigned to Ancestors data member.
Definition: Cdd_.hpp:1604
bool IsSetScoreparams(void) const
Check if a value has been assigned to Scoreparams data member.
Definition: Cdd_.hpp:1629
bool IsSetSeqtree(void) const
Check if a value has been assigned to Seqtree data member.
Definition: Cdd_.hpp:1650
bool CanGetPending(void) const
Check if it is safe to call GetPending method.
Definition: Cdd_.hpp:1472
bool IsSetScoremat(void) const
Position dependent score matrix Check if a value has been assigned to Scoremat data member.
Definition: Cdd_.hpp:1340
CSerialObject Tparent
Definition: Cdd_.hpp:107
CCdd_descr_set TDescription
Definition: Cdd_.hpp:120
CRef< TSiblings > m_Siblings
Definition: Cdd_.hpp:1089
CCdd_Base & operator=(const CCdd_Base &)
CSequence_tree TSeqtree
Definition: Cdd_.hpp:141
CRef< TUser_annotations > m_User_annotations
Definition: Cdd_.hpp:1096
void ResetId(void)
Reset Id data member.
Definition: Cdd_.cpp:75
CMatrix TPosfreq
Definition: Cdd_.hpp:126
CBioseq TTrunc_master
Definition: Cdd_.hpp:125
bool IsSetSiblings(void) const
related CDs (common hits), clusters Check if a value has been assigned to Siblings data member.
Definition: Cdd_.hpp:1424
const TAlignannot & GetAlignannot(void) const
Get the Alignannot member data.
Definition: Cdd_.hpp:1553
bool CanGetPosfreq(void) const
Check if it is safe to call GetPosfreq method.
Definition: Cdd_.hpp:1325
const TSeqannot & GetSeqannot(void) const
Get the Seqannot member data.
Definition: Cdd_.hpp:1222
CMatrix TScoremat
Definition: Cdd_.hpp:127
TRejects & SetRejects(void)
Assign a value to Rejects data member.
Definition: Cdd_.hpp:1509
bool CanGetAlignannot(void) const
Check if it is safe to call GetAlignannot method.
Definition: Cdd_.hpp:1547
bool CanGetRejects(void) const
Check if it is safe to call GetRejects method.
Definition: Cdd_.hpp:1497
CRef< TSeqtree > m_Seqtree
Definition: Cdd_.hpp:1099
TSeqannot & SetSeqannot(void)
Assign a value to Seqannot data member.
Definition: Cdd_.hpp:1228
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
Definition: Cdd_.hpp:1195
list< CRef< CDomain_parent > > TAncestors
Definition: Cdd_.hpp:139
CCdd_Base(const CCdd_Base &)
DECLARE_INTERNAL_TYPE_INFO()
CRef< TFeatures > m_Features
Definition: Cdd_.hpp:1080
CRef< TAlignannot > m_Alignannot
Definition: Cdd_.hpp:1094
bool IsSetId(void) const
this CD's Ids Check if a value has been assigned to Id data member.
Definition: Cdd_.hpp:1159
CCn3d_style_dictionary TStyle_dictionary
Definition: Cdd_.hpp:137
bool CanGetSeqannot(void) const
Check if it is safe to call GetSeqannot method.
Definition: Cdd_.hpp:1216
bool CanGetStyle_dictionary(void) const
Check if it is safe to call GetStyle_dictionary method.
Definition: Cdd_.hpp:1568
bool IsSetNeighbors(void) const
co-occurring CDs, not used Check if a value has been assigned to Neighbors data member.
Definition: Cdd_.hpp:1445
bool CanGetAncestors(void) const
Check if it is safe to call GetAncestors method.
Definition: Cdd_.hpp:1610
Uint4 m_set_State[2]
Definition: Cdd_.hpp:1075
CCdd_id_set TChildren
Definition: Cdd_.hpp:130
const TChildren & GetChildren(void) const
Get the Children member data.
Definition: Cdd_.hpp:1415
CCdd_id_set TNeighbors
Definition: Cdd_.hpp:132
E_memberIndex
Definition: Cdd_.hpp:144
list< CRef< CSeq_id > > m_Master3d
Definition: Cdd_.hpp:1093
const TSeqtree & GetSeqtree(void) const
Get the Seqtree member data.
Definition: Cdd_.hpp:1662
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 ...
Definition: Cdd_.hpp:1277
CRef< TSequences > m_Sequences
Definition: Cdd_.hpp:1081
const TDescription & GetDescription(void) const
Get the Description member data.
Definition: Cdd_.hpp:1201
bool CanGetScoreparams(void) const
Check if it is safe to call GetScoreparams method.
Definition: Cdd_.hpp:1635
const TParent & GetParent(void) const
Get the Parent member data.
Definition: Cdd_.hpp:1394
CBiostruc_annot_set TFeatures
Definition: Cdd_.hpp:122
CPssmWithParameters TScoreparams
Definition: Cdd_.hpp:140
CRef< TStyle_dictionary > m_Style_dictionary
Definition: Cdd_.hpp:1095
bool CanGetProfile_range(void) const
Check if it is safe to call GetProfile_range method.
Definition: Cdd_.hpp:1283
CRef< TChildren > m_Children
Definition: Cdd_.hpp:1088
const TName & GetName(void) const
Get the Name member data.
Definition: Cdd_.hpp:1124
bool CanGetUser_annotations(void) const
Check if it is safe to call GetUser_annotations method.
Definition: Cdd_.hpp:1589
bool IsSetParent(void) const
this CD is the result of a split Check if a value has been assigned to Parent data member.
Definition: Cdd_.hpp:1382
const TProfile_range & GetProfile_range(void) const
Get the Profile_range member data.
Definition: Cdd_.hpp:1289
CRef< TScoremat > m_Scoremat
Definition: Cdd_.hpp:1085
bool IsSetFeatures(void) const
contains structure alignment data or "core" definitions Check if a value has been assigned to Feature...
Definition: Cdd_.hpp:1235
const TSiblings & GetSiblings(void) const
Get the Siblings member data.
Definition: Cdd_.hpp:1436
bool CanGetTrunc_master(void) const
Check if it is safe to call GetTrunc_master method.
Definition: Cdd_.hpp:1304
list< CRef< CDomain_parent > > m_Ancestors
Definition: Cdd_.hpp:1097
CRef< TProfile_range > m_Profile_range
Definition: Cdd_.hpp:1082
TName & SetName(void)
Assign a value to Name data member.
Definition: Cdd_.hpp:1147
list< CRef< CReject_id > > m_Rejects
Definition: Cdd_.hpp:1092
CRef< TScoreparams > m_Scoreparams
Definition: Cdd_.hpp:1098
const TFeatures & GetFeatures(void) const
Get the Features member data.
Definition: Cdd_.hpp:1247
const TStyle_dictionary & GetStyle_dictionary(void) const
Get the Style_dictionary member data.
Definition: Cdd_.hpp:1574
bool CanGetScoremat(void) const
Check if it is safe to call GetScoremat method.
Definition: Cdd_.hpp:1346
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Wed Sep 04 15:07:00 2024 by modify_doxy.py rev. 669887