FontSearchResults

class HPS.FontSearchResults : public HPS.Object

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

Public Functions

void Assign (HPS.FontSearchResults 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 ()
FontSearchResults ()
FontSearchResults (HPS.FontSearchResults in_search_results)

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

Param in_search_results

The source of the copy.

ulong GetCount ()

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

Return

The number of unique items found.

HPS.FontSearchResultsIterator GetIterator ()

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

Return

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).

Return

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.