ネームスペース | |
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_t > | mask_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.h の 17 行で定義されています。
typedef GeneralMask<unsigned long long> osl::misc::Mask64 |
typedef unsigned long long osl::misc::mask_int_t |
typedef GeneralMask<mask_int_t> osl::misc::mask_t |
typedef std::chrono::milliseconds osl::misc::milliseconds |
milliSeconds.h の 19 行で定義されています。
typedef std::chrono::time_point<clock> osl::misc::time_point |
milliSeconds.h の 18 行で定義されています。
boost::dynamic_bitset osl::misc::base64Decode | ( | std::string | src | ) |
std::string osl::misc::base64Encode | ( | boost::dynamic_bitset<> | src | ) |
void osl::misc::construct | ( | T1 * | ptr, | |
const T2 & | value, | |||
typename boost::enable_if< detail::BitCopyTraits< T1 > >::type * | = 0 | |||
) | [inline] |
void osl::misc::construct | ( | T1 * | ptr, | |
const T2 & | value, | |||
typename boost::disable_if< detail::BitCopyTraits< T1 > >::type * | = 0 | |||
) | [inline] |
construct.h の 49 行で定義されています。
void osl::misc::destroy | ( | ForwardIterator | first, | |
ForwardIterator | last | |||
) | [inline] |
construct.h の 63 行で定義されています。
参照先 destroy().
void osl::misc::destroy | ( | T * | ptr | ) | [inline] |
construct.h の 57 行で定義されています。
参照元 osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::clear(), destroy(), osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::erase(), osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::operator=(), osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::pop_back(), osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::resize(), osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::unique(), と osl::FixedCapacityVector< int8_t, DfpnMaxUniqMoves >::~FixedCapacityVector().
double osl::misc::elapsedSeconds | ( | time_point | start | ) | [inline] |
std::string osl::misc::eucToLang | ( | const std::string & | src | ) |
std::string osl::misc::file_string | ( | const boost::filesystem::path & | path | ) |
filePath.cc の 6 行で定義されています。
int osl::misc::msec | ( | Duration | duration | ) | [inline] |
milliSeconds.h の 26 行で定義されています。
bool osl::misc::operator!= | ( | const GeneralMask< Integer > & | l, | |
const GeneralMask< Integer > & | r | |||
) | [inline] |
const GeneralMask<Integer> osl::misc::operator& | ( | GeneralMask< Integer > | l, | |
GeneralMask< Integer > | r | |||
) | [inline] |
bool osl::misc::operator< | ( | const GeneralMask< Integer > & | l, | |
const GeneralMask< Integer > & | r | |||
) | [inline] |
const GeneralMask<Integer> osl::misc::operator<< | ( | GeneralMask< Integer > | m, | |
int | shift | |||
) | [inline] |
std::ostream& osl::misc::operator<< | ( | std::ostream & | , | |
const mask_t & | ||||
) |
bool osl::misc::operator== | ( | const GeneralMask< Integer > & | l, | |
const GeneralMask< Integer > & | r | |||
) | [inline] |
const GeneralMask<Integer> osl::misc::operator>> | ( | GeneralMask< Integer > | m, | |
int | shift | |||
) | [inline] |
const GeneralMask<Integer> osl::misc::operator^ | ( | GeneralMask< Integer > | l, | |
GeneralMask< Integer > | r | |||
) | [inline] |
const GeneralMask<Integer> osl::misc::operator| | ( | GeneralMask< Integer > | l, | |
GeneralMask< Integer > | r | |||
) | [inline] |
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.cc の 43 行で定義されています。
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.cc の 9 行で定義されています。
参照元 osl::kakinoki::KakinokiFile::isKakinokiFile(), osl::kakinoki::KakinokiFile::KakinokiFile(), osl::ki2::Ki2File::Ki2File(), osl::record::KisenIpxFile::player(), と osl::record::KisenIpxFile::title().
std::string osl::misc::toBase64 | ( | const book::CompactBoard & | board | ) |
参照先 base64Encode(), と osl::book::readInt().
osl::book::CompactBoard osl::misc::toCompactBoard | ( | const std::string & | str | ) |
参照先 base64Decode(), と osl::book::writeInt().
double osl::misc::toSeconds | ( | Duration | duration | ) | [inline] |
milliSeconds.h の 22 行で定義されています。
参照元 elapsedSeconds().