class HPS.OptimizeMappingResults : public HPS.Object

The OptimizeMappingResults class is a smart-pointer to a database object. It contains the results of an OptimizeWithMapping operation.

Public Functions

void Assign (HPS.OptimizeMappingResults in_mappping)

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

override void Dispose ()
bool FlushMerged ()

Flush original shells that were merged. GetCount will return 0 after this operations so information must be read before flushing.


True if any items were flushed.

ulong GetCount ()

Gets the number of items that were recorded in the associated optimize.


The number of unique items.

HPS.OptimizeMappingResultsIterator GetIterator ()

Returns a OptimizeMappingResultsIterator used to iterate through the optimize results.


An iterator pointing to the beginning of the optimize 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.

OptimizeMappingResults ()
OptimizeMappingResults (HPS.OptimizeMappingResults in_mappping)

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

Param in_mappping

The source of the copy.

override void Reset ()

Resets this object to its initial, uninitialized state.