NCBI C++ ToolKit
Spectrum_query_.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 Spectrum_query_.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/algo/ms/formats/pepxml/pepXML.xsd">pepXML.xsd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/algo/ms/formats/pepxml/pepXML.def">pepXML.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 ALGO_MS_FORMATS_PEPXML_SPECTRUM_QUERY_BASE_HPP
42 #define ALGO_MS_FORMATS_PEPXML_SPECTRUM_QUERY_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 CSearch_result;
62 
63 
64 // generated classes
65 
66 
67 /** @addtogroup dataspec_pepXML
68  *
69  * @{
70  */
71 
72 /////////////////////////////////////////////////////////////////////////////
73 ///MS/MS spectrum, precursor ion charge and mass
74 ///
75 /// CSpectrum_query_Base --
76 ///
77 
79 {
81 public:
82  // constructor
84  // destructor
85  virtual ~CSpectrum_query_Base(void);
86 
87  // type info
89 
90  /////////////////////////////////////////////////////////////////////////////
91  ///
92  /// C_Attlist --
93  ///
94 
96  {
98  public:
99  // constructor
100  C_Attlist(void);
101  // destructor
102  ~C_Attlist(void);
103 
104  // type info
106 
107  // types
108  typedef string TSpectrum;
109  typedef int TStart_scan;
110  typedef int TEnd_scan;
111  typedef double TRetention_time_sec;
112  typedef double TPrecursor_neutral_mass;
113  typedef int TAssumed_charge;
114  typedef string TSearch_specification;
115  typedef int TIndex;
116 
117  // member index
118  enum class E_memberIndex {
119  e__allMandatory = 0,
120  e_spectrum,
121  e_start_scan,
122  e_end_scan,
123  e_retention_time_sec,
124  e_precursor_neutral_mass,
125  e_assumed_charge,
126  e_search_specification,
127  e_index
128  };
130 
131  // getters
132  // setters
133 
134  /// Check if a value has been assigned to Spectrum data member.
135  ///
136  /// Data member Spectrum is mandatory;
137  /// its type is defined as 'typedef string TSpectrum'
138  /// @return
139  /// - true, if a value has been assigned.
140  /// - false, otherwise.
141  bool IsSetSpectrum(void) const;
142 
143  /// Check if it is safe to call GetSpectrum method.
144  ///
145  /// @return
146  /// - true, if the data member is getatable.
147  /// - false, otherwise.
148  bool CanGetSpectrum(void) const;
149 
150  /// Reset Spectrum data member.
151  void ResetSpectrum(void);
152 
153  /// Get the Spectrum member data.
154  ///
155  /// @return
156  /// Reference to the member data.
157  const TSpectrum& GetSpectrum(void) const;
158 
159  /// Assign a value to Spectrum data member.
160  ///
161  /// @param value
162  /// Value to assign
163  void SetSpectrum(const TSpectrum& value);
164  void SetSpectrum(TSpectrum&& value);
165 
166  /// Assign a value to Spectrum data member.
167  ///
168  /// @return
169  /// Reference to the data value.
170  TSpectrum& SetSpectrum(void);
171 
172  /// Check if a value has been assigned to Start_scan data member.
173  ///
174  /// Data member Start_scan is mandatory;
175  /// its type is defined as 'typedef int TStart_scan'
176  /// @return
177  /// - true, if a value has been assigned.
178  /// - false, otherwise.
179  bool IsSetStart_scan(void) const;
180 
181  /// Check if it is safe to call GetStart_scan method.
182  ///
183  /// @return
184  /// - true, if the data member is getatable.
185  /// - false, otherwise.
186  bool CanGetStart_scan(void) const;
187 
188  /// Reset Start_scan data member.
189  void ResetStart_scan(void);
190 
191  /// Get the Start_scan member data.
192  ///
193  /// @return
194  /// Copy of the member data.
195  TStart_scan GetStart_scan(void) const;
196 
197  /// Assign a value to Start_scan data member.
198  ///
199  /// @param value
200  /// Value to assign
201  void SetStart_scan(TStart_scan value);
202 
203  /// Assign a value to Start_scan data member.
204  ///
205  /// @return
206  /// Reference to the data value.
207  TStart_scan& SetStart_scan(void);
208 
209  /// Check if a value has been assigned to End_scan data member.
210  ///
211  /// Data member End_scan is mandatory;
212  /// its type is defined as 'typedef int TEnd_scan'
213  /// @return
214  /// - true, if a value has been assigned.
215  /// - false, otherwise.
216  bool IsSetEnd_scan(void) const;
217 
218  /// Check if it is safe to call GetEnd_scan method.
219  ///
220  /// @return
221  /// - true, if the data member is getatable.
222  /// - false, otherwise.
223  bool CanGetEnd_scan(void) const;
224 
225  /// Reset End_scan data member.
226  void ResetEnd_scan(void);
227 
228  /// Get the End_scan member data.
229  ///
230  /// @return
231  /// Copy of the member data.
232  TEnd_scan GetEnd_scan(void) const;
233 
234  /// Assign a value to End_scan data member.
235  ///
236  /// @param value
237  /// Value to assign
238  void SetEnd_scan(TEnd_scan value);
239 
240  /// Assign a value to End_scan data member.
241  ///
242  /// @return
243  /// Reference to the data value.
244  TEnd_scan& SetEnd_scan(void);
245 
246  /// Check if a value has been assigned to Retention_time_sec data member.
247  ///
248  /// Data member Retention_time_sec is optional;
249  /// its type is defined as 'typedef double TRetention_time_sec'
250  /// @return
251  /// - true, if a value has been assigned.
252  /// - false, otherwise.
253  bool IsSetRetention_time_sec(void) const;
254 
255  /// Check if it is safe to call GetRetention_time_sec method.
256  ///
257  /// @return
258  /// - true, if the data member is getatable.
259  /// - false, otherwise.
260  bool CanGetRetention_time_sec(void) const;
261 
262  /// Reset Retention_time_sec data member.
263  void ResetRetention_time_sec(void);
264 
265  /// Get the Retention_time_sec member data.
266  ///
267  /// @return
268  /// Copy of the member data.
269  TRetention_time_sec GetRetention_time_sec(void) const;
270 
271  /// Assign a value to Retention_time_sec data member.
272  ///
273  /// @param value
274  /// Value to assign
275  void SetRetention_time_sec(TRetention_time_sec value);
276 
277  /// Assign a value to Retention_time_sec data member.
278  ///
279  /// @return
280  /// Reference to the data value.
281  TRetention_time_sec& SetRetention_time_sec(void);
282 
283  /// Check if a value has been assigned to Precursor_neutral_mass data member.
284  ///
285  /// Data member Precursor_neutral_mass is mandatory;
286  /// its type is defined as 'typedef double TPrecursor_neutral_mass'
287  /// @return
288  /// - true, if a value has been assigned.
289  /// - false, otherwise.
290  bool IsSetPrecursor_neutral_mass(void) const;
291 
292  /// Check if it is safe to call GetPrecursor_neutral_mass method.
293  ///
294  /// @return
295  /// - true, if the data member is getatable.
296  /// - false, otherwise.
297  bool CanGetPrecursor_neutral_mass(void) const;
298 
299  /// Reset Precursor_neutral_mass data member.
300  void ResetPrecursor_neutral_mass(void);
301 
302  /// Get the Precursor_neutral_mass member data.
303  ///
304  /// @return
305  /// Copy of the member data.
306  TPrecursor_neutral_mass GetPrecursor_neutral_mass(void) const;
307 
308  /// Assign a value to Precursor_neutral_mass data member.
309  ///
310  /// @param value
311  /// Value to assign
312  void SetPrecursor_neutral_mass(TPrecursor_neutral_mass value);
313 
314  /// Assign a value to Precursor_neutral_mass data member.
315  ///
316  /// @return
317  /// Reference to the data value.
318  TPrecursor_neutral_mass& SetPrecursor_neutral_mass(void);
319 
320  /// Check if a value has been assigned to Assumed_charge data member.
321  ///
322  /// Data member Assumed_charge is mandatory;
323  /// its type is defined as 'typedef int TAssumed_charge'
324  /// @return
325  /// - true, if a value has been assigned.
326  /// - false, otherwise.
327  bool IsSetAssumed_charge(void) const;
328 
329  /// Check if it is safe to call GetAssumed_charge method.
330  ///
331  /// @return
332  /// - true, if the data member is getatable.
333  /// - false, otherwise.
334  bool CanGetAssumed_charge(void) const;
335 
336  /// Reset Assumed_charge data member.
337  void ResetAssumed_charge(void);
338 
339  /// Get the Assumed_charge member data.
340  ///
341  /// @return
342  /// Copy of the member data.
343  TAssumed_charge GetAssumed_charge(void) const;
344 
345  /// Assign a value to Assumed_charge data member.
346  ///
347  /// @param value
348  /// Value to assign
349  void SetAssumed_charge(TAssumed_charge value);
350 
351  /// Assign a value to Assumed_charge data member.
352  ///
353  /// @return
354  /// Reference to the data value.
355  TAssumed_charge& SetAssumed_charge(void);
356 
357  /// Check if a value has been assigned to Search_specification data member.
358  ///
359  /// Data member Search_specification is optional;
360  /// its type is defined as 'typedef string TSearch_specification'
361  /// @return
362  /// - true, if a value has been assigned.
363  /// - false, otherwise.
364  bool IsSetSearch_specification(void) const;
365 
366  /// Check if it is safe to call GetSearch_specification method.
367  ///
368  /// @return
369  /// - true, if the data member is getatable.
370  /// - false, otherwise.
371  bool CanGetSearch_specification(void) const;
372 
373  /// Reset Search_specification data member.
374  void ResetSearch_specification(void);
375 
376  /// Get the Search_specification member data.
377  ///
378  /// @return
379  /// Reference to the member data.
380  const TSearch_specification& GetSearch_specification(void) const;
381 
382  /// Assign a value to Search_specification data member.
383  ///
384  /// @param value
385  /// Value to assign
386  void SetSearch_specification(const TSearch_specification& value);
387  void SetSearch_specification(TSearch_specification&& value);
388 
389  /// Assign a value to Search_specification data member.
390  ///
391  /// @return
392  /// Reference to the data value.
393  TSearch_specification& SetSearch_specification(void);
394 
395  /// Check if a value has been assigned to Index data member.
396  ///
397  /// Data member Index is mandatory;
398  /// its type is defined as 'typedef int TIndex'
399  /// @return
400  /// - true, if a value has been assigned.
401  /// - false, otherwise.
402  bool IsSetIndex(void) const;
403 
404  /// Check if it is safe to call GetIndex method.
405  ///
406  /// @return
407  /// - true, if the data member is getatable.
408  /// - false, otherwise.
409  bool CanGetIndex(void) const;
410 
411  /// Reset Index data member.
412  void ResetIndex(void);
413 
414  /// Get the Index member data.
415  ///
416  /// @return
417  /// Copy of the member data.
418  TIndex GetIndex(void) const;
419 
420  /// Assign a value to Index data member.
421  ///
422  /// @param value
423  /// Value to assign
424  void SetIndex(TIndex value);
425 
426  /// Assign a value to Index data member.
427  ///
428  /// @return
429  /// Reference to the data value.
430  TIndex& SetIndex(void);
431 
432  /// Reset the whole object
433  void Reset(void);
434 
435 
436  private:
437  // Prohibit copy constructor and assignment operator
440 
441  // data
442  Uint4 m_set_State[1];
443  string m_Spectrum;
450  int m_Index;
451  };
452  // types
454  typedef list< CRef< CSearch_result > > TSearch_result;
455 
456  // member index
457  enum class E_memberIndex {
458  e__allMandatory = 0,
459  e_Attlist,
460  e_search_result
461  };
463 
464  // getters
465  // setters
466 
467  /// Check if a value has been assigned to Attlist data member.
468  ///
469  /// Data member Attlist is mandatory;
470  /// its type is defined as 'typedef C_Attlist TAttlist'
471  /// @return
472  /// - true, if a value has been assigned.
473  /// - false, otherwise.
474  bool IsSetAttlist(void) const;
475 
476  /// Check if it is safe to call GetAttlist method.
477  ///
478  /// @return
479  /// - true, if the data member is getatable.
480  /// - false, otherwise.
481  bool CanGetAttlist(void) const;
482 
483  /// Reset Attlist data member.
484  void ResetAttlist(void);
485 
486  /// Get the Attlist member data.
487  ///
488  /// @return
489  /// Reference to the member data.
490  const TAttlist& GetAttlist(void) const;
491 
492  /// Assign a value to Attlist data member.
493  ///
494  /// @param value
495  /// Reference to value.
496  void SetAttlist(TAttlist& value);
497 
498  /// Assign a value to Attlist data member.
499  ///
500  /// @return
501  /// Reference to the data value.
502  TAttlist& SetAttlist(void);
503 
504  /// Check if a value has been assigned to Search_result data member.
505  ///
506  /// Data member Search_result is optional;
507  /// its type is defined as 'typedef list< CRef< CSearch_result > > TSearch_result'
508  /// @return
509  /// - true, if a value has been assigned.
510  /// - false, otherwise.
511  bool IsSetSearch_result(void) const;
512 
513  /// Check if it is safe to call GetSearch_result method.
514  ///
515  /// @return
516  /// - true, if the data member is getatable.
517  /// - false, otherwise.
518  bool CanGetSearch_result(void) const;
519 
520  /// Reset Search_result data member.
521  void ResetSearch_result(void);
522 
523  /// Get the Search_result member data.
524  ///
525  /// @return
526  /// Reference to the member data.
527  const TSearch_result& GetSearch_result(void) const;
528 
529  /// Assign a value to Search_result data member.
530  ///
531  /// @return
532  /// Reference to the data value.
533  TSearch_result& SetSearch_result(void);
534 
535  /// Reset the whole object
536  virtual void Reset(void);
537 
538 
539 private:
540  // Prohibit copy constructor and assignment operator
543 
544  // data
545  Uint4 m_set_State[1];
547  list< CRef< CSearch_result > > m_Search_result;
548 };
549 
550 /* @} */
551 
552 
553 
554 
555 
556 ///////////////////////////////////////////////////////////
557 ///////////////////// inline methods //////////////////////
558 ///////////////////////////////////////////////////////////
559 inline
561 {
562  return ((m_set_State[0] & 0x3) != 0);
563 }
564 
565 inline
567 {
568  return IsSetSpectrum();
569 }
570 
571 inline
573 {
574  if (!CanGetSpectrum()) {
575  ThrowUnassigned(0);
576  }
577  return m_Spectrum;
578 }
579 
580 inline
582 {
583  m_Spectrum = value;
584  m_set_State[0] |= 0x3;
585 }
586 
587 inline
589 {
590  m_Spectrum = std::forward<CSpectrum_query_Base::C_Attlist::TSpectrum>(value);
591  m_set_State[0] |= 0x3;
592 }
593 
594 inline
596 {
597 #ifdef _DEBUG
598  if (!IsSetSpectrum()) {
599  m_Spectrum = UnassignedString();
600  }
601 #endif
602  m_set_State[0] |= 0x1;
603  return m_Spectrum;
604 }
605 
606 inline
608 {
609  return ((m_set_State[0] & 0xc) != 0);
610 }
611 
612 inline
614 {
615  return IsSetStart_scan();
616 }
617 
618 inline
620 {
621  m_Start_scan = 0;
622  m_set_State[0] &= ~0xc;
623 }
624 
625 inline
627 {
628  if (!CanGetStart_scan()) {
629  ThrowUnassigned(1);
630  }
631  return m_Start_scan;
632 }
633 
634 inline
636 {
637  m_Start_scan = value;
638  m_set_State[0] |= 0xc;
639 }
640 
641 inline
643 {
644 #ifdef _DEBUG
645  if (!IsSetStart_scan()) {
646  memset(&m_Start_scan,UnassignedByte(),sizeof(m_Start_scan));
647  }
648 #endif
649  m_set_State[0] |= 0x4;
650  return m_Start_scan;
651 }
652 
653 inline
655 {
656  return ((m_set_State[0] & 0x30) != 0);
657 }
658 
659 inline
661 {
662  return IsSetEnd_scan();
663 }
664 
665 inline
667 {
668  m_End_scan = 0;
669  m_set_State[0] &= ~0x30;
670 }
671 
672 inline
674 {
675  if (!CanGetEnd_scan()) {
676  ThrowUnassigned(2);
677  }
678  return m_End_scan;
679 }
680 
681 inline
683 {
684  m_End_scan = value;
685  m_set_State[0] |= 0x30;
686 }
687 
688 inline
690 {
691 #ifdef _DEBUG
692  if (!IsSetEnd_scan()) {
693  memset(&m_End_scan,UnassignedByte(),sizeof(m_End_scan));
694  }
695 #endif
696  m_set_State[0] |= 0x10;
697  return m_End_scan;
698 }
699 
700 inline
702 {
703  return ((m_set_State[0] & 0xc0) != 0);
704 }
705 
706 inline
708 {
709  return IsSetRetention_time_sec();
710 }
711 
712 inline
714 {
715  m_Retention_time_sec = 0;
716  m_set_State[0] &= ~0xc0;
717 }
718 
719 inline
721 {
722  if (!CanGetRetention_time_sec()) {
723  ThrowUnassigned(3);
724  }
725  return m_Retention_time_sec;
726 }
727 
728 inline
730 {
731  m_Retention_time_sec = value;
732  m_set_State[0] |= 0xc0;
733 }
734 
735 inline
737 {
738 #ifdef _DEBUG
739  if (!IsSetRetention_time_sec()) {
740  memset(&m_Retention_time_sec,UnassignedByte(),sizeof(m_Retention_time_sec));
741  }
742 #endif
743  m_set_State[0] |= 0x40;
744  return m_Retention_time_sec;
745 }
746 
747 inline
749 {
750  return ((m_set_State[0] & 0x300) != 0);
751 }
752 
753 inline
755 {
756  return IsSetPrecursor_neutral_mass();
757 }
758 
759 inline
761 {
762  m_Precursor_neutral_mass = 0;
763  m_set_State[0] &= ~0x300;
764 }
765 
766 inline
768 {
769  if (!CanGetPrecursor_neutral_mass()) {
770  ThrowUnassigned(4);
771  }
772  return m_Precursor_neutral_mass;
773 }
774 
775 inline
777 {
778  m_Precursor_neutral_mass = value;
779  m_set_State[0] |= 0x300;
780 }
781 
782 inline
784 {
785 #ifdef _DEBUG
786  if (!IsSetPrecursor_neutral_mass()) {
787  memset(&m_Precursor_neutral_mass,UnassignedByte(),sizeof(m_Precursor_neutral_mass));
788  }
789 #endif
790  m_set_State[0] |= 0x100;
791  return m_Precursor_neutral_mass;
792 }
793 
794 inline
796 {
797  return ((m_set_State[0] & 0xc00) != 0);
798 }
799 
800 inline
802 {
803  return IsSetAssumed_charge();
804 }
805 
806 inline
808 {
809  m_Assumed_charge = 0;
810  m_set_State[0] &= ~0xc00;
811 }
812 
813 inline
815 {
816  if (!CanGetAssumed_charge()) {
817  ThrowUnassigned(5);
818  }
819  return m_Assumed_charge;
820 }
821 
822 inline
824 {
825  m_Assumed_charge = value;
826  m_set_State[0] |= 0xc00;
827 }
828 
829 inline
831 {
832 #ifdef _DEBUG
833  if (!IsSetAssumed_charge()) {
834  memset(&m_Assumed_charge,UnassignedByte(),sizeof(m_Assumed_charge));
835  }
836 #endif
837  m_set_State[0] |= 0x400;
838  return m_Assumed_charge;
839 }
840 
841 inline
843 {
844  return ((m_set_State[0] & 0x3000) != 0);
845 }
846 
847 inline
849 {
850  return IsSetSearch_specification();
851 }
852 
853 inline
855 {
856  if (!CanGetSearch_specification()) {
857  ThrowUnassigned(6);
858  }
859  return m_Search_specification;
860 }
861 
862 inline
864 {
865  m_Search_specification = value;
866  m_set_State[0] |= 0x3000;
867 }
868 
869 inline
871 {
872  m_Search_specification = std::forward<CSpectrum_query_Base::C_Attlist::TSearch_specification>(value);
873  m_set_State[0] |= 0x3000;
874 }
875 
876 inline
878 {
879 #ifdef _DEBUG
880  if (!IsSetSearch_specification()) {
881  m_Search_specification = UnassignedString();
882  }
883 #endif
884  m_set_State[0] |= 0x1000;
885  return m_Search_specification;
886 }
887 
888 inline
890 {
891  return ((m_set_State[0] & 0xc000) != 0);
892 }
893 
894 inline
896 {
897  return IsSetIndex();
898 }
899 
900 inline
902 {
903  m_Index = 0;
904  m_set_State[0] &= ~0xc000;
905 }
906 
907 inline
909 {
910  if (!CanGetIndex()) {
911  ThrowUnassigned(7);
912  }
913  return m_Index;
914 }
915 
916 inline
918 {
919  m_Index = value;
920  m_set_State[0] |= 0xc000;
921 }
922 
923 inline
925 {
926 #ifdef _DEBUG
927  if (!IsSetIndex()) {
928  memset(&m_Index,UnassignedByte(),sizeof(m_Index));
929  }
930 #endif
931  m_set_State[0] |= 0x4000;
932  return m_Index;
933 }
934 
935 inline
937 {
938  return m_Attlist.NotEmpty();
939 }
940 
941 inline
943 {
944  return true;
945 }
946 
947 inline
949 {
950  if ( !m_Attlist ) {
951  const_cast<CSpectrum_query_Base*>(this)->ResetAttlist();
952  }
953  return (*m_Attlist);
954 }
955 
956 inline
958 {
959  if ( !m_Attlist ) {
960  ResetAttlist();
961  }
962  return (*m_Attlist);
963 }
964 
965 inline
967 {
968  return ((m_set_State[0] & 0xc) != 0);
969 }
970 
971 inline
973 {
974  return true;
975 }
976 
977 inline
979 {
980  return m_Search_result;
981 }
982 
983 inline
985 {
986  m_set_State[0] |= 0x4;
987  return m_Search_result;
988 }
989 
990 ///////////////////////////////////////////////////////////
991 ////////////////// end of inline methods //////////////////
992 ///////////////////////////////////////////////////////////
993 
994 
995 
996 
997 
998 END_objects_SCOPE // namespace ncbi::objects::
999 
1001 
1002 
1003 #endif // ALGO_MS_FORMATS_PEPXML_SPECTRUM_QUERY_BASE_HPP
CRef –.
Definition: ncbiobj.hpp:618
CSearch_result –.
Base class for all serializable objects.
Definition: serialbase.hpp:150
MS/MS spectrum, precursor ion charge and mass.
char value[7]
Definition: config.c:431
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
Definition: serialbase.hpp:175
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_PEPXML_EXPORT
Definition: ncbi_export.h:696
TEnd_scan & SetEnd_scan(void)
Assign a value to End_scan data member.
bool IsSetSearch_specification(void) const
Check if a value has been assigned to Search_specification data member.
bool CanGetAssumed_charge(void) const
Check if it is safe to call GetAssumed_charge method.
void ResetEnd_scan(void)
Reset End_scan data member.
bool CanGetPrecursor_neutral_mass(void) const
Check if it is safe to call GetPrecursor_neutral_mass method.
bool IsSetAssumed_charge(void) const
Check if a value has been assigned to Assumed_charge data member.
const TSpectrum & GetSpectrum(void) const
Get the Spectrum member data.
bool IsSetIndex(void) const
Check if a value has been assigned to Index data member.
TStart_scan GetStart_scan(void) const
Get the Start_scan member data.
C_Attlist(const C_Attlist &)
bool CanGetSpectrum(void) const
Check if it is safe to call GetSpectrum method.
TIndex GetIndex(void) const
Get the Index member data.
TPrecursor_neutral_mass & SetPrecursor_neutral_mass(void)
Assign a value to Precursor_neutral_mass data member.
bool CanGetSearch_specification(void) const
Check if it is safe to call GetSearch_specification method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsSetSearch_result(void) const
Check if a value has been assigned to Search_result data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
TRetention_time_sec & SetRetention_time_sec(void)
Assign a value to Retention_time_sec data member.
C_Attlist & operator=(const C_Attlist &)
void ResetPrecursor_neutral_mass(void)
Reset Precursor_neutral_mass data member.
bool CanGetIndex(void) const
Check if it is safe to call GetIndex method.
void ResetAssumed_charge(void)
Reset Assumed_charge data member.
bool CanGetEnd_scan(void) const
Check if it is safe to call GetEnd_scan method.
TIndex & SetIndex(void)
Assign a value to Index data member.
TSpectrum & SetSpectrum(void)
Assign a value to Spectrum data member.
bool CanGetSearch_result(void) const
Check if it is safe to call GetSearch_result method.
Tparent::CMemberIndex< E_memberIndex, 9 > TmemberIndex
TSearch_specification & SetSearch_specification(void)
Assign a value to Search_specification data member.
CRef< TAttlist > m_Attlist
const TSearch_result & GetSearch_result(void) const
Get the Search_result member data.
TAssumed_charge & SetAssumed_charge(void)
Assign a value to Assumed_charge data member.
CSpectrum_query_Base(const CSpectrum_query_Base &)
TPrecursor_neutral_mass GetPrecursor_neutral_mass(void) const
Get the Precursor_neutral_mass member data.
TAssumed_charge GetAssumed_charge(void) const
Get the Assumed_charge member data.
bool IsSetStart_scan(void) const
Check if a value has been assigned to Start_scan data member.
bool CanGetStart_scan(void) const
Check if it is safe to call GetStart_scan method.
bool IsSetSpectrum(void) const
Check if a value has been assigned to Spectrum data member.
bool IsSetRetention_time_sec(void) const
Check if a value has been assigned to Retention_time_sec data member.
void ResetRetention_time_sec(void)
Reset Retention_time_sec data member.
list< CRef< CSearch_result > > m_Search_result
bool IsSetPrecursor_neutral_mass(void) const
Check if a value has been assigned to Precursor_neutral_mass data member.
TRetention_time_sec GetRetention_time_sec(void) const
Get the Retention_time_sec member data.
bool IsSetEnd_scan(void) const
Check if a value has been assigned to End_scan data member.
void ResetIndex(void)
Reset Index data member.
list< CRef< CSearch_result > > TSearch_result
void ResetStart_scan(void)
Reset Start_scan data member.
const TSearch_specification & GetSearch_specification(void) const
Get the Search_specification member data.
TStart_scan & SetStart_scan(void)
Assign a value to Start_scan data member.
CSpectrum_query_Base & operator=(const CSpectrum_query_Base &)
bool CanGetRetention_time_sec(void) const
Check if it is safe to call GetRetention_time_sec method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TSearch_result & SetSearch_result(void)
Assign a value to Search_result data member.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
TEnd_scan GetEnd_scan(void) const
Get the End_scan member data.
void ResetAttlist(void)
Reset Attlist data member.
Modified on Fri Dec 01 04:45:53 2023 by modify_doxy.py rev. 669887