< Home

< Table of Contents

REFERENCE MANUAL

HPS.FontSearchResultsIterator Class Reference

An iterator used for traversing results from a search on an associated FontSearchResults object. More...

Inheritance diagram for HPS.FontSearchResultsIterator:
HPS.Object

Public Member Functions

override void Dispose ()
 
 FontSearchResultsIterator ()
 The default constructor creates a new FontSearchResultsIterator object that is not associated with any FontSearchResults object. More...
 
 FontSearchResultsIterator (HPS.FontSearchResultsIterator in_search_results_iterator)
 The copy constructor initializes a new FontSearchResultsIterator object that is associated with the same FontSearchResults object as the source and at the same location in the results. More...
 
HPS.FontInfoState GetItem ()
 Returns the FontInfoState that this iterator is currently pointing at. More...
 
bool IsValid ()
 Queries the validity of this iterator location. More...
 
void Next ()
 Advances the iterator to the next search result item More...
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. More...
 
override void Reset ()
 Resets iterator to the beginning of the associated search results. More...
 
void Set (HPS.FontSearchResultsIterator in_search_results_iterator)
 Copies a FontSearchResultsIterator object, associating this object with the same FontSearchResults object as the source and at the same location in the results. More...
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 Indicates whether this object has any values set on it. More...
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns an identifier that can be used to identify which instance of a class an object is. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
 Object (HPS.Object in_that)
 The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More...
 
HPS.Type Type ()
 This function returns the true type of the underlying object. More...
 

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
 
HandleRef scptr
 

Detailed Description

An iterator used for traversing results from a search on an associated FontSearchResults object.

Constructor & Destructor Documentation

HPS.FontSearchResultsIterator.FontSearchResultsIterator ( )

The default constructor creates a new FontSearchResultsIterator object that is not associated with any FontSearchResults object.

HPS.FontSearchResultsIterator.FontSearchResultsIterator ( HPS.FontSearchResultsIterator  in_search_results_iterator)

The copy constructor initializes a new FontSearchResultsIterator object that is associated with the same FontSearchResults object as the source and at the same location in the results.

Subsequent changes to either iterator will not affect the other.

Parameters
in_search_results_iteratorThe source of the copy.

Member Function Documentation

HPS.FontInfoState HPS.FontSearchResultsIterator.GetItem ( )

Returns the FontInfoState that this iterator is currently pointing at.

Throws exception if iterator is not valid. This method is functionally equivalent to the overloaded operator*.

Returns
The current item.
bool HPS.FontSearchResultsIterator.IsValid ( )

Queries the validity of this iterator location.

Invalid locations would include uninitialized iterators and iterators that had walked past the last element.

Returns
true if this iterator is pointing to a valid item, false otherwise.
void HPS.FontSearchResultsIterator.Next ( )

Advances the iterator to the next search result item

override HPS.Type HPS.FontSearchResultsIterator.ObjectType ( )
virtual

This function returns the type the object, as declared.

This does not necessarily give the true type of the underlying object.

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

Reimplemented from HPS.Object.

override void HPS.FontSearchResultsIterator.Reset ( )
virtual

Resets iterator to the beginning of the associated search results.

Reimplemented from HPS.Object.

void HPS.FontSearchResultsIterator.Set ( HPS.FontSearchResultsIterator  in_search_results_iterator)

Copies a FontSearchResultsIterator object, associating this object with the same FontSearchResults object as the source and at the same location in the results.

Subsequent changes to either iterator will not affect the other. This method is functionally equivalent to the overloaded assignment operator except for the return value.

Parameters
in_search_results_iteratorThe source of the copy.

The documentation for this class was generated from the following file: