class HPS.SearchResults : public HPS.Object

The SearchResults class is a smart-pointer to a database object. It contains the results of a Find operation.

Public Functions

void Assign (HPS.SearchResults in_search_results)

Share the underlying smart-pointer if the assignment source. This method is functionally equivalent to the overloaded assignment operator except for the return value.

Param in_search_results

The source of the assignment.

override void Dispose ()
ulong GetCount ()

Gets the number of items that were found in the associated search.


The number of unique items found.

HPS.SearchResultsIterator GetIterator ()

Returns a SearchResultsIterator used to iterate through the found search results.


An iterator pointing to the beginning of the search results list.

override HPS.Type ObjectType ()

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).


The declared type of the object in question, which may differ from the true, underlying type.

override void Reset ()

Resets this object to its initial, uninitialized state.

SearchResults ()
SearchResults (HPS.SearchResults in_search_results)

The copy constructor creates a new SearchResults object that shares the underlying smart-pointer of the source.

Param in_search_results

The source of the copy.