An RDMQuery represents the body of an RDM. An RDMQuery structure has one public field, search, which is a Search containing a collection of attribute-value pairs. The allowable attribute names of the attribute-value pairs in the Search are:
scope (required)
view-attributes (optional)
view-hit (optional)
view-order (optional)
view-template (optional)
You can use the following macros to get and set the string values of these attributes:
RDMQuery_GetScope(query) RDMQuery_GetViewAttr(query) RDMQuery_GetViewHits(query) RDMQuery_GetViewOrder(query) RDMQuery_GetViewTemplate(query) RDMQuery_SetScope(query, value) RDMQuery_SetViewAttr(query,value-list) RDMQuery_SetViewHits(query,value) RDMQuery_SetViewOrder(query,value-list) RDMQuery_SetViewTemplate(query,value)
In addition to RDMHeader and RDMQuery, the file rdm.h provides definitions and functions for the following auxiliary objects. See the rdm.h file in PortalServer-base/sdk/rdm/include directory for details.
RDMRequest
RDMResponse
RDMServer
RDMView
RDMViewHits
RDMViewOrder
RDMTaxonomy
RDMClassification
RDMSchema