ネームスペース | 構成 | 型定義 | 関数

ネームスペース osl::misc

ネームスペース

namespace  detail

構成

struct  Int2Type
struct  Type2Type
struct  Player2Type
struct  EmptyType
struct  Align16New
struct  BinaryWriter
class  BinaryReader
class  BinaryElementReader
struct  Bsf< unsigned int >
struct  Bsf< unsigned short >
struct  Bsf< unsigned long long >
struct  Bsr< unsigned int >
struct  Bsr< unsigned long long >
struct  BitOp
class  GeneralMask
struct  Random< unsigned int >
struct  Random< unsigned long long >
struct  IncrementLock
class  AtomicCounter
struct  IconvConvert
class  LightScopedLock
class  LightMutex
class  LightMutexChar
struct  NoMoreTime

型定義

typedef GeneralMask< unsigned
long long > 
Mask64
typedef unsigned long long mask_int_t
typedef GeneralMask< mask_int_tmask_t
typedef
std::chrono::high_resolution_clock 
clock
typedef
std::chrono::time_point< clock
time_point
typedef std::chrono::milliseconds milliseconds

関数

template<typename T1 , typename T2 >
void construct (T1 *ptr, const T2 &value, typename boost::enable_if< detail::BitCopyTraits< T1 > >::type *=0)
template<typename T1 , typename T2 >
void construct (T1 *ptr, const T2 &value, typename boost::disable_if< detail::BitCopyTraits< T1 > >::type *=0)
template<typename T >
void destroy (T *ptr)
template<typename ForwardIterator >
void destroy (ForwardIterator first, ForwardIterator last)
template<class Integer >
bool operator== (const GeneralMask< Integer > &l, const GeneralMask< Integer > &r)
template<class Integer >
bool operator!= (const GeneralMask< Integer > &l, const GeneralMask< Integer > &r)
template<class Integer >
bool operator< (const GeneralMask< Integer > &l, const GeneralMask< Integer > &r)
template<class Integer >
const GeneralMask< Integer > operator& (GeneralMask< Integer > l, GeneralMask< Integer > r)
template<class Integer >
const GeneralMask< Integer > operator| (GeneralMask< Integer > l, GeneralMask< Integer > r)
template<class Integer >
const GeneralMask< Integer > operator^ (GeneralMask< Integer > l, GeneralMask< Integer > r)
template<class Integer >
const GeneralMask< Integer > operator<< (GeneralMask< Integer > m, int shift)
template<class Integer >
const GeneralMask< Integer > operator>> (GeneralMask< Integer > m, int shift)
std::ostream & operator<< (std::ostream &, const mask_t &)
unsigned int random ()
unsigned int time_seeded_random ()
std::string base64Encode (boost::dynamic_bitset<> src)
boost::dynamic_bitset base64Decode (std::string src)
std::string toBase64 (const book::CompactBoard &)
book::CompactBoard toCompactBoard (const std::string &str)
std::string eucToLang (const std::string &src)
std::string file_string (const boost::filesystem::path &path)
template<class Duration >
double toSeconds (Duration duration)
template<class Duration >
int msec (Duration duration)
double elapsedSeconds (time_point start)
std::string sjis2euc (const std::string &str)
 Convert character encoding from Shift_JIS to EUC-JP.
void sjis2euc (unsigned char &c1, unsigned char &c2)
 Reference: http://www.net.is.uec.ac.jp/~ueno/material/kanji/sjis2euc.html.

型定義

typedef std::chrono::high_resolution_clock osl::misc::clock

milliSeconds.h17 行で定義されています。

typedef GeneralMask<unsigned long long> osl::misc::Mask64

mask.h347 行で定義されています。

typedef unsigned long long osl::misc::mask_int_t

mask.h350 行で定義されています。

mask.h351 行で定義されています。

typedef std::chrono::milliseconds osl::misc::milliseconds

milliSeconds.h19 行で定義されています。

typedef std::chrono::time_point<clock> osl::misc::time_point

milliSeconds.h18 行で定義されています。


関数

boost::dynamic_bitset osl::misc::base64Decode ( std::string  src  ) 

base64.cc56 行で定義されています。

参照元 osl::book::fromBase64(), と toCompactBoard().

std::string osl::misc::base64Encode ( boost::dynamic_bitset<>  src  ) 

base64.cc5 行で定義されています。

参照元 osl::book::MiniBoard::toBase64(), と toBase64().

