NCBI C++ ToolKit
Filter_.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 Filter_.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_FILTER_BASE_HPP
42 #define BUILD_SYSTEM_PROJECT_TREE_BUILDER_FILTER_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 CFFile;
62 class CFilter;
63 
64 
65 // generated classes
66 
67 
68 /** @addtogroup dataspec_msvc71_project
69  *
70  * @{
71  */
72 
73 /////////////////////////////////////////////////////////////////////////////
74 ///
75 /// CFilter_Base --
76 ///
77 
79 {
81 public:
82  // constructor
83  CFilter_Base(void);
84  // destructor
85  virtual ~CFilter_Base(void);
86 
87  // type info
89 
90  /////////////////////////////////////////////////////////////////////////////
91  ///
92  /// C_Attlist --
93  ///
94 
95  class C_Attlist : public CSerialObject
96  {
98  public:
99  // constructor
100  C_Attlist(void);
101  // destructor
102  ~C_Attlist(void);
103 
104  // type info
106 
107  // types
108  typedef string TName;
109  typedef string TFilter;
110  typedef string TUniqueIdentifier;
111 
112  // member index
113  enum class E_memberIndex {
114  e__allMandatory = 0,
115  e_Name,
116  e_Filter,
118  };
120 
121  // getters
122  // setters
123 
124  /// Check if a value has been assigned to Name data member.
125  ///
126  /// Data member Name is mandatory;
127  /// its type is defined as 'typedef string TName'
128  /// @return
129  /// - true, if a value has been assigned.
130  /// - false, otherwise.
131  bool IsSetName(void) const;
132 
133  /// Check if it is safe to call GetName method.
134  ///
135  /// @return
136  /// - true, if the data member is getatable.
137  /// - false, otherwise.
138  bool CanGetName(void) const;
139 
140  /// Reset Name data member.
141  void ResetName(void);
142 
143  /// Get the Name member data.
144  ///
145  /// @return
146  /// Reference to the member data.
147  const TName& GetName(void) const;
148 
149  /// Assign a value to Name data member.
150  ///
151  /// @param value
152  /// Value to assign
153  void SetName(const TName& value);
154  void SetName(TName&& value);
155 
156  /// Assign a value to Name data member.
157  ///
158  /// @return
159  /// Reference to the data value.
160  TName& SetName(void);
161 
162  /// Check if a value has been assigned to Filter data member.
163  ///
164  /// Data member Filter is mandatory;
165  /// its type is defined as 'typedef string TFilter'
166  /// @return
167  /// - true, if a value has been assigned.
168  /// - false, otherwise.
169  bool IsSetFilter(void) const;
170 
171  /// Check if it is safe to call GetFilter method.
172  ///
173  /// @return
174  /// - true, if the data member is getatable.
175  /// - false, otherwise.
176  bool CanGetFilter(void) const;
177 
178  /// Reset Filter data member.
179  void ResetFilter(void);
180 
181  /// Get the Filter member data.
182  ///
183  /// @return
184  /// Reference to the member data.
185  const TFilter& GetFilter(void) const;
186 
187  /// Assign a value to Filter data member.
188  ///
189  /// @param value
190  /// Value to assign
191  void SetFilter(const TFilter& value);
192  void SetFilter(TFilter&& value);
193 
194  /// Assign a value to Filter data member.
195  ///
196  /// @return
197  /// Reference to the data value.
198  TFilter& SetFilter(void);
199 
200  /// Check if a value has been assigned to UniqueIdentifier data member.
201  ///
202  /// Data member UniqueIdentifier is optional;
203  /// its type is defined as 'typedef string TUniqueIdentifier'
204  /// @return
205  /// - true, if a value has been assigned.
206  /// - false, otherwise.
207  bool IsSetUniqueIdentifier(void) const;
208 
209  /// Check if it is safe to call GetUniqueIdentifier method.
210  ///
211  /// @return
212  /// - true, if the data member is getatable.
213  /// - false, otherwise.
214  bool CanGetUniqueIdentifier(void) const;
215 
216  /// Reset UniqueIdentifier data member.
217  void ResetUniqueIdentifier(void);
218 
219  /// Get the UniqueIdentifier member data.
220  ///
221  /// @return
222  /// Reference to the member data.
223  const TUniqueIdentifier& GetUniqueIdentifier(void) const;
224 
225  /// Assign a value to UniqueIdentifier data member.
226  ///
227  /// @param value
228  /// Value to assign
231 
232  /// Assign a value to UniqueIdentifier data member.
233  ///
234  /// @return
235  /// Reference to the data value.
237 
238  /// Reset the whole object
239  void Reset(void);
240 
241 
242  private:
243  // Prohibit copy constructor and assignment operator
246 
247  // data
249  string m_Name;
250  string m_Filter;
252  };
253  /////////////////////////////////////////////////////////////////////////////
254  ///
255  /// C_FF --
256  ///
257 
258  class C_FF : public CSerialObject
259  {
261  public:
262  // constructor
263  C_FF(void);
264  // destructor
265  ~C_FF(void);
266 
267  // type info
269 
270  /////////////////////////////////////////////////////////////////////////////
271  ///
272  /// C_E_FF --
273  ///
274 
275  class C_E_FF : public CSerialObject
276  {
278  public:
279  // constructor
280  C_E_FF(void);
281  // destructor
282  ~C_E_FF(void);
283 
284  // type info
286 
287 
288  /// Choice variants.
289  enum E_Choice {
290  e_not_set = 0, ///< No variant selected
292  e_Filter
293  };
294  /// Maximum+1 value of the choice variant enumerator.
296  e_MaxChoice = 3 ///< == e_Filter+1
297  };
298 
299  /// Reset the whole object
300  void Reset(void);
301 
302  /// Reset the selection (set it to e_not_set).
303  void ResetSelection(void);
304 
305  /// Which variant is currently selected.
306  ///
307  /// @return
308  /// Choice state enumerator.
309  E_Choice Which(void) const;
310 
311  /// Verify selection, throw exception if it differs from the expected.
312  ///
313  /// @param index
314  /// Expected selection.
315  void CheckSelected(E_Choice index) const;
316 
317  /// Throw 'InvalidSelection' exception.
318  ///
319  /// @param index
320  /// Expected selection.
321  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
322 
323  /// Retrieve selection name (for diagnostic purposes).
324  ///
325  /// @param index
326  /// One of possible selection states.
327  /// @return
328  /// Name string.
329  static string SelectionName(E_Choice index);
330 
331  /// Select the requested variant if needed.
332  ///
333  /// @param index
334  /// New selection state.
335  /// @param reset
336  /// Flag that defines the resetting of the variant data. The data will
337  /// be reset if either the current selection differs from the new one,
338  /// or the flag is set to eDoResetVariant.
340  /// Select the requested variant if needed,
341  /// allocating CObject variants from memory pool.
342  void Select(E_Choice index,
343  EResetVariant reset,
344  CObjectMemoryPool* pool);
345 
346  // types
347  typedef CFFile TFile;
348  typedef CFilter TFilter;
349 
350  // getters
351  // setters
352 
353 
354  /// Check if variant File is selected.
355  ///
356  /// File type is defined as 'typedef CFFile TFile'.
357  /// @return
358  /// - true, if the variant is selected.
359  /// - false, otherwise.
360  bool IsFile(void) const;
361 
362  /// Get the variant data.
363  ///
364  /// @return
365  /// Reference to the data.
366  const TFile& GetFile(void) const;
367 
368  /// Select the variant.
369  ///
370  /// @return
371  /// Reference to the variant data.
372  TFile& SetFile(void);
373  /// Select the variant and set its data.
374  ///
375  /// @param value
376  /// Reference to the data.
377  void SetFile(TFile& value);
378 
379 
380  /// Check if variant Filter is selected.
381  ///
382  /// Filter type is defined as 'typedef CFilter TFilter'.
383  /// @return
384  /// - true, if the variant is selected.
385  /// - false, otherwise.
386  bool IsFilter(void) const;
387 
388  /// Get the variant data.
389  ///
390  /// @return
391  /// Reference to the data.
392  const TFilter& GetFilter(void) const;
393 
394  /// Select the variant.
395  ///
396  /// @return
397  /// Reference to the variant data.
398  TFilter& SetFilter(void);
399  /// Select the variant and set its data.
400  ///
401  /// @param value
402  /// Reference to the data.
403  void SetFilter(TFilter& value);
404 
405 
406  private:
407  // copy constructor and assignment operator
408  C_E_FF(const C_E_FF& );
410  // choice state
412  // helper methods
413  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
414 
415  static const char* const sm_SelectionNames[];
416  // data
417  NCBI_NS_NCBI::CSerialObject *m_object;
418  };
419  // types
420  typedef C_E_FF C_E;
421  typedef list< CRef< C_E_FF > > TFF;
422 
423  // member index
424  enum class E_memberIndex {
425  e__allMandatory = 0,
426  e_FF
427  };
429 
430  // getters
431  // setters
432 
433  /// Check if a value has been assigned to FF data member.
434  ///
435  /// Data member FF is optional;
436  /// its type is defined as 'typedef list< CRef< C_E_FF > > TFF'
437  /// @return
438  /// - true, if a value has been assigned.
439  /// - false, otherwise.
440  bool IsSetFF(void) const;
441 
442  /// Check if it is safe to call GetFF method.
443  ///
444  /// @return
445  /// - true, if the data member is getatable.
446  /// - false, otherwise.
447  bool CanGetFF(void) const;
448 
449  /// Reset FF data member.
450  void ResetFF(void);
451 
452  /// Get the FF member data.
453  ///
454  /// @return
455  /// Reference to the member data.
456  const TFF& GetFF(void) const;
457 
458  /// Assign a value to FF data member.
459  ///
460  /// @return
461  /// Reference to the data value.
462  TFF& SetFF(void);
463 
464  /// Reset the whole object
465  void Reset(void);
466 
467 
468  private:
469  // Prohibit copy constructor and assignment operator
470  C_FF(const C_FF&);
471  C_FF& operator=(const C_FF&);
472 
473  // data
475  list< CRef< C_E_FF > > m_FF;
476  };
477  // types
479  typedef C_FF TFF;
480 
481  // member index
482  enum class E_memberIndex {
483  e__allMandatory = 0,
484  e_Attlist,
485  e_FF
486  };
488 
489  // getters
490  // setters
491 
492  /// Check if a value has been assigned to Attlist data member.
493  ///
494  /// Data member Attlist is mandatory;
495  /// its type is defined as 'typedef C_Attlist TAttlist'
496  /// @return
497  /// - true, if a value has been assigned.
498  /// - false, otherwise.
499  bool IsSetAttlist(void) const;
500 
501  /// Check if it is safe to call GetAttlist method.
502  ///
503  /// @return
504  /// - true, if the data member is getatable.
505  /// - false, otherwise.
506  bool CanGetAttlist(void) const;
507 
508  /// Reset Attlist data member.
509  void ResetAttlist(void);
510 
511  /// Get the Attlist member data.
512  ///
513  /// @return
514  /// Reference to the member data.
515  const TAttlist& GetAttlist(void) const;
516 
517  /// Assign a value to Attlist data member.
518  ///
519  /// @param value
520  /// Reference to value.
521  void SetAttlist(TAttlist& value);
522 
523  /// Assign a value to Attlist data member.
524  ///
525  /// @return
526  /// Reference to the data value.
527  TAttlist& SetAttlist(void);
528 
529  /// Check if a value has been assigned to FF data member.
530  ///
531  /// Data member FF is optional;
532  /// its type is defined as 'typedef C_FF TFF'
533  /// @return
534  /// - true, if a value has been assigned.
535  /// - false, otherwise.
536  bool IsSetFF(void) const;
537 
538  /// Check if it is safe to call GetFF method.
539  ///
540  /// @return
541  /// - true, if the data member is getatable.
542  /// - false, otherwise.
543  bool CanGetFF(void) const;
544 
545  /// Reset FF data member.
546  void ResetFF(void);
547 
548  /// Get the FF member data.
549  ///
550  /// @return
551  /// Reference to the member data.
552  const TFF& GetFF(void) const;
553 
554  /// Assign a value to FF data member.
555  ///
556  /// @param value
557  /// Reference to value.
558  void SetFF(TFF& value);
559 
560  /// Assign a value to FF data member.
561  ///
562  /// @return
563  /// Reference to the data value.
564  TFF& SetFF(void);
565 
566  /// Reset the whole object
567  virtual void Reset(void);
568 
569 
570 private:
571  // Prohibit copy constructor and assignment operator
574 
575  // data
579 };
580 
581 /* @} */
582 
583 
584 
585 
586 
587 ///////////////////////////////////////////////////////////
588 ///////////////////// inline methods //////////////////////
589 ///////////////////////////////////////////////////////////
590 inline
592 {
593  return ((m_set_State[0] & 0x3) != 0);
594 }
595 
596 inline
598 {
599  return IsSetName();
600 }
601 
602 inline
604 {
605  if (!CanGetName()) {
606  ThrowUnassigned(0);
607  }
608  return m_Name;
609 }
610 
611 inline
613 {
614  m_Name = value;
615  m_set_State[0] |= 0x3;
616 }
617 
618 inline
620 {
621  m_Name = std::forward<CFilter_Base::C_Attlist::TName>(value);
622  m_set_State[0] |= 0x3;
623 }
624 
625 inline
627 {
628 #ifdef _DEBUG
629  if (!IsSetName()) {
630  m_Name = UnassignedString();
631  }
632 #endif
633  m_set_State[0] |= 0x1;
634  return m_Name;
635 }
636 
637 inline
639 {
640  return ((m_set_State[0] & 0xc) != 0);
641 }
642 
643 inline
645 {
646  return IsSetFilter();
647 }
648 
649 inline
651 {
652  if (!CanGetFilter()) {
653  ThrowUnassigned(1);
654  }
655  return m_Filter;
656 }
657 
658 inline
660 {
661  m_Filter = value;
662  m_set_State[0] |= 0xc;
663 }
664 
665 inline
667 {
668  m_Filter = std::forward<CFilter_Base::C_Attlist::TFilter>(value);
669  m_set_State[0] |= 0xc;
670 }
671 
672 inline
674 {
675 #ifdef _DEBUG
676  if (!IsSetFilter()) {
677  m_Filter = UnassignedString();
678  }
679 #endif
680  m_set_State[0] |= 0x4;
681  return m_Filter;
682 }
683 
684 inline
686 {
687  return ((m_set_State[0] & 0x30) != 0);
688 }
689 
690 inline
692 {
693  return IsSetUniqueIdentifier();
694 }
695 
696 inline
698 {
699  if (!CanGetUniqueIdentifier()) {
700  ThrowUnassigned(2);
701  }
702  return m_UniqueIdentifier;
703 }
704 
705 inline
707 {
709  m_set_State[0] |= 0x30;
710 }
711 
712 inline
714 {
715  m_UniqueIdentifier = std::forward<CFilter_Base::C_Attlist::TUniqueIdentifier>(value);
716  m_set_State[0] |= 0x30;
717 }
718 
719 inline
721 {
722 #ifdef _DEBUG
723  if (!IsSetUniqueIdentifier()) {
725  }
726 #endif
727  m_set_State[0] |= 0x10;
728  return m_UniqueIdentifier;
729 }
730 
731 inline
733 {
734  return m_choice;
735 }
736 
737 inline
739 {
740  if ( m_choice != index )
741  ThrowInvalidSelection(index);
742 }
743 
744 inline
745 void CFilter_Base::C_FF::C_E_FF::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
746 {
747  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
748  if ( m_choice != e_not_set )
749  ResetSelection();
750  DoSelect(index, pool);
751  }
752 }
753 
754 inline
756 {
757  Select(index, reset, 0);
758 }
759 
760 inline
762 {
763  return m_choice == e_File;
764 }
765 
766 inline
768 {
769  return m_choice == e_Filter;
770 }
771 
772 inline
774 {
775  return ((m_set_State[0] & 0x3) != 0);
776 }
777 
778 inline
780 {
781  return true;
782 }
783 
784 inline
786 {
787  return m_FF;
788 }
789 
790 inline
792 {
793  m_set_State[0] |= 0x1;
794  return m_FF;
795 }
796 
797 inline
799 {
800  return m_Attlist.NotEmpty();
801 }
802 
803 inline
805 {
806  return true;
807 }
808 
809 inline
811 {
812  if ( !m_Attlist ) {
813  const_cast<CFilter_Base*>(this)->ResetAttlist();
814  }
815  return (*m_Attlist);
816 }
817 
818 inline
820 {
821  if ( !m_Attlist ) {
822  ResetAttlist();
823  }
824  return (*m_Attlist);
825 }
826 
827 inline
828 bool CFilter_Base::IsSetFF(void) const
829 {
830  return m_FF.NotEmpty();
831 }
832 
833 inline
834 bool CFilter_Base::CanGetFF(void) const
835 {
836  return IsSetFF();
837 }
838 
839 inline
841 {
842  if (!CanGetFF()) {
843  ThrowUnassigned(1);
844  }
845  return (*m_FF);
846 }
847 
848 ///////////////////////////////////////////////////////////
849 ////////////////// end of inline methods //////////////////
850 ///////////////////////////////////////////////////////////
851 
852 
853 
854 
855 
856 END_objects_SCOPE // namespace ncbi::objects::
857 
859 
860 
861 #endif // BUILD_SYSTEM_PROJECT_TREE_BUILDER_FILTER_BASE_HPP
CFFile –.
Definition: File.hpp:66
C_Attlist –.
Definition: Filter_.hpp:96
CFilter_Base –.
Definition: Filter_.hpp:79
CFilter –.
Definition: Filter.hpp:66
CRef –.
Definition: ncbiobj.hpp:618
Base class for all serializable objects.
Definition: serialbase.hpp:150
void ThrowUnassigned(TMemberIndex index) const
EResetVariant
Definition: serialbase.hpp:76
static string UnassignedString(void)
Definition: serialbase.hpp:175
@ eDoResetVariant
Definition: serialbase.hpp:77
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
NCBI_NS_STD::string m_UniqueIdentifier
Definition: Filter_.hpp:307
bool CanGetUniqueIdentifier(void) const
Check if it is safe to call GetUniqueIdentifier method.
Definition: Filter_.hpp:404
bool IsSetUniqueIdentifier(void) const
Check if a value has been assigned to UniqueIdentifier data member.
Definition: Filter_.hpp:398
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
Definition: Filter_.hpp:295
virtual void Reset(void)
Reset the whole object.
Definition: Filter_.cpp:287
bool IsSetFilter(void) const
Check if a value has been assigned to Filter data member.
Definition: Filter_.hpp:638
const TName & GetName(void) const
Get the Name member data.
Definition: Filter_.hpp:603
bool IsSetFF(void) const
Check if a value has been assigned to FF data member.
Definition: Filter_.hpp:773
static const char *const sm_SelectionNames[]
Definition: Filter_.hpp:415
void ResetName(void)
Reset Name data member.
Definition: Filter_.cpp:51
virtual ~CFilter_Base(void)
Definition: Filter_.cpp:314
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
Definition: Filter_.cpp:141
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Definition: Filter_.hpp:798
const TFile & GetFile(void) const
Get the variant data.
Definition: Filter_.cpp:151
DECLARE_INTERNAL_TYPE_INFO()
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
Definition: Filter_.cpp:120
void ResetAttlist(void)
Reset Attlist data member.
Definition: Filter_.cpp:256
CRef< TFF > m_FF
Definition: Filter_.hpp:578
C_Attlist TAttlist
Definition: Filter_.hpp:478
void Reset(void)
Reset the whole object.
Definition: Filter_.cpp:228
CFilter_Base & operator=(const CFilter_Base &)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool CanGetFF(void) const
Check if it is safe to call GetFF method.
Definition: Filter_.hpp:834
CSerialObject Tparent
Definition: Filter_.hpp:260
void ResetFilter(void)
Reset Filter data member.
Definition: Filter_.cpp:57
void Reset(void)
Reset the whole object.
Definition: Filter_.cpp:69
NCBI_NS_NCBI::CSerialObject * m_object
Definition: Filter_.hpp:417
const TFilter & GetFilter(void) const
Get the Filter member data.
Definition: Filter_.hpp:650
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
Definition: Filter_.cpp:146
C_E_FF & operator=(const C_E_FF &)
E_Choice
Choice variants.
Definition: Filter_.hpp:289
bool CanGetFF(void) const
Check if it is safe to call GetFF method.
Definition: Filter_.hpp:779
bool IsFilter(void) const
Check if variant Filter is selected.
Definition: Filter_.hpp:767
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
Definition: Filter_.hpp:804
const TFF & GetFF(void) const
Get the FF member data.
Definition: Filter_.hpp:840
bool CanGetFilter(void) const
Check if it is safe to call GetFilter method.
Definition: Filter_.hpp:644
C_FF(const C_FF &)
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
Definition: Filter_.hpp:591
bool CanGetName(void) const
Check if it is safe to call GetName method.
Definition: Filter_.hpp:597
CSerialObject Tparent
Definition: Filter_.hpp:80
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
Definition: Filter_.hpp:810
CFilter_Base(const CFilter_Base &)
TFilter & SetFilter(void)
Assign a value to Filter data member.
Definition: Filter_.hpp:673
bool IsFile(void) const
Check if variant File is selected.
Definition: Filter_.hpp:761
TFilter & SetFilter(void)
Select the variant.
Definition: Filter_.cpp:179
void ResetFF(void)
Reset FF data member.
Definition: Filter_.cpp:270
TName & SetName(void)
Assign a value to Name data member.
Definition: Filter_.hpp:626
list< CRef< C_E_FF > > TFF
Definition: Filter_.hpp:421
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
Definition: Filter_.hpp:819
CSerialObject Tparent
Definition: Filter_.hpp:97
const TFF & GetFF(void) const
Get the FF member data.
Definition: Filter_.hpp:785
void ResetFF(void)
Reset FF data member.
Definition: Filter_.cpp:222
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
Definition: Filter_.hpp:738
list< CRef< C_E_FF > > m_FF
Definition: Filter_.hpp:475
E_Choice Which(void) const
Which variant is currently selected.
Definition: Filter_.hpp:732
void Reset(void)
Reset the whole object.
Definition: Filter_.cpp:101
TFF & SetFF(void)
Assign a value to FF data member.
Definition: Filter_.hpp:791
bool CanGetUniqueIdentifier(void) const
Check if it is safe to call GetUniqueIdentifier method.
Definition: Filter_.hpp:691
Uint4 m_set_State[1]
Definition: Filter_.hpp:474
void ResetSelection(void)
Reset the selection (set it to e_not_set).
Definition: Filter_.cpp:107
Uint4 m_set_State[1]
Definition: Filter_.hpp:576
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
const TUniqueIdentifier & GetUniqueIdentifier(void) const
Get the UniqueIdentifier member data.
Definition: Filter_.hpp:697
TFile & SetFile(void)
Select the variant.
Definition: Filter_.cpp:157
CFilter_Base(void)
Definition: Filter_.cpp:305
TFF & SetFF(void)
Assign a value to FF data member.
Definition: Filter_.cpp:280
TUniqueIdentifier & SetUniqueIdentifier(void)
Assign a value to UniqueIdentifier data member.
Definition: Filter_.hpp:720
C_Attlist(const C_Attlist &)
bool IsSetUniqueIdentifier(void) const
Check if a value has been assigned to UniqueIdentifier data member.
Definition: Filter_.hpp:685
const TFilter & GetFilter(void) const
Get the variant data.
Definition: Filter_.cpp:173
bool IsSetFF(void) const
Check if a value has been assigned to FF data member.
Definition: Filter_.hpp:828
void ResetUniqueIdentifier(void)
Reset UniqueIdentifier data member.
Definition: Filter_.cpp:63
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
Definition: Filter_.hpp:487
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
Definition: Filter_.hpp:428
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
Definition: Filter_.hpp:119
C_FF & operator=(const C_FF &)
CRef< TAttlist > m_Attlist
Definition: Filter_.hpp:577
C_Attlist & operator=(const C_Attlist &)
@ e_MaxChoice
== e_Filter+1
Definition: Filter_.hpp:296
@ e_not_set
No variant selected.
Definition: Filter_.hpp:290
@ e_not_set
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Mon May 06 04:51:00 2024 by modify_doxy.py rev. 669887