nn::nex::DataStoreClient::GetRating Member Function

Syntax

virtual qBool GetRating(
     ProtocolCallContext * pContext,
     const qUnsignedInt64 dataId,
     qMap< qInt8, DataStoreRatingInfo > * pRatings,
     qUnsignedInt64 accessPassword = DataStoreConstants::INVALID_PASSWORD
);

Parameters

Name Description
in pContext Call information.
in dataId The data ID for which to get ratings information.
out pRatings Ratings information.
in accessPassword Access password. DataStoreConstants::INVALID_PASSWORD by default. The password is not authenticated.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Gets the data ratings information.

Specifies the data ID and gets ratings information for all slots. Only people who have access rights to the data can get the data.

Revision History

2012/10/23
Added that only a person who has access rights can get the data.
2012/07/25
Added the access password argument.
2012/07/04
Access permissions are now checked.
2011/07/13
Initial version.

CONFIDENTIAL