評価の初期化パラメータを表すクラスです。 [詳解]
#include <RendezVous/Services/Jugem/DataStore/src/Common/DataStoreRatingInitParam.h>
DDLCLASSDataStoreRatingInitParamを継承しています。
公開メンバ関数 | |
DataStoreRatingInitParam () | |
コンストラクタです。 | |
virtual | ~DataStoreRatingInitParam () |
デストラクタです。 | |
void | Reset () |
オブジェクトをデフォルトコンストラクタで生成した状態に初期化します。 | |
void | SetFlag (qUnsignedInt32 flag_) |
オプションフラグを設定します [詳解] | |
void | SetInitialValue (qInt64 initialValue_) |
評価合計値の初期値をセットします。 [詳解] | |
void | SetLock (DataStoreConstants::RatingLockType lockType_, qInt16 periodDuration_=0, qInt8 periodHour_=0) |
重複ロックを設定します。非推奨です。DataStoreRatingLockInitParam を引数に取るオーバーロード関数を使用して下さい。 [詳解] | |
void | SetLock (const DataStoreRatingLockInitParam &ratingLockInitParam) |
重複ロックを設定します。 [詳解] | |
void | SetRangeMax (qInt32 max) |
一度に評価可能な評価値の最大値を設定します。 [詳解] | |
void | SetRangeMin (qInt32 min_) |
一度に評価可能な評価値の最低値を設定します。 [詳解] | |
void | Trace (qUnsignedInt64 uiTraceFlags=TRACE_ALWAYS) const |
DataStoreRatingInitParamオブジェクトの内容をトレースします。 [詳解] | |
評価の初期化パラメータを表すクラスです。
void nn::nex::DataStoreRatingInitParam::SetInitialValue | ( | qInt64 | initialValue_ | ) |
評価合計値の初期値をセットします。
[in] | initialValue_ | 評価合計値の初期値。 |
void nn::nex::DataStoreRatingInitParam::SetRangeMin | ( | qInt32 | min_ | ) |
一度に評価可能な評価値の最低値を設定します。
[in] | min_ | 一度に評価可能な評価値の最低値。 |
void nn::nex::DataStoreRatingInitParam::SetRangeMax | ( | qInt32 | max | ) |
一度に評価可能な評価値の最大値を設定します。
[in] | max | 一度に評価可能な評価値の最大値。 |
void nn::nex::DataStoreRatingInitParam::SetLock | ( | DataStoreConstants::RatingLockType | lockType_, |
qInt16 | periodDuration_ = 0 , |
||
qInt8 | periodHour_ = 0 |
||
) |
重複ロックを設定します。非推奨です。DataStoreRatingLockInitParam を引数に取るオーバーロード関数を使用して下さい。
日時は UTC で評価されます。
[in] | lockType_ | ロックのタイプ |
[in] | periodDuration_ | ロックの期間。 lockType が DataStoreConstants::RATING_LOCK_INTERVAL ならロックする秒数、 lockType が DataStoreConstants::RATING_LOCK_PERIOD なら DataStoreConstants::RatingLockPeriod もしくは 0 以上の整数。 0 以上の整数を与えた場合は日数となります。 lockType が DataStoreConstants::RATING_LOCK_PERMANENT もしくは DataStoreConstants::RATING_LOCK_NONE の場合は無視されます。 |
[in] | periodHour_ | ロックを解除する時刻 (lockType が DataStoreConstants::RATING_LOCK_PERIOD のときのみ有効) |
void nn::nex::DataStoreRatingInitParam::SetLock | ( | const DataStoreRatingLockInitParam & | ratingLockInitParam | ) |
重複ロックを設定します。
[in] | ratingLockInitParam | 重複ロック設定。 |
void nn::nex::DataStoreRatingInitParam::SetFlag | ( | qUnsignedInt32 | flag_ | ) |
void nn::nex::DataStoreRatingInitParam::Trace | ( | qUnsignedInt64 | uiTraceFlags = TRACE_ALWAYS | ) | const |
DataStoreRatingInitParamオブジェクトの内容をトレースします。
[in] | uiTraceFlags | TraceLog::SetFlag()の引数と同様です。 |