company logo

ObjectRating :: ObjectRating - Construct Object Rating Services

Object rating services can be created with or without collection list. The max_count parameter is required for limiting the output of the object rating service. When passing 0, the output is not limited and finally, the function returns each object in the list with its weight.

Implementation overview

Implementation details

  1. Construct Object Rating Services with collection list
    ObjectRating  :: ObjectRating ( PropertyHandle *phlist, int32 ph_count )

    The constructor passes a collection list to the rating object, were each collection has the same weight (1).

    The application may add further collection with different weight later on calling AddCollection ().

    • phlist - - internal feature (not documented)
    • ph_count - - internal feature (not documented)
  2. to list
  3. Dummy constructor
    ObjectRating  :: ObjectRating (  )

    This constructor is called, when rating collection are added one by one in the application later ( AddCollection ()) or when calling Open() in order to initialize object collections.

  4. to list