Navigation: ABC Library Reference > QueryListClass > QueryListClass Methods >====== QueryListClass–Functional Organization–Expected Use ====== | |
As an aid to understanding the QueryListClass, it is useful to organize its various methods into two large categories according to their expected use–the primary interface and the virtual methods. This organization reflects what we believe is typical use of the QueryListClass methods.
Non-Virtual Methods
The Non-Virtual Methods, which you are likely to call fairly routinely from your program, can be further divided into two categories:
Housekeeping (one-time) Use:
Init | initialize the QueryListClass object | |
AddItem (i) | add a field to query | |
Kill (v) | shut down the QueryListListClass object |
Mainstream Use:
Ask (v) | accept query criteria | |
GetFilter (i) | return filter expression |
Occasional Use:
Reset (i) | reset the QueryListClass object | |
GetLimit (i) | get search values | |
SetLimit (i) | set search values |
(v) These methods are also Virtual.
(i) These methods are inherited from the QueryClass.
Virtual Methods
Typically you will not call these methods directly–other ABC Library methods call them. However, we anticipate you will often want to override these methods, and because they are virtual, they are very easy to override. These methods do provide reasonable default behavior in case you do not want to override them.
Ask | accept query criteria | |
Kill | shut down the QueryListClass object |