All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
osl::misc::BitOp Struct Reference

#include <bitOp.h>

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を返す. More...
 

Detailed Description

Definition at line 134 of file bitOp.h.

Member Function Documentation

template<class Integer >
static int osl::misc::BitOp::bsf ( Integer  mask)
inlinestatic
template<class Integer >
static int osl::misc::BitOp::bsr ( Integer  mask)
inlinestatic

Definition at line 142 of file bitOp.h.

Referenced by osl::misc::GeneralMask< Integer >::bsr().

template<class Integer >
static int osl::misc::BitOp::countBit ( Integer  mask)
inlinestatic
template<class Integer >
static bool osl::misc::BitOp::hasMultipleBit ( Integer  mask)
inlinestatic

Definition at line 170 of file bitOp.h.

Referenced by osl::misc::GeneralMask< Integer >::hasMultipleBit().

template<class Integer >
static Integer osl::misc::BitOp::lowestBit ( Integer  mask)
inlinestatic

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

Definition at line 178 of file bitOp.h.

Referenced by osl::misc::GeneralMask< Integer >::lowestBit().

template<class Integer >
static int osl::misc::BitOp::takeOneBit ( Integer &  mask)
inlinestatic

The documentation for this struct was generated from the following file: