NCBI C++ ToolKit
TaskType_.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 TaskType_.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_TASKTYPE_BASE_HPP
42 #define msbuild__BUILD_SYSTEM_PROJECT_TREE_BUILDER_MSBUILD_TASKTYPE_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 /// CTaskType_Base --
69 ///
70 
71 class CTaskType_Base : public NCBI_NS_NCBI::CSerialObject
72 {
73  typedef NCBI_NS_NCBI::CSerialObject Tparent;
74 public:
75  // constructor
76  CTaskType_Base(void);
77  // destructor
78  virtual ~CTaskType_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
104 
105  // member index
106  enum class E_memberIndex {
107  e__allMandatory = 0,
108  e_Condition,
110  e_Label
111  };
112  typedef Tparent::CMemberIndex<E_memberIndex, 4> TmemberIndex;
113 
114  // getters
115  // setters
116 
117  ///Optional expression evaluated to determine whether the task should be executed
118  /// Check if a value has been assigned to Condition data member.
119  ///
120  /// Data member Condition is optional;
121  /// its type is defined as 'typedef NCBI_NS_STD::string TCondition'
122  /// @return
123  /// - true, if a value has been assigned.
124  /// - false, otherwise.
125  bool IsSetCondition(void) const;
126 
127  /// Check if it is safe to call GetCondition method.
128  ///
129  /// @return
130  /// - true, if the data member is getatable.
131  /// - false, otherwise.
132  bool CanGetCondition(void) const;
133 
134  /// Reset Condition data member.
135  void ResetCondition(void);
136 
137  /// Get the Condition member data.
138  ///
139  /// @return
140  /// Reference to the member data.
141  const TCondition& GetCondition(void) const;
142 
143  /// Assign a value to Condition data member.
144  ///
145  /// @param value
146  /// Value to assign
147  void SetCondition(const TCondition& value);
148  void SetCondition(TCondition&& value);
149 
150  /// Assign a value to Condition data member.
151  ///
152  /// @return
153  /// Reference to the data value.
154  TCondition& SetCondition(void);
155 
156  ///Optional boolean indicating whether a recoverable task error should be ignored. Default false
157  /// Check if a value has been assigned to ContinueOnError data member.
158  ///
159  /// Data member ContinueOnError is optional;
160  /// its type is defined as 'typedef NCBI_NS_STD::string TContinueOnError'
161  /// @return
162  /// - true, if a value has been assigned.
163  /// - false, otherwise.
164  bool IsSetContinueOnError(void) const;
165 
166  /// Check if it is safe to call GetContinueOnError method.
167  ///
168  /// @return
169  /// - true, if the data member is getatable.
170  /// - false, otherwise.
171  bool CanGetContinueOnError(void) const;
172 
173  /// Reset ContinueOnError data member.
174  void ResetContinueOnError(void);
175 
176  /// Get the ContinueOnError member data.
177  ///
178  /// @return
179  /// Reference to the member data.
180  const TContinueOnError& GetContinueOnError(void) const;
181 
182  /// Assign a value to ContinueOnError data member.
183  ///
184  /// @param value
185  /// Value to assign
188 
189  /// Assign a value to ContinueOnError data member.
190  ///
191  /// @return
192  /// Reference to the data value.
194 
195  ///Optional expression. Used to identify or order system and user elements
196  /// Check if a value has been assigned to Label data member.
197  ///
198  /// Data member Label is optional;
199  /// its type is defined as 'typedef NCBI_NS_STD::string TLabel'
200  /// @return
201  /// - true, if a value has been assigned.
202  /// - false, otherwise.
203  bool IsSetLabel(void) const;
204 
205  /// Check if it is safe to call GetLabel method.
206  ///
207  /// @return
208  /// - true, if the data member is getatable.
209  /// - false, otherwise.
210  bool CanGetLabel(void) const;
211 
212  /// Reset Label data member.
213  void ResetLabel(void);
214 
215  /// Get the Label member data.
216  ///
217  /// @return
218  /// Reference to the member data.
219  const TLabel& GetLabel(void) const;
220 
221  /// Assign a value to Label data member.
222  ///
223  /// @param value
224  /// Value to assign
225  void SetLabel(const TLabel& value);
226  void SetLabel(TLabel&& value);
227 
228  /// Assign a value to Label data member.
229  ///
230  /// @return
231  /// Reference to the data value.
232  TLabel& SetLabel(void);
233 
234  /// Reset the whole object
235  void Reset(void);
236 
237 
238  private:
239  // Prohibit copy constructor and assignment operator
242 
243  // data
248  };
249  /////////////////////////////////////////////////////////////////////////////
250  ///
251  /// C_E_TaskType --
252  ///
253 
254  class C_E_TaskType : public NCBI_NS_NCBI::CSerialObject
255  {
256  typedef NCBI_NS_NCBI::CSerialObject Tparent;
257  public:
258  // constructor
259  C_E_TaskType(void);
260  // destructor
261  ~C_E_TaskType(void);
262 
263  // type info
265 
266  /////////////////////////////////////////////////////////////////////////////
267  ///Optional element specifying a specific task output to be gathered
268  ///
269  /// C_Output --
270  ///
271 
272  class C_Output : public NCBI_NS_NCBI::CSerialObject
273  {
274  typedef NCBI_NS_NCBI::CSerialObject Tparent;
275  public:
276  // constructor
277  C_Output(void);
278  // destructor
279  ~C_Output(void);
280 
281  // type info
283 
284  /////////////////////////////////////////////////////////////////////////////
285  ///
286  /// C_Attlist --
287  ///
288 
289  class C_Attlist : public NCBI_NS_NCBI::CSerialObject
290  {
291  typedef NCBI_NS_NCBI::CSerialObject Tparent;
292  public:
293  // constructor
294  C_Attlist(void);
295  // destructor
296  ~C_Attlist(void);
297 
298  // type info
300 
301  // types
306 
307  // member index
308  enum class E_memberIndex {
309  e__allMandatory = 0,
311  e_ItemName,
314  };
315  typedef Tparent::CMemberIndex<E_memberIndex, 5> TmemberIndex;
316 
317  // getters
318  // setters
319 
320  ///Task parameter to gather. Matches the name of a .NET Property on the task class that has an [Output] attribute
321  /// Check if a value has been assigned to TaskParameter data member.
322  ///
323  /// Data member TaskParameter is mandatory;
324  /// its type is defined as 'typedef NCBI_NS_STD::string TTaskParameter'
325  /// @return
326  /// - true, if a value has been assigned.
327  /// - false, otherwise.
328  bool IsSetTaskParameter(void) const;
329 
330  /// Check if it is safe to call GetTaskParameter method.
331  ///
332  /// @return
333  /// - true, if the data member is getatable.
334  /// - false, otherwise.
335  bool CanGetTaskParameter(void) const;
336 
337  /// Reset TaskParameter data member.
338  void ResetTaskParameter(void);
339 
340  /// Get the TaskParameter member data.
341  ///
342  /// @return
343  /// Reference to the member data.
344  const TTaskParameter& GetTaskParameter(void) const;
345 
346  /// Assign a value to TaskParameter data member.
347  ///
348  /// @param value
349  /// Value to assign
352 
353  /// Assign a value to TaskParameter data member.
354  ///
355  /// @return
356  /// Reference to the data value.
358 
359  ///Optional name of an item list to put the gathered outputs into. Either ItemName or PropertyName must be specified
360  /// Check if a value has been assigned to ItemName data member.
361  ///
362  /// Data member ItemName is optional;
363  /// its type is defined as 'typedef NCBI_NS_STD::string TItemName'
364  /// @return
365  /// - true, if a value has been assigned.
366  /// - false, otherwise.
367  bool IsSetItemName(void) const;
368 
369  /// Check if it is safe to call GetItemName method.
370  ///
371  /// @return
372  /// - true, if the data member is getatable.
373  /// - false, otherwise.
374  bool CanGetItemName(void) const;
375 
376  /// Reset ItemName data member.
377  void ResetItemName(void);
378 
379  /// Get the ItemName member data.
380  ///
381  /// @return
382  /// Reference to the member data.
383  const TItemName& GetItemName(void) const;
384 
385  /// Assign a value to ItemName data member.
386  ///
387  /// @param value
388  /// Value to assign
389  void SetItemName(const TItemName& value);
390  void SetItemName(TItemName&& value);
391 
392  /// Assign a value to ItemName data member.
393  ///
394  /// @return
395  /// Reference to the data value.
396  TItemName& SetItemName(void);
397 
398  ///Optional name of a property to put the gathered output into. Either PropertyName or ItemName must be specified
399  /// Check if a value has been assigned to PropertyName data member.
400  ///
401  /// Data member PropertyName is optional;
402  /// its type is defined as 'typedef NCBI_NS_STD::string TPropertyName'
403  /// @return
404  /// - true, if a value has been assigned.
405  /// - false, otherwise.
406  bool IsSetPropertyName(void) const;
407 
408  /// Check if it is safe to call GetPropertyName method.
409  ///
410  /// @return
411  /// - true, if the data member is getatable.
412  /// - false, otherwise.
413  bool CanGetPropertyName(void) const;
414 
415  /// Reset PropertyName data member.
416  void ResetPropertyName(void);
417 
418  /// Get the PropertyName member data.
419  ///
420  /// @return
421  /// Reference to the member data.
422  const TPropertyName& GetPropertyName(void) const;
423 
424  /// Assign a value to PropertyName data member.
425  ///
426  /// @param value
427  /// Value to assign
428  void SetPropertyName(const TPropertyName& value);
430 
431  /// Assign a value to PropertyName data member.
432  ///
433  /// @return
434  /// Reference to the data value.
436 
437  ///Optional expression evaluated to determine whether the output should be gathered
438  /// Check if a value has been assigned to Condition data member.
439  ///
440  /// Data member Condition is optional;
441  /// its type is defined as 'typedef NCBI_NS_STD::string TCondition'
442  /// @return
443  /// - true, if a value has been assigned.
444  /// - false, otherwise.
445  bool IsSetCondition(void) const;
446 
447  /// Check if it is safe to call GetCondition method.
448  ///
449  /// @return
450  /// - true, if the data member is getatable.
451  /// - false, otherwise.
452  bool CanGetCondition(void) const;
453 
454  /// Reset Condition data member.
455  void ResetCondition(void);
456 
457  /// Get the Condition member data.
458  ///
459  /// @return
460  /// Reference to the member data.
461  const TCondition& GetCondition(void) const;
462 
463  /// Assign a value to Condition data member.
464  ///
465  /// @param value
466  /// Value to assign
467  void SetCondition(const TCondition& value);
468  void SetCondition(TCondition&& value);
469 
470  /// Assign a value to Condition data member.
471  ///
472  /// @return
473  /// Reference to the data value.
474  TCondition& SetCondition(void);
475 
476  /// Reset the whole object
477  void Reset(void);
478 
479 
480  private:
481  // Prohibit copy constructor and assignment operator
484 
485  // data
491  };
492  // types
494 
495  // member index
496  enum class E_memberIndex {
497  e__allMandatory = 0,
498  e_Attlist,
499  e_Output
500  };
501  typedef Tparent::CMemberIndex<E_memberIndex, 3> TmemberIndex;
502 
503  // getters
504  // setters
505 
506  /// Check if a value has been assigned to Attlist data member.
507  ///
508  /// Data member Attlist is mandatory;
509  /// its type is defined as 'typedef C_Attlist TAttlist'
510  /// @return
511  /// - true, if a value has been assigned.
512  /// - false, otherwise.
513  bool IsSetAttlist(void) const;
514 
515  /// Check if it is safe to call GetAttlist method.
516  ///
517  /// @return
518  /// - true, if the data member is getatable.
519  /// - false, otherwise.
520  bool CanGetAttlist(void) const;
521 
522  /// Reset Attlist data member.
523  void ResetAttlist(void);
524 
525  /// Get the Attlist member data.
526  ///
527  /// @return
528  /// Reference to the member data.
529  const TAttlist& GetAttlist(void) const;
530 
531  /// Assign a value to Attlist data member.
532  ///
533  /// @param value
534  /// Reference to value.
535  void SetAttlist(TAttlist& value);
536 
537  /// Assign a value to Attlist data member.
538  ///
539  /// @return
540  /// Reference to the data value.
541  TAttlist& SetAttlist(void);
542 
543  /// Check if a value has been assigned to Output data member.
544  ///
545  /// Data member Output is mandatory
546  /// @return
547  /// - true, if a value has been assigned.
548  /// - false, otherwise.
549  bool IsSetOutput(void) const;
550 
551  /// Check if value of Output member is getatable.
552  ///
553  /// @return
554  /// - false; the data member of type 'NULL' has no value.
555  bool CanGetOutput(void) const;
556 
557  /// Reset Output data member.
558  void ResetOutput(void);
559 
560  /// Set NULL data member (assign 'NULL' value to Output data member).
561  void SetOutput(void);
562 
563  /// Reset the whole object
564  void Reset(void);
565 
566 
567  private:
568  // Prohibit copy constructor and assignment operator
571 
572  // data
574  NCBI_NS_NCBI::CRef< TAttlist > m_Attlist;
575  };
576  // types
577  typedef C_Output TOutput;
578 
579  // member index
580  enum class E_memberIndex {
581  e__allMandatory = 0,
582  e_Output
583  };
584  typedef Tparent::CMemberIndex<E_memberIndex, 2> TmemberIndex;
585 
586  // getters
587  // setters
588 
589  ///Optional element specifying a specific task output to be gathered
590  /// Check if a value has been assigned to Output data member.
591  ///
592  /// Data member Output is mandatory;
593  /// its type is defined as 'typedef C_Output TOutput'
594  /// @return
595  /// - true, if a value has been assigned.
596  /// - false, otherwise.
597  bool IsSetOutput(void) const;
598 
599  /// Check if it is safe to call GetOutput method.
600  ///
601  /// @return
602  /// - true, if the data member is getatable.
603  /// - false, otherwise.
604  bool CanGetOutput(void) const;
605 
606  /// Reset Output data member.
607  void ResetOutput(void);
608 
609  /// Get the Output member data.
610  ///
611  /// @return
612  /// Reference to the member data.
613  const TOutput& GetOutput(void) const;
614 
615  /// Assign a value to Output data member.
616  ///
617  /// @param value
618  /// Reference to value.
619  void SetOutput(TOutput& value);
620 
621  /// Assign a value to Output data member.
622  ///
623  /// @return
624  /// Reference to the data value.
625  TOutput& SetOutput(void);
626 
627  /// Reset the whole object
628  void Reset(void);
629 
630 
631  private:
632  // Prohibit copy constructor and assignment operator
635 
636  // data
638  NCBI_NS_NCBI::CRef< TOutput > m_Output;
639  };
640  // types
642  typedef C_E_TaskType C_E;
643  typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_TaskType > > TTaskType;
644 
645  // member index
646  enum class E_memberIndex {
647  e__allMandatory = 0,
648  e_Attlist,
649  e_TaskType
650  };
651  typedef Tparent::CMemberIndex<E_memberIndex, 3> TmemberIndex;
652 
653  // getters
654  // setters
655 
656  /// Check if a value has been assigned to Attlist data member.
657  ///
658  /// Data member Attlist is mandatory;
659  /// its type is defined as 'typedef C_Attlist TAttlist'
660  /// @return
661  /// - true, if a value has been assigned.
662  /// - false, otherwise.
663  bool IsSetAttlist(void) const;
664 
665  /// Check if it is safe to call GetAttlist method.
666  ///
667  /// @return
668  /// - true, if the data member is getatable.
669  /// - false, otherwise.
670  bool CanGetAttlist(void) const;
671 
672  /// Reset Attlist data member.
673  void ResetAttlist(void);
674 
675  /// Get the Attlist member data.
676  ///
677  /// @return
678  /// Reference to the member data.
679  const TAttlist& GetAttlist(void) const;
680 
681  /// Assign a value to Attlist data member.
682  ///
683  /// @param value
684  /// Reference to value.
685  void SetAttlist(TAttlist& value);
686 
687  /// Assign a value to Attlist data member.
688  ///
689  /// @return
690  /// Reference to the data value.
691  TAttlist& SetAttlist(void);
692 
693  /// Check if a value has been assigned to TaskType data member.
694  ///
695  /// Data member TaskType is optional;
696  /// its type is defined as 'typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_TaskType > > TTaskType'
697  /// @return
698  /// - true, if a value has been assigned.
699  /// - false, otherwise.
700  bool IsSetTaskType(void) const;
701 
702  /// Check if it is safe to call GetTaskType method.
703  ///
704  /// @return
705  /// - true, if the data member is getatable.
706  /// - false, otherwise.
707  bool CanGetTaskType(void) const;
708 
709  /// Reset TaskType data member.
710  void ResetTaskType(void);
711 
712  /// Get the TaskType member data.
713  ///
714  /// @return
715  /// Reference to the member data.
716  const TTaskType& GetTaskType(void) const;
717 
718  /// Assign a value to TaskType data member.
719  ///
720  /// @return
721  /// Reference to the data value.
722  TTaskType& SetTaskType(void);
723 
724  /// Reset the whole object
725  virtual void Reset(void);
726 
727 
728 private:
729  // Prohibit copy constructor and assignment operator
732 
733  // data
735  NCBI_NS_NCBI::CRef< TAttlist > m_Attlist;
736  NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_TaskType > > m_TaskType;
737 };
738 
739 /* @} */
740 
741 
742 
743 
744 
745 ///////////////////////////////////////////////////////////
746 ///////////////////// inline methods //////////////////////
747 ///////////////////////////////////////////////////////////
748 inline
750 {
751  return ((m_set_State[0] & 0x3) != 0);
752 }
753 
754 inline
756 {
757  return IsSetCondition();
758 }
759 
760 inline
762 {
763  if (!CanGetCondition()) {
764  ThrowUnassigned(0);
765  }
766  return m_Condition;
767 }
768 
769 inline
771 {
772  m_Condition = value;
773  m_set_State[0] |= 0x3;
774 }
775 
776 inline
778 {
779  m_Condition = std::forward<CTaskType_Base::C_Attlist::TCondition>(value);
780  m_set_State[0] |= 0x3;
781 }
782 
783 inline
785 {
786 #ifdef _DEBUG
787  if (!IsSetCondition()) {
788  m_Condition = UnassignedString();
789  }
790 #endif
791  m_set_State[0] |= 0x1;
792  return m_Condition;
793 }
794 
795 inline
797 {
798  return ((m_set_State[0] & 0xc) != 0);
799 }
800 
801 inline
803 {
804  return IsSetContinueOnError();
805 }
806 
807 inline
809 {
810  if (!CanGetContinueOnError()) {
811  ThrowUnassigned(1);
812  }
813  return m_ContinueOnError;
814 }
815 
816 inline
818 {
819  m_ContinueOnError = value;
820  m_set_State[0] |= 0xc;
821 }
822 
823 inline
825 {
826  m_ContinueOnError = std::forward<CTaskType_Base::C_Attlist::TContinueOnError>(value);
827  m_set_State[0] |= 0xc;
828 }
829 
830 inline
832 {
833 #ifdef _DEBUG
834  if (!IsSetContinueOnError()) {
835  m_ContinueOnError = UnassignedString();
836  }
837 #endif
838  m_set_State[0] |= 0x4;
839  return m_ContinueOnError;
840 }
841 
842 inline
844 {
845  return ((m_set_State[0] & 0x30) != 0);
846 }
847 
848 inline
850 {
851  return IsSetLabel();
852 }
853 
854 inline
856 {
857  if (!CanGetLabel()) {
858  ThrowUnassigned(2);
859  }
860  return m_Label;
861 }
862 
863 inline
865 {
866  m_Label = value;
867  m_set_State[0] |= 0x30;
868 }
869 
870 inline
872 {
873  m_Label = std::forward<CTaskType_Base::C_Attlist::TLabel>(value);
874  m_set_State[0] |= 0x30;
875 }
876 
877 inline
879 {
880 #ifdef _DEBUG
881  if (!IsSetLabel()) {
882  m_Label = UnassignedString();
883  }
884 #endif
885  m_set_State[0] |= 0x10;
886  return m_Label;
887 }
888 
889 inline
891 {
892  return ((m_set_State[0] & 0x3) != 0);
893 }
894 
895 inline
897 {
898  return IsSetTaskParameter();
899 }
900 
901 inline
903 {
904  if (!CanGetTaskParameter()) {
905  ThrowUnassigned(0);
906  }
907  return m_TaskParameter;
908 }
909 
910 inline
912 {
913  m_TaskParameter = value;
914  m_set_State[0] |= 0x3;
915 }
916 
917 inline
919 {
920  m_TaskParameter = std::forward<CTaskType_Base::C_E_TaskType::C_Output::C_Attlist::TTaskParameter>(value);
921  m_set_State[0] |= 0x3;
922 }
923 
924 inline
926 {
927 #ifdef _DEBUG
928  if (!IsSetTaskParameter()) {
929  m_TaskParameter = UnassignedString();
930  }
931 #endif
932  m_set_State[0] |= 0x1;
933  return m_TaskParameter;
934 }
935 
936 inline
938 {
939  return ((m_set_State[0] & 0xc) != 0);
940 }
941 
942 inline
944 {
945  return IsSetItemName();
946 }
947 
948 inline
950 {
951  if (!CanGetItemName()) {
952  ThrowUnassigned(1);
953  }
954  return m_ItemName;
955 }
956 
957 inline
959 {
960  m_ItemName = value;
961  m_set_State[0] |= 0xc;
962 }
963 
964 inline
966 {
967  m_ItemName = std::forward<CTaskType_Base::C_E_TaskType::C_Output::C_Attlist::TItemName>(value);
968  m_set_State[0] |= 0xc;
969 }
970 
971 inline
973 {
974 #ifdef _DEBUG
975  if (!IsSetItemName()) {
976  m_ItemName = UnassignedString();
977  }
978 #endif
979  m_set_State[0] |= 0x4;
980  return m_ItemName;
981 }
982 
983 inline
985 {
986  return ((m_set_State[0] & 0x30) != 0);
987 }
988 
989 inline
991 {
992  return IsSetPropertyName();
993 }
994 
995 inline
997 {
998  if (!CanGetPropertyName()) {
999  ThrowUnassigned(2);
1000  }
1001  return m_PropertyName;
1002 }
1003 
1004 inline
1006 {
1007  m_PropertyName = value;
1008  m_set_State[0] |= 0x30;
1009 }
1010 
1011 inline
1013 {
1014  m_PropertyName = std::forward<CTaskType_Base::C_E_TaskType::C_Output::C_Attlist::TPropertyName>(value);
1015  m_set_State[0] |= 0x30;
1016 }
1017 
1018 inline
1020 {
1021 #ifdef _DEBUG
1022  if (!IsSetPropertyName()) {
1023  m_PropertyName = UnassignedString();
1024  }
1025 #endif
1026  m_set_State[0] |= 0x10;
1027  return m_PropertyName;
1028 }
1029 
1030 inline
1032 {
1033  return ((m_set_State[0] & 0xc0) != 0);
1034 }
1035 
1036 inline
1038 {
1039  return IsSetCondition();
1040 }
1041 
1042 inline
1044 {
1045  if (!CanGetCondition()) {
1046  ThrowUnassigned(3);
1047  }
1048  return m_Condition;
1049 }
1050 
1051 inline
1053 {
1054  m_Condition = value;
1055  m_set_State[0] |= 0xc0;
1056 }
1057 
1058 inline
1060 {
1061  m_Condition = std::forward<CTaskType_Base::C_E_TaskType::C_Output::C_Attlist::TCondition>(value);
1062  m_set_State[0] |= 0xc0;
1063 }
1064 
1065 inline
1067 {
1068 #ifdef _DEBUG
1069  if (!IsSetCondition()) {
1070  m_Condition = UnassignedString();
1071  }
1072 #endif
1073  m_set_State[0] |= 0x40;
1074  return m_Condition;
1075 }
1076 
1077 inline
1079 {
1080  return m_Attlist.NotEmpty();
1081 }
1082 
1083 inline
1085 {
1086  return true;
1087 }
1088 
1089 inline
1091 {
1092  if ( !m_Attlist ) {
1093  const_cast<C_Output*>(this)->ResetAttlist();
1094  }
1095  return (*m_Attlist);
1096 }
1097 
1098 inline
1100 {
1101  if ( !m_Attlist ) {
1102  ResetAttlist();
1103  }
1104  SetOutput();
1105  return (*m_Attlist);
1106 }
1107 
1108 inline
1110 {
1111  return ((m_set_State[0] & 0xc) != 0);
1112 }
1113 
1114 inline
1116 {
1117  return false;
1118 }
1119 
1120 inline
1122 {
1123  m_set_State[0] &= ~0xc;
1124 }
1125 
1126 inline
1128 {
1129  m_set_State[0] |= 0xc;
1130 }
1131 
1132 inline
1134 {
1135  return m_Output.NotEmpty();
1136 }
1137 
1138 inline
1140 {
1141  return true;
1142 }
1143 
1144 inline
1146 {
1147  if ( !m_Output ) {
1148  const_cast<C_E_TaskType*>(this)->ResetOutput();
1149  }
1150  return (*m_Output);
1151 }
1152 
1153 inline
1155 {
1156  if ( !m_Output ) {
1157  ResetOutput();
1158  }
1159  return (*m_Output);
1160 }
1161 
1162 inline
1164 {
1165  return m_Attlist.NotEmpty();
1166 }
1167 
1168 inline
1170 {
1171  return true;
1172 }
1173 
1174 inline
1176 {
1177  if ( !m_Attlist ) {
1178  const_cast<CTaskType_Base*>(this)->ResetAttlist();
1179  }
1180  return (*m_Attlist);
1181 }
1182 
1183 inline
1185 {
1186  if ( !m_Attlist ) {
1187  ResetAttlist();
1188  }
1189  return (*m_Attlist);
1190 }
1191 
1192 inline
1194 {
1195  return ((m_set_State[0] & 0xc) != 0);
1196 }
1197 
1198 inline
1200 {
1201  return true;
1202 }
1203 
1204 inline
1206 {
1207  return m_TaskType;
1208 }
1209 
1210 inline
1212 {
1213  m_set_State[0] |= 0x4;
1214  return m_TaskType;
1215 }
1216 
1217 ///////////////////////////////////////////////////////////
1218 ////////////////// end of inline methods //////////////////
1219 ///////////////////////////////////////////////////////////
1220 
1221 
1222 
1223 
1224 
1225 END_msbuild_SCOPE // namespace msbuild::
1226 
1227 
1228 #endif // msbuild__BUILD_SYSTEM_PROJECT_TREE_BUILDER_MSBUILD_TASKTYPE_BASE_HPP
#define END_msbuild_SCOPE
Definition: TaskType_.hpp:53
#define BEGIN_msbuild_SCOPE
Definition: TaskType_.hpp:52
C_Attlist –.
Definition: TaskType_.hpp:89
Optional element specifying a specific task output to be gathered.
Definition: TaskType_.hpp:273
C_E_TaskType –.
Definition: TaskType_.hpp:255
CTaskType_Base –.
Definition: TaskType_.hpp:72
string
Definition: cgiapp.hpp:687
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
Definition: TaskType_.hpp:1184
const TTaskParameter & GetTaskParameter(void) const
Get the TaskParameter member data.
Definition: TaskType_.hpp:902
const TContinueOnError & GetContinueOnError(void) const
Get the ContinueOnError member data.
Definition: TaskType_.hpp:808
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
Definition: TaskType_.hpp:1084
NCBI_NS_NCBI::CSerialObject Tparent
Definition: TaskType_.hpp:73
TCondition & SetCondition(void)
Assign a value to Condition data member.
Definition: TaskType_.hpp:1066
NCBI_NS_NCBI::CSerialObject Tparent
Definition: TaskType_.hpp:90
void ResetContinueOnError(void)
Reset ContinueOnError data member.
Definition: TaskType_.cpp:54
virtual ~CTaskType_Base(void)
Definition: TaskType_.cpp:298
void ResetCondition(void)
Reset Condition data member.
Definition: TaskType_.cpp:48
bool CanGetOutput(void) const
Check if it is safe to call GetOutput method.
Definition: TaskType_.hpp:1139
Uint4 m_set_State[1]
Definition: TaskType_.hpp:734
NCBI_NS_STD::string TCondition
Definition: TaskType_.hpp:101
bool IsSetItemName(void) const
Optional name of an item list to put the gathered outputs into.
Definition: TaskType_.hpp:937
void SetOutput(void)
Set NULL data member (assign 'NULL' value to Output data member).
Definition: TaskType_.hpp:1127
bool CanGetItemName(void) const
Check if it is safe to call GetItemName method.
Definition: TaskType_.hpp:943
C_E_TaskType & operator=(const C_E_TaskType &)
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
Definition: TaskType_.hpp:1175
void ResetItemName(void)
Reset ItemName data member.
Definition: TaskType_.cpp:104
C_Attlist & operator=(const C_Attlist &)
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
Definition: TaskType_.hpp:501
CTaskType_Base & operator=(const CTaskType_Base &)
NCBI_NS_STD::string TContinueOnError
Definition: TaskType_.hpp:102
C_Attlist & operator=(const C_Attlist &)
bool CanGetOutput(void) const
Check if value of Output member is getatable.
Definition: TaskType_.hpp:1115
const TPropertyName & GetPropertyName(void) const
Get the PropertyName member data.
Definition: TaskType_.hpp:996
C_Attlist TAttlist
Definition: TaskType_.hpp:641
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Definition: TaskType_.hpp:1078
void Reset(void)
Reset the whole object.
Definition: TaskType_.cpp:66
CTaskType_Base(void)
Definition: TaskType_.cpp:289
NCBI_NS_NCBI::CRef< TAttlist > m_Attlist
Definition: TaskType_.hpp:735
NCBI_NS_STD::string TLabel
Definition: TaskType_.hpp:103
NCBI_NS_NCBI::CRef< TOutput > m_Output
Definition: TaskType_.hpp:638
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
Definition: TaskType_.hpp:1099
C_E_TaskType(const C_E_TaskType &)
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
Definition: TaskType_.hpp:584
void ResetPropertyName(void)
Reset PropertyName data member.
Definition: TaskType_.cpp:110
bool CanGetTaskType(void) const
Check if it is safe to call GetTaskType method.
Definition: TaskType_.hpp:1199
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_TaskType > > TTaskType
Definition: TaskType_.hpp:643
CTaskType_Base(const CTaskType_Base &)
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Definition: TaskType_.hpp:1163
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
Definition: TaskType_.hpp:1090
NCBI_NS_STD::string m_ContinueOnError
Definition: TaskType_.hpp:246
const TTaskType & GetTaskType(void) const
Get the TaskType member data.
Definition: TaskType_.hpp:1205
TContinueOnError & SetContinueOnError(void)
Assign a value to ContinueOnError data member.
Definition: TaskType_.hpp:831
void Reset(void)
Reset the whole object.
Definition: TaskType_.cpp:171
void ResetOutput(void)
Reset Output data member.
Definition: TaskType_.hpp:1121
bool CanGetTaskParameter(void) const
Check if it is safe to call GetTaskParameter method.
Definition: TaskType_.hpp:896
TTaskType & SetTaskType(void)
Assign a value to TaskType data member.
Definition: TaskType_.hpp:1211
bool IsSetLabel(void) const
Optional expression.
Definition: TaskType_.hpp:843
bool IsSetTaskType(void) const
Check if a value has been assigned to TaskType data member.
Definition: TaskType_.hpp:1193
bool IsSetCondition(void) const
Optional expression evaluated to determine whether the task should be executed Check if a value has b...
Definition: TaskType_.hpp:749
TLabel & SetLabel(void)
Assign a value to Label data member.
Definition: TaskType_.hpp:878
bool IsSetContinueOnError(void) const
Optional boolean indicating whether a recoverable task error should be ignored.
Definition: TaskType_.hpp:796
TPropertyName & SetPropertyName(void)
Assign a value to PropertyName data member.
Definition: TaskType_.hpp:1019
void Reset(void)
Reset the whole object.
Definition: TaskType_.cpp:218
bool CanGetLabel(void) const
Check if it is safe to call GetLabel method.
Definition: TaskType_.hpp:849
NCBI_NS_NCBI::CSerialObject Tparent
Definition: TaskType_.hpp:274
void ResetAttlist(void)
Reset Attlist data member.
Definition: TaskType_.cpp:156
bool IsSetPropertyName(void) const
Optional name of a property to put the gathered output into.
Definition: TaskType_.hpp:984
void Reset(void)
Reset the whole object.
Definition: TaskType_.cpp:122
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
Definition: TaskType_.hpp:315
void ResetAttlist(void)
Reset Attlist data member.
Definition: TaskType_.cpp:250
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
Definition: TaskType_.hpp:651
const TItemName & GetItemName(void) const
Get the ItemName member data.
Definition: TaskType_.hpp:949
void ResetTaskType(void)
Reset TaskType data member.
Definition: TaskType_.cpp:264
virtual void Reset(void)
Reset the whole object.
Definition: TaskType_.cpp:270
NCBI_NS_STD::string m_Label
Definition: TaskType_.hpp:247
const TOutput & GetOutput(void) const
Get the Output member data.
Definition: TaskType_.hpp:1145
bool IsSetOutput(void) const
Check if a value has been assigned to Output data member.
Definition: TaskType_.hpp:1109
NCBI_NS_NCBI::CSerialObject Tparent
Definition: TaskType_.hpp:256
bool CanGetPropertyName(void) const
Check if it is safe to call GetPropertyName method.
Definition: TaskType_.hpp:990
TCondition & SetCondition(void)
Assign a value to Condition data member.
Definition: TaskType_.hpp:784
void ResetOutput(void)
Reset Output data member.
Definition: TaskType_.cpp:204
bool IsSetCondition(void) const
Optional expression evaluated to determine whether the output should be gathered Check if a value has...
Definition: TaskType_.hpp:1031
bool CanGetCondition(void) const
Check if it is safe to call GetCondition method.
Definition: TaskType_.hpp:1037
void ResetCondition(void)
Reset Condition data member.
Definition: TaskType_.cpp:116
bool IsSetOutput(void) const
Optional element specifying a specific task output to be gathered Check if a value has been assigned ...
Definition: TaskType_.hpp:1133
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
Definition: TaskType_.hpp:112
bool CanGetContinueOnError(void) const
Check if it is safe to call GetContinueOnError method.
Definition: TaskType_.hpp:802
NCBI_NS_STD::string m_Condition
Definition: TaskType_.hpp:245
const TCondition & GetCondition(void) const
Get the Condition member data.
Definition: TaskType_.hpp:1043
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
Definition: TaskType_.hpp:1169
C_E_TaskType C_E
Definition: TaskType_.hpp:642
NCBI_NS_NCBI::CRef< TAttlist > m_Attlist
Definition: TaskType_.hpp:574
void ResetLabel(void)
Reset Label data member.
Definition: TaskType_.cpp:60
bool CanGetCondition(void) const
Check if it is safe to call GetCondition method.
Definition: TaskType_.hpp:755
const TCondition & GetCondition(void) const
Get the Condition member data.
Definition: TaskType_.hpp:761
TItemName & SetItemName(void)
Assign a value to ItemName data member.
Definition: TaskType_.hpp:972
TOutput & SetOutput(void)
Assign a value to Output data member.
Definition: TaskType_.hpp:1154
TTaskParameter & SetTaskParameter(void)
Assign a value to TaskParameter data member.
Definition: TaskType_.hpp:925
DECLARE_INTERNAL_TYPE_INFO()
C_Output & operator=(const C_Output &)
C_Attlist(const C_Attlist &)
const TLabel & GetLabel(void) const
Get the Label member data.
Definition: TaskType_.hpp:855
void ResetTaskParameter(void)
Reset TaskParameter data member.
Definition: TaskType_.cpp:98
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E_TaskType > > m_TaskType
Definition: TaskType_.hpp:736
bool IsSetTaskParameter(void) const
Task parameter to gather.
Definition: TaskType_.hpp:890
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Tue May 07 08:16:45 2024 by modify_doxy.py rev. 669887