HPS.FontSearchResults Class Reference
Inheritance diagram for HPS.FontSearchResults:
HPS.Object

Public Member Functions

void Assign (HPS.FontSearchResults in_search_results)
 
override void Dispose ()
 
 FontSearchResults (HPS.FontSearchResults in_search_results)
 
ulong GetCount ()
 
HPS.FontSearchResultsIterator GetIterator ()
 
override HPS.Type ObjectType ()
 
override void Reset ()
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual HPS.Type Type ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 
- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FontSearchResults()

HPS.FontSearchResults.FontSearchResults ( HPS.FontSearchResults  in_search_results)
inline

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

Parameters
in_search_resultsThe source of the copy.

Member Function Documentation

◆ Assign()

void HPS.FontSearchResults.Assign ( HPS.FontSearchResults  in_search_results)
inline

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

Parameters
in_search_resultsThe source of the assignment.

◆ GetCount()

ulong HPS.FontSearchResults.GetCount ( )
inline

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

Returns
The number of unique items found.

◆ GetIterator()

HPS.FontSearchResultsIterator HPS.FontSearchResults.GetIterator ( )
inline

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

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

◆ ObjectType()

override HPS.Type HPS.FontSearchResults.ObjectType ( )
inlinevirtual

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

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

Reimplemented from HPS.Object.

◆ Reset()

override void HPS.FontSearchResults.Reset ( )
inlinevirtual

Resets this object to its initial, uninitialized state.

Reimplemented from HPS.Object.


The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.FontSearchResults.cs