NCBI C++ ToolKit
Configuration_.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 Configuration_.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/msvc71_project.dtd">msvc71_project.dtd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/build-system/project_tree_builder/msvc71_project.def">msvc71_project.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 BUILD_SYSTEM_PROJECT_TREE_BUILDER_CONFIGURATION_BASE_HPP
42 #define BUILD_SYSTEM_PROJECT_TREE_BUILDER_CONFIGURATION_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 CTool;
62 
63 
64 // generated classes
65 
66 
67 /** @addtogroup dataspec_msvc71_project
68  *
69  * @{
70  */
71 
72 /////////////////////////////////////////////////////////////////////////////
73 ///
74 /// CConfiguration_Base --
75 ///
76 
78 {
80 public:
81  // constructor
82  CConfiguration_Base(void);
83  // destructor
84  virtual ~CConfiguration_Base(void);
85 
86  // type info
88 
89  /////////////////////////////////////////////////////////////////////////////
90  ///
91  /// C_Attlist --
92  ///
93 
94  class C_Attlist : public CSerialObject
95  {
97  public:
98  // constructor
99  C_Attlist(void);
100  // destructor
101  ~C_Attlist(void);
102 
103  // type info
105 
106  // types
107  typedef string TName;
108  typedef string TOutputDirectory;
109  typedef string TIntermediateDirectory;
110  typedef string TConfigurationType;
111  typedef string TUseOfMFC;
113  typedef string TCharacterSet;
114  typedef string TManagedExtensions;
115  typedef string TBuildLogFile;
116 
117  // member index
118  enum class E_memberIndex {
119  e__allMandatory = 0,
120  e_Name,
124  e_UseOfMFC,
129  };
131 
132  // getters
133  // setters
134 
135  /// Check if a value has been assigned to Name data member.
136  ///
137  /// Data member Name is mandatory;
138  /// its type is defined as 'typedef string TName'
139  /// @return
140  /// - true, if a value has been assigned.
141  /// - false, otherwise.
142  bool IsSetName(void) const;
143 
144  /// Check if it is safe to call GetName method.
145  ///
146  /// @return
147  /// - true, if the data member is getatable.
148  /// - false, otherwise.
149  bool CanGetName(void) const;
150 
151  /// Reset Name data member.
152  void ResetName(void);
153 
154  /// Get the Name member data.
155  ///
156  /// @return
157  /// Reference to the member data.
158  const TName& GetName(void) const;
159 
160  /// Assign a value to Name data member.
161  ///
162  /// @param value
163  /// Value to assign
164  void SetName(const TName& value);
165  void SetName(TName&& value);
166 
167  /// Assign a value to Name data member.
168  ///
169  /// @return
170  /// Reference to the data value.
171  TName& SetName(void);
172 
173  /// Check if a value has been assigned to OutputDirectory data member.
174  ///
175  /// Data member OutputDirectory is mandatory;
176  /// its type is defined as 'typedef string TOutputDirectory'
177  /// @return
178  /// - true, if a value has been assigned.
179  /// - false, otherwise.
180  bool IsSetOutputDirectory(void) const;
181 
182  /// Check if it is safe to call GetOutputDirectory method.
183  ///
184  /// @return
185  /// - true, if the data member is getatable.
186  /// - false, otherwise.
187  bool CanGetOutputDirectory(void) const;
188 
189  /// Reset OutputDirectory data member.
190  void ResetOutputDirectory(void);
191 
192  /// Get the OutputDirectory member data.
193  ///
194  /// @return
195  /// Reference to the member data.
196  const TOutputDirectory& GetOutputDirectory(void) const;
197 
198  /// Assign a value to OutputDirectory data member.
199  ///
200  /// @param value
201  /// Value to assign
204 
205  /// Assign a value to OutputDirectory data member.
206  ///
207  /// @return
208  /// Reference to the data value.
210 
211  /// Check if a value has been assigned to IntermediateDirectory data member.
212  ///
213  /// Data member IntermediateDirectory is mandatory;
214  /// its type is defined as 'typedef string TIntermediateDirectory'
215  /// @return
216  /// - true, if a value has been assigned.
217  /// - false, otherwise.
218  bool IsSetIntermediateDirectory(void) const;
219 
220  /// Check if it is safe to call GetIntermediateDirectory method.
221  ///
222  /// @return
223  /// - true, if the data member is getatable.
224  /// - false, otherwise.
225  bool CanGetIntermediateDirectory(void) const;
226 
227  /// Reset IntermediateDirectory data member.
228  void ResetIntermediateDirectory(void);
229 
230  /// Get the IntermediateDirectory member data.
231  ///
232  /// @return
233  /// Reference to the member data.
235 
236  /// Assign a value to IntermediateDirectory data member.
237  ///
238  /// @param value
239  /// Value to assign
242 
243  /// Assign a value to IntermediateDirectory data member.
244  ///
245  /// @return
246  /// Reference to the data value.
248 
249  /// Check if a value has been assigned to ConfigurationType data member.
250  ///
251  /// Data member ConfigurationType is mandatory;
252  /// its type is defined as 'typedef string TConfigurationType'
253  /// @return
254  /// - true, if a value has been assigned.
255  /// - false, otherwise.
256  bool IsSetConfigurationType(void) const;
257 
258  /// Check if it is safe to call GetConfigurationType method.
259  ///
260  /// @return
261  /// - true, if the data member is getatable.
262  /// - false, otherwise.
263  bool CanGetConfigurationType(void) const;
264 
265  /// Reset ConfigurationType data member.
266  void ResetConfigurationType(void);
267 
268  /// Get the ConfigurationType member data.
269  ///
270  /// @return
271  /// Reference to the member data.
272  const TConfigurationType& GetConfigurationType(void) const;
273 
274  /// Assign a value to ConfigurationType data member.
275  ///
276  /// @param value
277  /// Value to assign
280 
281  /// Assign a value to ConfigurationType data member.
282  ///
283  /// @return
284  /// Reference to the data value.
286 
287  /// Check if a value has been assigned to UseOfMFC data member.
288  ///
289  /// Data member UseOfMFC is optional;
290  /// its type is defined as 'typedef string TUseOfMFC'
291  /// @return
292  /// - true, if a value has been assigned.
293  /// - false, otherwise.
294  bool IsSetUseOfMFC(void) const;
295 
296  /// Check if it is safe to call GetUseOfMFC method.
297  ///
298  /// @return
299  /// - true, if the data member is getatable.
300  /// - false, otherwise.
301  bool CanGetUseOfMFC(void) const;
302 
303  /// Reset UseOfMFC data member.
304  void ResetUseOfMFC(void);
305 
306  /// Get the UseOfMFC member data.
307  ///
308  /// @return
309  /// Reference to the member data.
310  const TUseOfMFC& GetUseOfMFC(void) const;
311 
312  /// Assign a value to UseOfMFC data member.
313  ///
314  /// @param value
315  /// Value to assign
316  void SetUseOfMFC(const TUseOfMFC& value);
317  void SetUseOfMFC(TUseOfMFC&& value);
318 
319  /// Assign a value to UseOfMFC data member.
320  ///
321  /// @return
322  /// Reference to the data value.
323  TUseOfMFC& SetUseOfMFC(void);
324 
325  /// Check if a value has been assigned to ATLMinimizesCRunTimeLibraryUsage data member.
326  ///
327  /// Data member ATLMinimizesCRunTimeLibraryUsage is optional;
328  /// its type is defined as 'typedef string TATLMinimizesCRunTimeLibraryUsage'
329  /// @return
330  /// - true, if a value has been assigned.
331  /// - false, otherwise.
332  bool IsSetATLMinimizesCRunTimeLibraryUsage(void) const;
333 
334  /// Check if it is safe to call GetATLMinimizesCRunTimeLibraryUsage method.
335  ///
336  /// @return
337  /// - true, if the data member is getatable.
338  /// - false, otherwise.
340 
341  /// Reset ATLMinimizesCRunTimeLibraryUsage data member.
343 
344  /// Get the ATLMinimizesCRunTimeLibraryUsage member data.
345  ///
346  /// @return
347  /// Reference to the member data.
349 
350  /// Assign a value to ATLMinimizesCRunTimeLibraryUsage data member.
351  ///
352  /// @param value
353  /// Value to assign
356 
357  /// Assign a value to ATLMinimizesCRunTimeLibraryUsage data member.
358  ///
359  /// @return
360  /// Reference to the data value.
362 
363  /// Check if a value has been assigned to CharacterSet data member.
364  ///
365  /// Data member CharacterSet is optional;
366  /// its type is defined as 'typedef string TCharacterSet'
367  /// @return
368  /// - true, if a value has been assigned.
369  /// - false, otherwise.
370  bool IsSetCharacterSet(void) const;
371 
372  /// Check if it is safe to call GetCharacterSet method.
373  ///
374  /// @return
375  /// - true, if the data member is getatable.
376  /// - false, otherwise.
377  bool CanGetCharacterSet(void) const;
378 
379  /// Reset CharacterSet data member.
380  void ResetCharacterSet(void);
381 
382  /// Get the CharacterSet member data.
383  ///
384  /// @return
385  /// Reference to the member data.
386  const TCharacterSet& GetCharacterSet(void) const;
387 
388  /// Assign a value to CharacterSet data member.
389  ///
390  /// @param value
391  /// Value to assign
392  void SetCharacterSet(const TCharacterSet& value);
394 
395  /// Assign a value to CharacterSet data member.
396  ///
397  /// @return
398  /// Reference to the data value.
400 
401  /// Check if a value has been assigned to ManagedExtensions data member.
402  ///
403  /// Data member ManagedExtensions is optional;
404  /// its type is defined as 'typedef string TManagedExtensions'
405  /// @return
406  /// - true, if a value has been assigned.
407  /// - false, otherwise.
408  bool IsSetManagedExtensions(void) const;
409 
410  /// Check if it is safe to call GetManagedExtensions method.
411  ///
412  /// @return
413  /// - true, if the data member is getatable.
414  /// - false, otherwise.
415  bool CanGetManagedExtensions(void) const;
416 
417  /// Reset ManagedExtensions data member.
418  void ResetManagedExtensions(void);
419 
420  /// Get the ManagedExtensions member data.
421  ///
422  /// @return
423  /// Reference to the member data.
424  const TManagedExtensions& GetManagedExtensions(void) const;
425 
426  /// Assign a value to ManagedExtensions data member.
427  ///
428  /// @param value
429  /// Value to assign
432 
433  /// Assign a value to ManagedExtensions data member.
434  ///
435  /// @return
436  /// Reference to the data value.
438 
439  /// Check if a value has been assigned to BuildLogFile data member.
440  ///
441  /// Data member BuildLogFile is optional;
442  /// its type is defined as 'typedef string TBuildLogFile'
443  /// @return
444  /// - true, if a value has been assigned.
445  /// - false, otherwise.
446  bool IsSetBuildLogFile(void) const;
447 
448  /// Check if it is safe to call GetBuildLogFile method.
449  ///
450  /// @return
451  /// - true, if the data member is getatable.
452  /// - false, otherwise.
453  bool CanGetBuildLogFile(void) const;
454 
455  /// Reset BuildLogFile data member.
456  void ResetBuildLogFile(void);
457 
458  /// Get the BuildLogFile member data.
459  ///
460  /// @return
461  /// Reference to the member data.
462  const TBuildLogFile& GetBuildLogFile(void) const;
463 
464  /// Assign a value to BuildLogFile data member.
465  ///
466  /// @param value
467  /// Value to assign
468  void SetBuildLogFile(const TBuildLogFile& value);
470 
471  /// Assign a value to BuildLogFile data member.
472  ///
473  /// @return
474  /// Reference to the data value.
476 
477  /// Reset the whole object
478  void Reset(void);
479 
480 
481  private:
482  // Prohibit copy constructor and assignment operator
485 
486  // data
488  string m_Name;
492  string m_UseOfMFC;
497  };
498  // types
500  typedef list< CRef< CTool > > TTool;
501 
502  // member index
503  enum class E_memberIndex {
504  e__allMandatory = 0,
505  e_Attlist,
506  e_Tool
507  };
509 
510  // getters
511  // setters
512 
513  /// Check if a value has been assigned to Attlist data member.
514  ///
515  /// Data member Attlist is mandatory;
516  /// its type is defined as 'typedef C_Attlist TAttlist'
517  /// @return
518  /// - true, if a value has been assigned.
519  /// - false, otherwise.
520  bool IsSetAttlist(void) const;
521 
522  /// Check if it is safe to call GetAttlist method.
523  ///
524  /// @return
525  /// - true, if the data member is getatable.
526  /// - false, otherwise.
527  bool CanGetAttlist(void) const;
528 
529  /// Reset Attlist data member.
530  void ResetAttlist(void);
531 
532  /// Get the Attlist member data.
533  ///
534  /// @return
535  /// Reference to the member data.
536  const TAttlist& GetAttlist(void) const;
537 
538  /// Assign a value to Attlist data member.
539  ///
540  /// @param value
541  /// Reference to value.
542  void SetAttlist(TAttlist& value);
543 
544  /// Assign a value to Attlist data member.
545  ///
546  /// @return
547  /// Reference to the data value.
548  TAttlist& SetAttlist(void);
549 
550  /// Check if a value has been assigned to Tool data member.
551  ///
552  /// Data member Tool is mandatory;
553  /// its type is defined as 'typedef list< CRef< CTool > > TTool'
554  /// @return
555  /// - true, if a value has been assigned.
556  /// - false, otherwise.
557  bool IsSetTool(void) const;
558 
559  /// Check if it is safe to call GetTool method.
560  ///
561  /// @return
562  /// - true, if the data member is getatable.
563  /// - false, otherwise.
564  bool CanGetTool(void) const;
565 
566  /// Reset Tool data member.
567  void ResetTool(void);
568 
569  /// Get the Tool member data.
570  ///
571  /// @return
572  /// Reference to the member data.
573  const TTool& GetTool(void) const;
574 
575  /// Assign a value to Tool data member.
576  ///
577  /// @return
578  /// Reference to the data value.
579  TTool& SetTool(void);
580 
581  /// Reset the whole object
582  virtual void Reset(void);
583 
584 
585 private:
586  // Prohibit copy constructor and assignment operator
589 
590  // data
593  list< CRef< CTool > > m_Tool;
594 };
595 
596 /* @} */
597 
598 
599 
600 
601 
602 ///////////////////////////////////////////////////////////
603 ///////////////////// inline methods //////////////////////
604 ///////////////////////////////////////////////////////////
605 inline
607 {
608  return ((m_set_State[0] & 0x3) != 0);
609 }
610 
611 inline
613 {
614  return IsSetName();
615 }
616 
617 inline
619 {
620  if (!CanGetName()) {
621  ThrowUnassigned(0);
622  }
623  return m_Name;
624 }
625 
626 inline
628 {
629  m_Name = value;
630  m_set_State[0] |= 0x3;
631 }
632 
633 inline
635 {
636  m_Name = std::forward<CConfiguration_Base::C_Attlist::TName>(value);
637  m_set_State[0] |= 0x3;
638 }
639 
640 inline
642 {
643 #ifdef _DEBUG
644  if (!IsSetName()) {
645  m_Name = UnassignedString();
646  }
647 #endif
648  m_set_State[0] |= 0x1;
649  return m_Name;
650 }
651 
652 inline
654 {
655  return ((m_set_State[0] & 0xc) != 0);
656 }
657 
658 inline
660 {
661  return IsSetOutputDirectory();
662 }
663 
664 inline
666 {
667  if (!CanGetOutputDirectory()) {
668  ThrowUnassigned(1);
669  }
670  return m_OutputDirectory;
671 }
672 
673 inline
675 {
676  m_OutputDirectory = value;
677  m_set_State[0] |= 0xc;
678 }
679 
680 inline
682 {
683  m_OutputDirectory = std::forward<CConfiguration_Base::C_Attlist::TOutputDirectory>(value);
684  m_set_State[0] |= 0xc;
685 }
686 
687 inline
689 {
690 #ifdef _DEBUG
691  if (!IsSetOutputDirectory()) {
692  m_OutputDirectory = UnassignedString();
693  }
694 #endif
695  m_set_State[0] |= 0x4;
696  return m_OutputDirectory;
697 }
698 
699 inline
701 {
702  return ((m_set_State[0] & 0x30) != 0);
703 }
704 
705 inline
707 {
708  return IsSetIntermediateDirectory();
709 }
710 
711 inline
713 {
714  if (!CanGetIntermediateDirectory()) {
715  ThrowUnassigned(2);
716  }
717  return m_IntermediateDirectory;
718 }
719 
720 inline
722 {
723  m_IntermediateDirectory = value;
724  m_set_State[0] |= 0x30;
725 }
726 
727 inline
729 {
730  m_IntermediateDirectory = std::forward<CConfiguration_Base::C_Attlist::TIntermediateDirectory>(value);
731  m_set_State[0] |= 0x30;
732 }
733 
734 inline
736 {
737 #ifdef _DEBUG
738  if (!IsSetIntermediateDirectory()) {
739  m_IntermediateDirectory = UnassignedString();
740  }
741 #endif
742  m_set_State[0] |= 0x10;
743  return m_IntermediateDirectory;
744 }
745 
746 inline
748 {
749  return ((m_set_State[0] & 0xc0) != 0);
750 }
751 
752 inline
754 {
755  return IsSetConfigurationType();
756 }
757 
758 inline
760 {
761  if (!CanGetConfigurationType()) {
762  ThrowUnassigned(3);
763  }
764  return m_ConfigurationType;
765 }
766 
767 inline
769 {
770  m_ConfigurationType = value;
771  m_set_State[0] |= 0xc0;
772 }
773 
774 inline
776 {
777  m_ConfigurationType = std::forward<CConfiguration_Base::C_Attlist::TConfigurationType>(value);
778  m_set_State[0] |= 0xc0;
779 }
780 
781 inline
783 {
784 #ifdef _DEBUG
785  if (!IsSetConfigurationType()) {
786  m_ConfigurationType = UnassignedString();
787  }
788 #endif
789  m_set_State[0] |= 0x40;
790  return m_ConfigurationType;
791 }
792 
793 inline
795 {
796  return ((m_set_State[0] & 0x300) != 0);
797 }
798 
799 inline
801 {
802  return IsSetUseOfMFC();
803 }
804 
805 inline
807 {
808  if (!CanGetUseOfMFC()) {
809  ThrowUnassigned(4);
810  }
811  return m_UseOfMFC;
812 }
813 
814 inline
816 {
817  m_UseOfMFC = value;
818  m_set_State[0] |= 0x300;
819 }
820 
821 inline
823 {
824  m_UseOfMFC = std::forward<CConfiguration_Base::C_Attlist::TUseOfMFC>(value);
825  m_set_State[0] |= 0x300;
826 }
827 
828 inline
830 {
831 #ifdef _DEBUG
832  if (!IsSetUseOfMFC()) {
833  m_UseOfMFC = UnassignedString();
834  }
835 #endif
836  m_set_State[0] |= 0x100;
837  return m_UseOfMFC;
838 }
839 
840 inline
842 {
843  return ((m_set_State[0] & 0xc00) != 0);
844 }
845 
846 inline
848 {
849  return IsSetATLMinimizesCRunTimeLibraryUsage();
850 }
851 
852 inline
854 {
855  if (!CanGetATLMinimizesCRunTimeLibraryUsage()) {
856  ThrowUnassigned(5);
857  }
858  return m_ATLMinimizesCRunTimeLibraryUsage;
859 }
860 
861 inline
863 {
864  m_ATLMinimizesCRunTimeLibraryUsage = value;
865  m_set_State[0] |= 0xc00;
866 }
867 
868 inline
870 {
871  m_ATLMinimizesCRunTimeLibraryUsage = std::forward<CConfiguration_Base::C_Attlist::TATLMinimizesCRunTimeLibraryUsage>(value);
872  m_set_State[0] |= 0xc00;
873 }
874 
875 inline
877 {
878 #ifdef _DEBUG
879  if (!IsSetATLMinimizesCRunTimeLibraryUsage()) {
880  m_ATLMinimizesCRunTimeLibraryUsage = UnassignedString();
881  }
882 #endif
883  m_set_State[0] |= 0x400;
884  return m_ATLMinimizesCRunTimeLibraryUsage;
885 }
886 
887 inline
889 {
890  return ((m_set_State[0] & 0x3000) != 0);
891 }
892 
893 inline
895 {
896  return IsSetCharacterSet();
897 }
898 
899 inline
901 {
902  if (!CanGetCharacterSet()) {
903  ThrowUnassigned(6);
904  }
905  return m_CharacterSet;
906 }
907 
908 inline
910 {
911  m_CharacterSet = value;
912  m_set_State[0] |= 0x3000;
913 }
914 
915 inline
917 {
918  m_CharacterSet = std::forward<CConfiguration_Base::C_Attlist::TCharacterSet>(value);
919  m_set_State[0] |= 0x3000;
920 }
921 
922 inline
924 {
925 #ifdef _DEBUG
926  if (!IsSetCharacterSet()) {
927  m_CharacterSet = UnassignedString();
928  }
929 #endif
930  m_set_State[0] |= 0x1000;
931  return m_CharacterSet;
932 }
933 
934 inline
936 {
937  return ((m_set_State[0] & 0xc000) != 0);
938 }
939 
940 inline
942 {
943  return IsSetManagedExtensions();
944 }
945 
946 inline
948 {
949  if (!CanGetManagedExtensions()) {
950  ThrowUnassigned(7);
951  }
952  return m_ManagedExtensions;
953 }
954 
955 inline
957 {
958  m_ManagedExtensions = value;
959  m_set_State[0] |= 0xc000;
960 }
961 
962 inline
964 {
965  m_ManagedExtensions = std::forward<CConfiguration_Base::C_Attlist::TManagedExtensions>(value);
966  m_set_State[0] |= 0xc000;
967 }
968 
969 inline
971 {
972 #ifdef _DEBUG
973  if (!IsSetManagedExtensions()) {
974  m_ManagedExtensions = UnassignedString();
975  }
976 #endif
977  m_set_State[0] |= 0x4000;
978  return m_ManagedExtensions;
979 }
980 
981 inline
983 {
984  return ((m_set_State[0] & 0x30000) != 0);
985 }
986 
987 inline
989 {
990  return IsSetBuildLogFile();
991 }
992 
993 inline
995 {
996  if (!CanGetBuildLogFile()) {
997  ThrowUnassigned(8);
998  }
999  return m_BuildLogFile;
1000 }
1001 
1002 inline
1004 {
1005  m_BuildLogFile = value;
1006  m_set_State[0] |= 0x30000;
1007 }
1008 
1009 inline
1011 {
1012  m_BuildLogFile = std::forward<CConfiguration_Base::C_Attlist::TBuildLogFile>(value);
1013  m_set_State[0] |= 0x30000;
1014 }
1015 
1016 inline
1018 {
1019 #ifdef _DEBUG
1020  if (!IsSetBuildLogFile()) {
1021  m_BuildLogFile = UnassignedString();
1022  }
1023 #endif
1024  m_set_State[0] |= 0x10000;
1025  return m_BuildLogFile;
1026 }
1027 
1028 inline
1030 {
1031  return m_Attlist.NotEmpty();
1032 }
1033 
1034 inline
1036 {
1037  return true;
1038 }
1039 
1040 inline
1042 {
1043  if ( !m_Attlist ) {
1044  const_cast<CConfiguration_Base*>(this)->ResetAttlist();
1045  }
1046  return (*m_Attlist);
1047 }
1048 
1049 inline
1051 {
1052  if ( !m_Attlist ) {
1053  ResetAttlist();
1054  }
1055  return (*m_Attlist);
1056 }
1057 
1058 inline
1060 {
1061  return ((m_set_State[0] & 0xc) != 0);
1062 }
1063 
1064 inline
1066 {
1067  return true;
1068 }
1069 
1070 inline
1072 {
1073  return m_Tool;
1074 }
1075 
1076 inline
1078 {
1079  m_set_State[0] |= 0x4;
1080  return m_Tool;
1081 }
1082 
1083 ///////////////////////////////////////////////////////////
1084 ////////////////// end of inline methods //////////////////
1085 ///////////////////////////////////////////////////////////
1086 
1087 
1088 
1089 
1090 
1091 END_objects_SCOPE // namespace ncbi::objects::
1092 
1094 
1095 
1096 #endif // BUILD_SYSTEM_PROJECT_TREE_BUILDER_CONFIGURATION_BASE_HPP
CConfiguration_Base –.
CRef –.
Definition: ncbiobj.hpp:618
Base class for all serializable objects.
Definition: serialbase.hpp:150
CTool –.
Definition: Tool.hpp:66
char value[7]
Definition: config.c:431
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
const TUseOfMFC & GetUseOfMFC(void) const
Get the UseOfMFC member data.
list< CRef< CTool > > m_Tool
void ResetTool(void)
Reset Tool data member.
void ResetOutputDirectory(void)
Reset OutputDirectory data member.
bool CanGetManagedExtensions(void) const
Check if it is safe to call GetManagedExtensions method.
TCharacterSet & SetCharacterSet(void)
Assign a value to CharacterSet data member.
CConfiguration_Base & operator=(const CConfiguration_Base &)
void ResetATLMinimizesCRunTimeLibraryUsage(void)
Reset ATLMinimizesCRunTimeLibraryUsage data member.
void Reset(void)
Reset the whole object.
bool CanGetUseOfMFC(void) const
Check if it is safe to call GetUseOfMFC method.
CRef< TAttlist > m_Attlist
const TConfigurationType & GetConfigurationType(void) const
Get the ConfigurationType member data.
bool IsSetManagedExtensions(void) const
Check if a value has been assigned to ManagedExtensions data member.
void ResetConfigurationType(void)
Reset ConfigurationType data member.
TOutputDirectory & SetOutputDirectory(void)
Assign a value to OutputDirectory data member.
bool CanGetIntermediateDirectory(void) const
Check if it is safe to call GetIntermediateDirectory method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
void ResetAttlist(void)
Reset Attlist data member.
bool CanGetATLMinimizesCRunTimeLibraryUsage(void) const
Check if it is safe to call GetATLMinimizesCRunTimeLibraryUsage method.
const TBuildLogFile & GetBuildLogFile(void) const
Get the BuildLogFile member data.
const TIntermediateDirectory & GetIntermediateDirectory(void) const
Get the IntermediateDirectory member data.
bool IsSetCharacterSet(void) const
Check if a value has been assigned to CharacterSet data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
CSerialObject Tparent
const TCharacterSet & GetCharacterSet(void) const
Get the CharacterSet member data.
TTool & SetTool(void)
Assign a value to Tool data member.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
const TTool & GetTool(void) const
Get the Tool member data.
TConfigurationType & SetConfigurationType(void)
Assign a value to ConfigurationType data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
void ResetIntermediateDirectory(void)
Reset IntermediateDirectory data member.
virtual ~CConfiguration_Base(void)
void ResetBuildLogFile(void)
Reset BuildLogFile data member.
bool IsSetOutputDirectory(void) const
Check if a value has been assigned to OutputDirectory data member.
const TOutputDirectory & GetOutputDirectory(void) const
Get the OutputDirectory member data.
void ResetName(void)
Reset Name data member.
bool CanGetBuildLogFile(void) const
Check if it is safe to call GetBuildLogFile method.
bool IsSetIntermediateDirectory(void) const
Check if a value has been assigned to IntermediateDirectory data member.
bool IsSetATLMinimizesCRunTimeLibraryUsage(void) const
Check if a value has been assigned to ATLMinimizesCRunTimeLibraryUsage data member.
bool IsSetUseOfMFC(void) const
Check if a value has been assigned to UseOfMFC data member.
bool CanGetTool(void) const
Check if it is safe to call GetTool method.
bool CanGetOutputDirectory(void) const
Check if it is safe to call GetOutputDirectory method.
TUseOfMFC & SetUseOfMFC(void)
Assign a value to UseOfMFC data member.
void ResetManagedExtensions(void)
Reset ManagedExtensions data member.
bool IsSetBuildLogFile(void) const
Check if a value has been assigned to BuildLogFile data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TATLMinimizesCRunTimeLibraryUsage & SetATLMinimizesCRunTimeLibraryUsage(void)
Assign a value to ATLMinimizesCRunTimeLibraryUsage data member.
const TATLMinimizesCRunTimeLibraryUsage & GetATLMinimizesCRunTimeLibraryUsage(void) const
Get the ATLMinimizesCRunTimeLibraryUsage member data.
list< CRef< CTool > > TTool
TManagedExtensions & SetManagedExtensions(void)
Assign a value to ManagedExtensions data member.
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
void ResetUseOfMFC(void)
Reset UseOfMFC data member.
const TManagedExtensions & GetManagedExtensions(void) const
Get the ManagedExtensions member data.
TBuildLogFile & SetBuildLogFile(void)
Assign a value to BuildLogFile data member.
bool IsSetTool(void) const
Check if a value has been assigned to Tool data member.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
TName & SetName(void)
Assign a value to Name data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
void ResetCharacterSet(void)
Reset CharacterSet data member.
C_Attlist(const C_Attlist &)
const TName & GetName(void) const
Get the Name member data.
C_Attlist & operator=(const C_Attlist &)
virtual void Reset(void)
Reset the whole object.
bool IsSetConfigurationType(void) const
Check if a value has been assigned to ConfigurationType data member.
bool CanGetCharacterSet(void) const
Check if it is safe to call GetCharacterSet method.
TIntermediateDirectory & SetIntermediateDirectory(void)
Assign a value to IntermediateDirectory data member.
bool CanGetConfigurationType(void) const
Check if it is safe to call GetConfigurationType method.
CConfiguration_Base(const CConfiguration_Base &)
Modified on Mon Mar 04 05:10:21 2024 by modify_doxy.py rev. 669887