My Project
|
Namespaces | |
namespace | detail |
Classes | |
struct | Align16New |
class | AtomicCounter |
class | BinaryElementReader |
class | BinaryReader |
struct | BinaryWriter |
struct | BitOp |
struct | Bsf |
x86 bsf 命令 More... | |
struct | Bsf< unsigned int > |
struct | Bsf< unsigned long long > |
struct | Bsf< unsigned short > |
struct | Bsr |
struct | Bsr< unsigned int > |
struct | Bsr< unsigned long long > |
struct | EmptyType |
class | GeneralMask |
struct | IconvConvert |
struct | IncrementLock |
struct | Int2Type |
class | LightMutex |
class | LightMutexChar |
class | LightScopedLock |
struct | NoMoreTime |
struct | Player2Type |
struct | Random |
struct | Random< unsigned int > |
struct | Random< unsigned long long > |
struct | Type2Type |
Typedefs | |
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 |
Functions | |
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 > | |
long long | 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 |
Definition at line 17 of file milliSeconds.h.
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 |
Definition at line 19 of file milliSeconds.h.
typedef std::chrono::time_point<clock> osl::misc::time_point |
Definition at line 18 of file milliSeconds.h.
boost::dynamic_bitset osl::misc::base64Decode | ( | std::string | src | ) |
std::string osl::misc::base64Encode | ( | boost::dynamic_bitset<> | src | ) |
Definition at line 4 of file base64.cc.
Referenced by osl::book::MiniBoard::toBase64().
|
inline |
Definition at line 49 of file construct.h.
|
inline |
Definition at line 40 of file construct.h.
Referenced by osl::detail::FixedCapacityVectorPushBack< T >::push_back(), and osl::FixedCapacityVector< T, Capacity >::push_back().
|
inline |
Definition at line 63 of file construct.h.
References destroy().
|
inline |
Definition at line 57 of file construct.h.
Referenced by osl::FixedCapacityVector< T, Capacity >::clear(), destroy(), osl::FixedCapacityVector< T, Capacity >::erase(), osl::FixedCapacityVector< T, Capacity >::operator=(), osl::FixedCapacityVector< T, Capacity >::pop_back(), osl::FixedCapacityVector< T, Capacity >::resize(), osl::FixedCapacityVector< T, Capacity >::unique(), and osl::FixedCapacityVector< T, Capacity >::~FixedCapacityVector().
|
inline |
Definition at line 29 of file milliSeconds.h.
References elapsedSeconds(), and toSeconds().
Referenced by elapsedSeconds().
std::string osl::misc::eucToLang | ( | const std::string & | src | ) |
Definition at line 13 of file eucToLang.cc.
Referenced by osl::record::KanjiPrint::print(), osl::record::KanjiMove::selectCandidates(), and osl::record::Record::setDate().
std::string osl::misc::file_string | ( | const boost::filesystem::path & | path | ) |
Definition at line 5 of file filePath.cc.
Referenced by osl::record::KisenFile::ipxFileName().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 313 of file mask.h.
References osl::misc::GeneralMask< Integer >::value().
|
inline |
std::ostream & osl::misc::operator<< | ( | std::ostream & | , |
const mask_t & | |||
) |
|
inline |
Definition at line 303 of file mask.h.
References osl::misc::GeneralMask< Integer >::value().
|
inline |
|
inline |
|
inline |
unsigned int osl::misc::random | ( | ) |
Definition at line 4 of file random.cc.
Referenced by osl::misc::Random< unsigned int >::newValue(), and osl::misc::Random< unsigned long long >::newValue().
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.
Definition at line 9 of file sjis2euc.cc.
References sjis2euc().
Referenced by osl::ki2::Ki2File::Ki2File(), osl::record::KisenIpxFile::player(), sjis2euc(), and osl::record::KisenIpxFile::title().
void osl::misc::sjis2euc | ( | unsigned char & | c1, |
unsigned char & | c2 | ||
) |
Reference: http://www.net.is.uec.ac.jp/~ueno/material/kanji/sjis2euc.html.
Definition at line 43 of file sjis2euc.cc.
std::string osl::misc::toBase64 | ( | const book::CompactBoard & | board | ) |
osl::book::CompactBoard osl::misc::toCompactBoard | ( | const std::string & | str | ) |
|
inline |
Definition at line 22 of file milliSeconds.h.
References toSeconds().
Referenced by elapsedSeconds(), and toSeconds().