Lines Matching refs:QueryNode
21 // QueryNode
22 class QueryNode {
24 QueryNode();
25 virtual ~QueryNode();
28 virtual status_t SetChildAt(QueryNode *child, int32 index) = 0;
29 virtual QueryNode *ChildAt(int32 index) = 0;
35 class LeafNode : public QueryNode {
41 virtual status_t SetChildAt(QueryNode *child, int32 index);
42 virtual QueryNode *ChildAt(int32 index);
46 class UnaryNode : public QueryNode {
52 virtual status_t SetChildAt(QueryNode *child, int32 index);
53 virtual QueryNode *ChildAt(int32 index);
56 QueryNode *fChild;
60 class BinaryNode : public QueryNode {
66 virtual status_t SetChildAt(QueryNode *child, int32 index);
67 virtual QueryNode *ChildAt(int32 index);
70 QueryNode *fChild1;
71 QueryNode *fChild2;
193 status_t PushNode(QueryNode *node);
194 QueryNode *PopNode();
196 status_t ConvertToTree(QueryNode *&rootNode);
199 status_t _GetSubTree(QueryNode *&rootNode);