template<typename T1 , typename T2 >
void osl::misc::construct ( T1 *  ptr,
const T2 &  value,
typename boost::enable_if< detail::BitCopyTraits< T1 > >::type *  = 0 
) [inline]
template<typename T1 , typename T2 >
void osl::misc::construct ( T1 *  ptr,
const T2 &  value,
typename boost::disable_if< detail::BitCopyTraits< T1 > >::type *  = 0 
) [inline]

construct.h49 行で定義されています。

template<typename ForwardIterator >
void osl::misc::destroy ( ForwardIterator  first,
ForwardIterator  last 
) [inline]

construct.h63 行で定義されています。

参照先 destroy().

template<typename T >
void osl::misc::destroy ( T *  ptr  )  [inline]
double osl::misc::elapsedSeconds ( time_point  start  )  [inline]

milliSeconds.h29 行で定義されています。

参照先 toSeconds().

参照元 osl::checkmate::DualDfpn::runGC().

std::string osl::misc::eucToLang ( const std::string &  src  ) 
std::string osl::misc::file_string ( const boost::filesystem::path &  path  ) 

filePath.cc6 行で定義されています。

参照元 osl::record::KisenFile::ipxFileName().

template<class Duration >
int osl::misc::msec ( Duration  duration  )  [inline]

milliSeconds.h26 行で定義されています。

template<class Integer >
bool osl::misc::operator!= ( const GeneralMask< Integer > &  l,
const GeneralMask< Integer > &  r 
) [inline]

mask.h308 行で定義されています。

template<class Integer >
const GeneralMask<Integer> osl::misc::operator& ( GeneralMask< Integer >  l,
GeneralMask< Integer >  r 
) [inline]

mask.h319 行で定義されています。

template<class Integer >
bool osl::misc::operator< ( const GeneralMask< Integer > &  l,
const GeneralMask< Integer > &  r 
) [inline]

mask.h313 行で定義されています。

template<class Integer >
const GeneralMask<Integer> osl::misc::operator<< ( GeneralMask< Integer >  m,
int  shift 
) [inline]

mask.h337 行で定義されています。

std::ostream& osl::misc::operator<< ( std::ostream &  ,
const mask_t &   
)
template<class Integer >
bool osl::misc::operator== ( const GeneralMask< Integer > &  l,
const GeneralMask< Integer > &  r 
) [inline]

mask.h303 行で定義されています。

参照先 osl::misc::GeneralMask< Integer >::value().

template<class Integer >
const GeneralMask<Integer> osl::misc::operator>> ( GeneralMask< Integer >  m,
int  shift 
) [inline]

mask.h342 行で定義されています。

template<class Integer >
const GeneralMask<Integer> osl::misc::operator^ ( GeneralMask< Integer >  l,
GeneralMask< Integer >  r 
) [inline]

mask.h331 行で定義されています。

template<class Integer >
const GeneralMask<Integer> osl::misc::operator| ( GeneralMask< Integer >  l,
GeneralMask< Integer >  r 
) [inline]

mask.h325 行で定義されています。

unsigned int osl::misc::random (  ) 
void osl::misc::sjis2euc ( unsigned char &  c1,
unsigned char &  c2 
)

Reference: http://www.net.is.uec.ac.jp/~ueno/material/kanji/sjis2euc.html.

sjis2euc.cc43 行で定義されています。

std::string osl::misc::sjis2euc ( const std::string &  str  ) 

Convert character encoding from Shift_JIS to EUC-JP.

This converter is simple enough to be applied to Shogi records. It may not completely implement the conversion algorithm.

sjis2euc.cc9 行で定義されています。

参照元 osl::kakinoki::KakinokiFile::isKakinokiFile(), osl::kakinoki::KakinokiFile::KakinokiFile(), osl::ki2::Ki2File::Ki2File(), osl::record::KisenIpxFile::player(), と osl::record::KisenIpxFile::title().

unsigned int osl::misc::time_seeded_random (  ) 

random.cc10 行で定義されています。

std::string osl::misc::toBase64 ( const book::CompactBoard &  board  ) 

base64.cc107 行で定義されています。

参照先 base64Encode(), と osl::book::readInt().

osl::book::CompactBoard osl::misc::toCompactBoard ( const std::string &  str  ) 

base64.cc132 行で定義されています。

参照先 base64Decode(), と osl::book::writeInt().

template<class Duration >
double osl::misc::toSeconds ( Duration  duration  )  [inline]

milliSeconds.h22 行で定義されています。

参照元 elapsedSeconds().

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義