構造体 テンプレート Onikiri::EmulatorUtility::Operation::RotateR< Type, TSrcValue, TSrcCount >

#include <GenericOperation.h>

すべてのメンバ一覧

Public メソッド

Type operator() (OpEmulationState *opState)


説明

template<typename Type, typename TSrcValue, typename TSrcCount>
struct Onikiri::EmulatorUtility::Operation::RotateR< Type, TSrcValue, TSrcCount >

GenericOperation.h747 行で定義されています。


関数

template<typename Type, typename TSrcValue, typename TSrcCount>
Type Onikiri::EmulatorUtility::Operation::RotateR< Type, TSrcValue, TSrcCount >::operator() ( OpEmulationState opState  )  [inline]

GenericOperation.h749 行で定義されています。

参照先 Type.

00750     {
00751         const int typeBitCount = sizeof(Type)*8;
00752         Type value = static_cast<Type>( TSrcValue()(opState) );
00753         int count = static_cast<int>( TSrcCount()(opState) & (typeBitCount-1) );
00754 
00755         if (count == 0)
00756             return value;
00757         else
00758             return (value >> count) | (value << (typeBitCount-count));
00759     }


この構造体の説明は次のファイルから生成されました:
Onikiri2に対してTue Jun 18 15:32:12 2013に生成されました。  doxygen 1.4.7