NCBI C++ ToolKit
PreBuildEventItem_.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 PreBuildEventItem_.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/build-system/project_tree_builder/msbuild/msbuild_dataobj.xsd">msbuild_dataobj.xsd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/build-system/project_tree_builder/msbuild/msbuild_dataobj.def">msbuild_dataobj.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 msbuild__BUILD_SYSTEM_PROJECT_TREE_BUILDER_MSBUILD_PREBUILDEVENTITEM_BASE_HPP
42 #define msbuild__BUILD_SYSTEM_PROJECT_TREE_BUILDER_MSBUILD_PREBUILDEVENTITEM_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #include <string>
50 
51 #ifndef BEGIN_msbuild_SCOPE
52 # define BEGIN_msbuild_SCOPE BEGIN_SCOPE(msbuild)
53 # define END_msbuild_SCOPE END_SCOPE(msbuild)
54 #endif
55 BEGIN_msbuild_SCOPE // namespace msbuild::
56 
57 
58 // generated classes
59 
60 
61 /** @addtogroup dataspec_msbuild_dataobj
62  *
63  * @{
64  */
65 
66 /////////////////////////////////////////////////////////////////////////////
67 ///
68 /// CPreBuildEventItem_Base --
69 ///
70 
71 class CPreBuildEventItem_Base : public NCBI_NS_NCBI::CSerialObject
72 {
73  typedef NCBI_NS_NCBI::CSerialObject Tparent;
74 public:
75  // constructor
77  // destructor
78  virtual ~CPreBuildEventItem_Base(void);
79 
80  // type info
82 
83  /////////////////////////////////////////////////////////////////////////////
84  ///
85  /// C_Attlist --
86  ///
87 
88  class C_Attlist : public NCBI_NS_NCBI::CSerialObject
89  {
90  typedef NCBI_NS_NCBI::CSerialObject Tparent;
91  public:
92  // constructor
93  C_Attlist(void);
94  // destructor
95  ~C_Attlist(void);
96 
97  // type info
99 
100  // types
106 
107  // member index
108  enum class E_memberIndex {
109  e__allMandatory = 0,
110  e_Condition,
111  e_Include,
112  e_Exclude,
113  e_Remove,
114  e_Label
115  };
116  typedef Tparent::CMemberIndex<E_memberIndex, 6> TmemberIndex;
117 
118  // getters
119  // setters
120 
121  ///Optional expression evaluated to determine whether the items should be evaluated
122  /// Check if a value has been assigned to Condition data member.
123  ///
124  /// Data member Condition is optional;
125  /// its type is defined as 'typedef NCBI_NS_STD::string TCondition'
126  /// @return
127  /// - true, if a value has been assigned.
128  /// - false, otherwise.
129  bool IsSetCondition(void) const;
130 
131  /// Check if it is safe to call GetCondition method.
132  ///
133  /// @return
134  /// - true, if the data member is getatable.
135  /// - false, otherwise.
136  bool CanGetCondition(void) const;
137 
138  /// Reset Condition data member.
139  void ResetCondition(void);
140 
141  /// Get the Condition member data.
142  ///
143  /// @return
144  /// Reference to the member data.
145  const TCondition& GetCondition(void) const;
146 
147  /// Assign a value to Condition data member.
148  ///
149  /// @param value
150  /// Value to assign
151  void SetCondition(const TCondition& value);
152  void SetCondition(TCondition&& value);
153 
154  /// Assign a value to Condition data member.
155  ///
156  /// @return
157  /// Reference to the data value.
158  TCondition& SetCondition(void);
159 
160  ///Semi-colon separated list of files (wildcards are allowed) or other item names to include in this item list
161  /// Check if a value has been assigned to Include data member.
162  ///
163  /// Data member Include is optional;
164  /// its type is defined as 'typedef NCBI_NS_STD::string TInclude'
165  /// @return
166  /// - true, if a value has been assigned.
167  /// - false, otherwise.
168  bool IsSetInclude(void) const;
169 
170  /// Check if it is safe to call GetInclude method.
171  ///
172  /// @return
173  /// - true, if the data member is getatable.
174  /// - false, otherwise.
175  bool CanGetInclude(void) const;
176 
177  /// Reset Include data member.
178  void ResetInclude(void);
179 
180  /// Get the Include member data.
181  ///
182  /// @return
183  /// Reference to the member data.
184  const TInclude& GetInclude(void) const;
185 
186  /// Assign a value to Include data member.
187  ///
188  /// @param value
189  /// Value to assign
190  void SetInclude(const TInclude& value);
191  void SetInclude(TInclude&& value);
192 
193  /// Assign a value to Include data member.
194  ///
195  /// @return
196  /// Reference to the data value.
197  TInclude& SetInclude(void);
198 
199  ///Semi-colon separated list of files (wildcards are allowed) or other item names to exclude from the Include list
200  /// Check if a value has been assigned to Exclude data member.
201  ///
202  /// Data member Exclude is optional;
203  /// its type is defined as 'typedef NCBI_NS_STD::string TExclude'
204  /// @return
205  /// - true, if a value has been assigned.
206  /// - false, otherwise.
207  bool IsSetExclude(void) const;
208 
209  /// Check if it is safe to call GetExclude method.
210  ///
211  /// @return
212  /// - true, if the data member is getatable.
213  /// - false, otherwise.
214  bool CanGetExclude(void) const;
215 
216  /// Reset Exclude data member.
217  void ResetExclude(void);
218 
219  /// Get the Exclude member data.
220  ///
221  /// @return
222  /// Reference to the member data.
223  const TExclude& GetExclude(void) const;
224 
225  /// Assign a value to Exclude data member.
226  ///
227  /// @param value
228  /// Value to assign
229  void SetExclude(const TExclude& value);
230  void SetExclude(TExclude&& value);
231 
232  /// Assign a value to Exclude data member.
233  ///
234  /// @return
235  /// Reference to the data value.
236  TExclude& SetExclude(void);
237 
238  ///Semi-colon separated list of files (wildcards are allowed) or other item names to remove from the existing list contents
239  /// Check if a value has been assigned to Remove data member.
240  ///
241  /// Data member Remove is optional;
242  /// its type is defined as 'typedef NCBI_NS_STD::string TRemove'
243  /// @return
244  /// - true, if a value has been assigned.
245  /// - false, otherwise.
246  bool IsSetRemove(void) const;
247 
248  /// Check if it is safe to call GetRemove method.
249  ///
250  /// @return
251  /// - true, if the data member is getatable.
252  /// - false, otherwise.
253  bool CanGetRemove(void) const;
254 
255  /// Reset Remove data member.
256  void ResetRemove(void);
257 
258  /// Get the Remove member data.
259  ///
260  /// @return
261  /// Reference to the member data.
262  const TRemove& GetRemove(void) const;
263 
264  /// Assign a value to Remove data member.
265  ///
266  /// @param value
267  /// Value to assign
268  void SetRemove(const TRemove& value);
269  void SetRemove(TRemove&& value);
270 
271  /// Assign a value to Remove data member.
272  ///
273  /// @return
274  /// Reference to the data value.
275  TRemove& SetRemove(void);
276 
277  /// Optional expression. Used to identify or order system and user elements
278  /// Check if a value has been assigned to Label data member.
279  ///
280  /// Data member Label is optional;
281  /// its type is defined as 'typedef NCBI_NS_STD::string TLabel'
282  /// @return
283  /// - true, if a value has been assigned.
284  /// - false, otherwise.
285  bool IsSetLabel(void) const;
286 
287  /// Check if it is safe to call GetLabel method.
288  ///
289  /// @return
290  /// - true, if the data member is getatable.
291  /// - false, otherwise.
292  bool CanGetLabel(void) const;
293 
294  /// Reset Label data member.
295  void ResetLabel(void);
296 
297  /// Get the Label member data.
298  ///
299  /// @return
300  /// Reference to the member data.
301  const TLabel& GetLabel(void) const;
302 
303  /// Assign a value to Label data member.
304  ///
305  /// @param value
306  /// Value to assign
307  void SetLabel(const TLabel& value);
308  void SetLabel(TLabel&& value);
309 
310  /// Assign a value to Label data member.
311  ///
312  /// @return
313  /// Reference to the data value.
314  TLabel& SetLabel(void);
315 
316  /// Reset the whole object
317  void Reset(void);
318 
319 
320  private:
321  // Prohibit copy constructor and assignment operator
324 
325  // data
332  };
333  /////////////////////////////////////////////////////////////////////////////
334  ///
335  /// C_E_PreBuildEventItem --
336  ///
337 
338  class C_E_PreBuildEventItem : public NCBI_NS_NCBI::CSerialObject
339  {
340  typedef NCBI_NS_NCBI::CSerialObject Tparent;
341  public:
342  // constructor
343  C_E_PreBuildEventItem(void);
344  // destructor
346 
347  // type info
349 
350 
351  /// Choice variants.
352  enum E_Choice {
353  e_not_set = 0, ///< No variant selected
355  e_Command
356  };
357  /// Maximum+1 value of the choice variant enumerator.
359  e_MaxChoice = 3 ///< == e_Command+1
360  };
361 
362  /// Reset the whole object
363  void Reset(void);
364 
365  /// Reset the selection (set it to e_not_set).
366  void ResetSelection(void);
367 
368  /// Which variant is currently selected.
369  ///
370  /// @return
371  /// Choice state enumerator.
372  E_Choice Which(void) const;
373 
374  /// Verify selection, throw exception if it differs from the expected.
375  ///
376  /// @param index
377  /// Expected selection.
378  void CheckSelected(E_Choice index) const;
379 
380  /// Throw 'InvalidSelection' exception.
381  ///
382  /// @param index
383  /// Expected selection.
384  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
385 
386  /// Retrieve selection name (for diagnostic purposes).
387  ///
388  /// @param index
389  /// One of possible selection states.
390  /// @return
391  /// Name string.
393 
394  /// Select the requested variant if needed.
395  ///
396  /// @param index
397  /// New selection state.
398  /// @param reset
399  /// Flag that defines the resetting of the variant data. The data will
400  /// be reset if either the current selection differs from the new one,
401  /// or the flag is set to eDoResetVariant.
403  /// Select the requested variant if needed,
404  /// allocating CObject variants from memory pool.
405  void Select(E_Choice index,
407  NCBI_NS_NCBI::CObjectMemoryPool* pool);
408 
409  // types
412 
413  // getters
414  // setters
415 
416 
417  /// Check if variant Message is selected.
418  ///
419  /// Message type is defined as 'typedef NCBI_NS_STD::string TMessage'.
420  /// @return
421  /// - true, if the variant is selected.
422  /// - false, otherwise.
423  bool IsMessage(void) const;
424 
425  /// Get the variant data.
426  ///
427  /// @return
428  /// Reference to the data.
429  const TMessage& GetMessage(void) const;
430 
431  /// Select the variant.
432  ///
433  /// @return
434  /// Reference to the variant data.
435  TMessage& SetMessage(void);
436 
437  /// Select the variant and set its data.
438  ///
439  /// @param value
440  /// Variant data.
441  void SetMessage(const TMessage& value);
442 
443 
444  /// Check if variant Command is selected.
445  ///
446  /// Command type is defined as 'typedef NCBI_NS_STD::string TCommand'.
447  /// @return
448  /// - true, if the variant is selected.
449  /// - false, otherwise.
450  bool IsCommand(void) const;
451 
452  /// Get the variant data.
453  ///
454  /// @return
455  /// Reference to the data.
456  const TCommand& GetCommand(void) const;
457 
458  /// Select the variant.
459  ///
460  /// @return
461  /// Reference to the variant data.
462  TCommand& SetCommand(void);
463 
464  /// Select the variant and set its data.
465  ///
466  /// @param value
467  /// Variant data.
468  void SetCommand(const TCommand& value);
469 
470 
471  private:
472  // copy constructor and assignment operator
475  // choice state
477  // helper methods
478  void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool* pool = 0);
479 
480  static const char* const sm_SelectionNames[];
481  // data
482  union {
483  NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string> m_string;
485  };
486  };
487  // types
490  typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_PreBuildEventItem > > TPreBuildEventItem;
491 
492  // member index
493  enum class E_memberIndex {
494  e__allMandatory = 0,
495  e_Attlist,
497  };
498  typedef Tparent::CMemberIndex<E_memberIndex, 3> TmemberIndex;
499 
500  // getters
501  // setters
502 
503  /// Check if a value has been assigned to Attlist data member.
504  ///
505  /// Data member Attlist is mandatory;
506  /// its type is defined as 'typedef C_Attlist TAttlist'
507  /// @return
508  /// - true, if a value has been assigned.
509  /// - false, otherwise.
510  bool IsSetAttlist(void) const;
511 
512  /// Check if it is safe to call GetAttlist method.
513  ///
514  /// @return
515  /// - true, if the data member is getatable.
516  /// - false, otherwise.
517  bool CanGetAttlist(void) const;
518 
519  /// Reset Attlist data member.
520  void ResetAttlist(void);
521 
522  /// Get the Attlist member data.
523  ///
524  /// @return
525  /// Reference to the member data.
526  const TAttlist& GetAttlist(void) const;
527 
528  /// Assign a value to Attlist data member.
529  ///
530  /// @param value
531  /// Reference to value.
532  void SetAttlist(TAttlist& value);
533 
534  /// Assign a value to Attlist data member.
535  ///
536  /// @return
537  /// Reference to the data value.
538  TAttlist& SetAttlist(void);
539 
540  /// Check if a value has been assigned to PreBuildEventItem data member.
541  ///
542  /// Data member PreBuildEventItem is optional;
543  /// its type is defined as 'typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_PreBuildEventItem > > TPreBuildEventItem'
544  /// @return
545  /// - true, if a value has been assigned.
546  /// - false, otherwise.
547  bool IsSetPreBuildEventItem(void) const;
548 
549  /// Check if it is safe to call GetPreBuildEventItem method.
550  ///
551  /// @return
552  /// - true, if the data member is getatable.
553  /// - false, otherwise.
554  bool CanGetPreBuildEventItem(void) const;
555 
556  /// Reset PreBuildEventItem data member.
557  void ResetPreBuildEventItem(void);
558 
559  /// Get the PreBuildEventItem member data.
560  ///
561  /// @return
562  /// Reference to the member data.
563  const TPreBuildEventItem& GetPreBuildEventItem(void) const;
564 
565  /// Assign a value to PreBuildEventItem data member.
566  ///
567  /// @return
568  /// Reference to the data value.
570 
571  /// Reset the whole object
572  virtual void Reset(void);
573 
574 
575 private:
576  // Prohibit copy constructor and assignment operator
579 
580  // data
582  NCBI_NS_NCBI::CRef< TAttlist > m_Attlist;
583  NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_PreBuildEventItem > > m_PreBuildEventItem;
584 };
585 
586 /* @} */
587 
588 
589 
590 
591 
592 ///////////////////////////////////////////////////////////
593 ///////////////////// inline methods //////////////////////
594 ///////////////////////////////////////////////////////////
595 inline
597 {
598  return ((m_set_State[0] & 0x3) != 0);
599 }
600 
601 inline
603 {
604  return IsSetCondition();
605 }
606 
607 inline
609 {
610  if (!CanGetCondition()) {
611  ThrowUnassigned(0);
612  }
613  return m_Condition;
614 }
615 
616 inline
618 {
619  m_Condition = value;
620  m_set_State[0] |= 0x3;
621 }
622 
623 inline
625 {
626  m_Condition = std::forward<CPreBuildEventItem_Base::C_Attlist::TCondition>(value);
627  m_set_State[0] |= 0x3;
628 }
629 
630 inline
632 {
633 #ifdef _DEBUG
634  if (!IsSetCondition()) {
635  m_Condition = UnassignedString();
636  }
637 #endif
638  m_set_State[0] |= 0x1;
639  return m_Condition;
640 }
641 
642 inline
644 {
645  return ((m_set_State[0] & 0xc) != 0);
646 }
647 
648 inline
650 {
651  return IsSetInclude();
652 }
653 
654 inline
656 {
657  if (!CanGetInclude()) {
658  ThrowUnassigned(1);
659  }
660  return m_Include;
661 }
662 
663 inline
665 {
666  m_Include = value;
667  m_set_State[0] |= 0xc;
668 }
669 
670 inline
672 {
673  m_Include = std::forward<CPreBuildEventItem_Base::C_Attlist::TInclude>(value);
674  m_set_State[0] |= 0xc;
675 }
676 
677 inline
679 {
680 #ifdef _DEBUG
681  if (!IsSetInclude()) {
682  m_Include = UnassignedString();
683  }
684 #endif
685  m_set_State[0] |= 0x4;
686  return m_Include;
687 }
688 
689 inline
691 {
692  return ((m_set_State[0] & 0x30) != 0);
693 }
694 
695 inline
697 {
698  return IsSetExclude();
699 }
700 
701 inline
703 {
704  if (!CanGetExclude()) {
705  ThrowUnassigned(2);
706  }
707  return m_Exclude;
708 }
709 
710 inline
712 {
713  m_Exclude = value;
714  m_set_State[0] |= 0x30;
715 }
716 
717 inline
719 {
720  m_Exclude = std::forward<CPreBuildEventItem_Base::C_Attlist::TExclude>(value);
721  m_set_State[0] |= 0x30;
722 }
723 
724 inline
726 {
727 #ifdef _DEBUG
728  if (!IsSetExclude()) {
729  m_Exclude = UnassignedString();
730  }
731 #endif
732  m_set_State[0] |= 0x10;
733  return m_Exclude;
734 }
735 
736 inline
738 {
739  return ((m_set_State[0] & 0xc0) != 0);
740 }
741 
742 inline
744 {
745  return IsSetRemove();
746 }
747 
748 inline
750 {
751  if (!CanGetRemove()) {
752  ThrowUnassigned(3);
753  }
754  return m_Remove;
755 }
756 
757 inline
759 {
760  m_Remove = value;
761  m_set_State[0] |= 0xc0;
762 }
763 
764 inline
766 {
767  m_Remove = std::forward<CPreBuildEventItem_Base::C_Attlist::TRemove>(value);
768  m_set_State[0] |= 0xc0;
769 }
770 
771 inline
773 {
774 #ifdef _DEBUG
775  if (!IsSetRemove()) {
776  m_Remove = UnassignedString();
777  }
778 #endif
779  m_set_State[0] |= 0x40;
780  return m_Remove;
781 }
782 
783 inline
785 {
786  return ((m_set_State[0] & 0x300) != 0);
787 }
788 
789 inline
791 {
792  return IsSetLabel();
793 }
794 
795 inline
797 {
798  if (!CanGetLabel()) {
799  ThrowUnassigned(4);
800  }
801  return m_Label;
802 }
803 
804 inline
806 {
807  m_Label = value;
808  m_set_State[0] |= 0x300;
809 }
810 
811 inline
813 {
814  m_Label = std::forward<CPreBuildEventItem_Base::C_Attlist::TLabel>(value);
815  m_set_State[0] |= 0x300;
816 }
817 
818 inline
820 {
821 #ifdef _DEBUG
822  if (!IsSetLabel()) {
823  m_Label = UnassignedString();
824  }
825 #endif
826  m_set_State[0] |= 0x100;
827  return m_Label;
828 }
829 
830 inline
832 {
833  return m_choice;
834 }
835 
836 inline
838 {
839  if ( m_choice != index )
840  ThrowInvalidSelection(index);
841 }
842 
843 inline
844 void CPreBuildEventItem_Base::C_E_PreBuildEventItem::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
845 {
846  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
847  if ( m_choice != e_not_set )
848  ResetSelection();
849  DoSelect(index, pool);
850  }
851 }
852 
853 inline
855 {
856  Select(index, reset, 0);
857 }
858 
859 inline
861 {
862  return m_choice == e_Message;
863 }
864 
865 inline
867 {
868  CheckSelected(e_Message);
869  return *m_string;
870 }
871 
872 inline
874 {
875  Select(e_Message, NCBI_NS_NCBI::eDoNotResetVariant);
876  return *m_string;
877 }
878 
879 inline
881 {
882  return m_choice == e_Command;
883 }
884 
885 inline
887 {
888  CheckSelected(e_Command);
889  return *m_string;
890 }
891 
892 inline
894 {
895  Select(e_Command, NCBI_NS_NCBI::eDoNotResetVariant);
896  return *m_string;
897 }
898 
899 inline
901 {
902  return m_Attlist.NotEmpty();
903 }
904 
905 inline
907 {
908  return true;
909 }
910 
911 inline
913 {
914  if ( !m_Attlist ) {
915  const_cast<CPreBuildEventItem_Base*>(this)->ResetAttlist();
916  }
917  return (*m_Attlist);
918 }
919 
920 inline
922 {
923  if ( !m_Attlist ) {
924  ResetAttlist();
925  }
926  return (*m_Attlist);
927 }
928 
929 inline
931 {
932  return ((m_set_State[0] & 0xc) != 0);
933 }
934 
935 inline
937 {
938  return true;
939 }
940 
941 inline
943 {
944  return m_PreBuildEventItem;
945 }
946 
947 inline
949 {
950  m_set_State[0] |= 0x4;
951  return m_PreBuildEventItem;
952 }
953 
954 ///////////////////////////////////////////////////////////
955 ////////////////// end of inline methods //////////////////
956 ///////////////////////////////////////////////////////////
957 
958 
959 
960 
961 
962 END_msbuild_SCOPE // namespace msbuild::
963 
964 
965 #endif // msbuild__BUILD_SYSTEM_PROJECT_TREE_BUILDER_MSBUILD_PREBUILDEVENTITEM_BASE_HPP
#define END_msbuild_SCOPE
#define BEGIN_msbuild_SCOPE
CPreBuildEventItem_Base –.
string
Definition: cgiapp.hpp:687
EResetVariant
Definition: serialbase.hpp:76
@ eDoResetVariant
Definition: serialbase.hpp:77
@ eDoNotResetVariant
Definition: serialbase.hpp:78
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
const TPreBuildEventItem & GetPreBuildEventItem(void) const
Get the PreBuildEventItem member data.
virtual ~CPreBuildEventItem_Base(void)
C_E_PreBuildEventItem & operator=(const C_E_PreBuildEventItem &)
const TInclude & GetInclude(void) const
Get the Include member data.
NCBI_NS_NCBI::CSerialObject Tparent
TInclude & SetInclude(void)
Assign a value to Include data member.
bool IsSetRemove(void) const
Semi-colon separated list of files (wildcards are allowed) or other item names to remove from the exi...
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
bool IsCommand(void) const
Check if variant Command is selected.
void Reset(void)
Reset the whole object.
void Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant)
Select the requested variant if needed.
bool IsSetCondition(void) const
Optional expression evaluated to determine whether the items should be evaluated Check if a value has...
bool CanGetInclude(void) const
Check if it is safe to call GetInclude method.
void ResetRemove(void)
Reset Remove data member.
TExclude & SetExclude(void)
Assign a value to Exclude data member.
bool IsSetLabel(void) const
Optional expression.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
const TExclude & GetExclude(void) const
Get the Exclude member data.
bool IsSetPreBuildEventItem(void) const
Check if a value has been assigned to PreBuildEventItem data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool CanGetCondition(void) const
Check if it is safe to call GetCondition method.
bool IsSetInclude(void) const
Semi-colon separated list of files (wildcards are allowed) or other item names to include in this ite...
bool CanGetRemove(void) const
Check if it is safe to call GetRemove method.
const TRemove & GetRemove(void) const
Get the Remove member data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void ResetAttlist(void)
Reset Attlist data member.
const TMessage & GetMessage(void) const
Get the variant data.
void ResetCondition(void)
Reset Condition data member.
void ResetExclude(void)
Reset Exclude data member.
void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0)
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_PreBuildEventItem > > TPreBuildEventItem
virtual void Reset(void)
Reset the whole object.
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_PreBuildEventItem > > m_PreBuildEventItem
TMessage & SetMessage(void)
Select the variant.
NCBI_NS_NCBI::CRef< TAttlist > m_Attlist
TRemove & SetRemove(void)
Assign a value to Remove data member.
C_E_PreBuildEventItem C_E
bool CanGetPreBuildEventItem(void) const
Check if it is safe to call GetPreBuildEventItem method.
void ResetPreBuildEventItem(void)
Reset PreBuildEventItem data member.
static NCBI_NS_STD::string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
C_Attlist & operator=(const C_Attlist &)
C_E_PreBuildEventItem(const C_E_PreBuildEventItem &)
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
bool IsSetExclude(void) const
Semi-colon separated list of files (wildcards are allowed) or other item names to exclude from the In...
void ResetSelection(void)
Reset the selection (set it to e_not_set).
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
TCondition & SetCondition(void)
Assign a value to Condition data member.
bool IsMessage(void) const
Check if variant Message is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
CPreBuildEventItem_Base(const CPreBuildEventItem_Base &)
bool CanGetExclude(void) const
Check if it is safe to call GetExclude method.
Tparent::CMemberIndex< E_memberIndex, 6 > TmemberIndex
CPreBuildEventItem_Base & operator=(const CPreBuildEventItem_Base &)
void ResetInclude(void)
Reset Include data member.
bool CanGetLabel(void) const
Check if it is safe to call GetLabel method.
TLabel & SetLabel(void)
Assign a value to Label data member.
const TCommand & GetCommand(void) const
Get the variant data.
E_Choice Which(void) const
Which variant is currently selected.
TPreBuildEventItem & SetPreBuildEventItem(void)
Assign a value to PreBuildEventItem data member.
void ResetLabel(void)
Reset Label data member.
NCBI_NS_NCBI::CSerialObject Tparent
TCommand & SetCommand(void)
Select the variant.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
const TCondition & GetCondition(void) const
Get the Condition member data.
const TLabel & GetLabel(void) const
Get the Label member data.
@ e_not_set
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Mon May 06 04:51:07 2024 by modify_doxy.py rev. 669887