• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/include/wx/deprecated/

Lines Matching defs:wxExpr

30 #define PrologExpr wxExpr
65 class WXDLLIMPEXP_DEPRECATED wxExpr
75 wxExpr *first; // If is a list expr, points to the first node
78 wxExpr *next; // If this is a node in a list, points to the next node
79 wxExpr *last; // If is a list expr, points to the last node
81 wxExpr(wxExprType the_type, wxChar *word_or_string, bool allocate);
82 wxExpr(const wxString& functor); // Assume this is a new clause - pass functor
83 wxExpr(wxExprType the_type, const wxString& word_or_string = wxT(""));
84 wxExpr(long the_integer);
85 wxExpr(double the_real);
86 wxExpr(wxList *the_list);
87 ~wxExpr(void);
124 wxExpr *Arg(wxExprType type, int arg) const;
127 wxExpr *Nth(int arg) const;
133 wxExpr *Copy(void) const;
135 wxExpr *GetAttributeValueNode(const wxString& word) const; // Use only for a clause or list
136 wxExpr *AttributeValue(const wxString& word) const; // Use only for a clause
143 void Append(wxExpr *expr);
145 void Insert(wxExpr *expr);
148 inline wxExpr *GetFirst(void) const { return ((type == wxExprList) ? value.first : (wxExpr*)NULL); }
151 inline wxExpr *GetNext(void) const { return next; }
154 inline wxExpr *GetLast(void) const { return ((type == wxExprList) ? last : (wxExpr*)NULL); }
163 void AddAttributeValue(const wxString& attribute, wxExpr *value);
173 bool GetAttributeValue(const wxString& att, wxExpr **var) const;
180 inline void AssignAttributeValue(wxChar *att, wxExpr **var) const { GetAttributeValue(att, var); }
188 // so we can index into the wxExpr database and fish out the pointer.
192 DECLARE_NO_COPY_CLASS(wxExpr)
224 wxExpr *FindClause(long id) ; // Find a term based on an integer id attribute
229 wxExpr *FindClause(const wxString& word, const wxString& value);
230 wxExpr *FindClause(const wxString& word, long value);
231 wxExpr *FindClause(const wxString& word, double value);
232 wxExpr *FindClauseByFunctor(const wxString& functor);
234 wxExpr *HashFind(const wxString& functor, const wxString& value) const;
235 wxExpr *HashFind(const wxString& functor, long value) const;
237 void Append(wxExpr *expr); // Does cleverer things if hashing is on
261 WXDLLIMPEXP_DEPRECATED wxExpr* wxExprMakeCall(const wxString& functor ...);
263 #define wxExprMakeInteger(x) (new wxExpr((long)x))
264 #define wxExprMakeReal(x) (new wxExpr((double)x))
265 #define wxExprMakeString(x) (new wxExpr(wxExprString, x))
266 #define wxExprMakeWord(x) (new wxExpr(wxExprWord, x))
267 #define wxExprMake(x) (new wxExpr(x))
270 WXDLLIMPEXP_DEPRECATED bool wxExprIsFunctor(wxExpr *expr, const wxString& functor);