UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SimSel.hpp
1 /* SimSel.hpp */
2 /* $Id: SimSel.hpp,v 1.3 2004/12/10 09:19:09 vlad Exp $ */
3 #ifndef __SimSel_hpp
4 #define __SimSel_hpp
5 
6 #include <stdio.h>
7 #include <mix/simsel.h>
8 
9 
15 class SimSel : public UssExpr
16 {
17 public:
18 
21  SimSel ();
22 
24  SimSel (const UssExpr& ss);
25 
27  SimSel (const char* szTextRepr);
28 
30  virtual ~SimSel ();
31 
32 
34  SimSel& operator= (const UssExpr& ss);
35 
36 
38  void clean ();
39 
41  bool is_empty () const;
42 
44  void select_all ();
45 
47  bool check_select_all () const;
48 
56  void add_incl_rule (const char* dname,
57  UssOperator op,
58  ...
59  );
60 
62  void add_sort_rule (const char* dname,
63  Compar order
64  );
65 
67  void add_uniq_rule (const char* dname
68  );
69 
71  void add_fetch_rule (const char* dname,
72  UssOperator op
73  );
74 
77  char* to_string () const;
78 
81  ErrCode from_string (const char* str);
82 
83 
86  void print_self (FILE* fp = NULL) const;
87 
88 
89 protected:
90 
92  void init ();
93 
94 };
95 
96 
97 #endif /* SimSel.hpp */
char * to_string() const
virtual ~SimSel()
void add_sort_rule(const char *dname, Compar order)
ErrCode from_string(const char *str)
void print_self(FILE *fp=NULL) const
SimSel & operator=(const UssExpr &ss)
Definition: SimSel.hpp:15
Definition: simsel.h:102
void add_incl_rule(const char *dname, UssOperator op,...)
void clean()
void select_all()
void add_fetch_rule(const char *dname, UssOperator op)
void init()
bool is_empty() const
bool check_select_all() const
void add_uniq_rule(const char *dname)