All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
osl::misc::BitOp Struct Reference

#include <bitOp.h>

List of all members.

Static Public Member Functions

template<class Integer >
static int bsf (Integer mask)
template<class Integer >
static int bsr (Integer mask)
template<class Integer >
static int takeOneBit (Integer &mask)
template<class Integer >
static int countBit (Integer mask)
template<class Integer >
static bool hasMultipleBit (Integer mask)
template<class Integer >
static Integer lowestBit (Integer mask)
 non-zeroのmaskのsetされているビットをLSBから探し,そのビットだけがsetされたmaskを返す.

Detailed Description

Definition at line 134 of file bitOp.h.


Member Function Documentation

template<class Integer >
static int osl::misc::BitOp::bsf ( Integer  mask) [inline, static]
template<class Integer >
static int osl::misc::BitOp::bsr ( Integer  mask) [inline, static]

Definition at line 142 of file bitOp.h.

template<class Integer >
static int osl::misc::BitOp::countBit ( Integer  mask) [inline, static]
template<class Integer >
static bool osl::misc::BitOp::hasMultipleBit ( Integer  mask) [inline, static]

Definition at line 170 of file bitOp.h.

template<class Integer >
static Integer osl::misc::BitOp::lowestBit ( Integer  mask) [inline, static]

non-zeroのmaskのsetされているビットをLSBから探し,そのビットだけがsetされたmaskを返す.

Definition at line 178 of file bitOp.h.

template<class Integer >
static int osl::misc::BitOp::takeOneBit ( Integer &  mask) [inline, static]

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines