rippled
|
Namespaces | |
detail | |
inner_adl_test | |
insight | |
IP | |
rfc2616 | |
severities | |
A namespace for easy access to logging severity values. | |
unit_test | |
Typedefs | |
template<class Key , class T , class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::pair<Key const, T>>> | |
using | aged_map = detail::aged_ordered_container< false, true, Key, T, Clock, Compare, Allocator > |
template<class Key , class T , class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::pair<Key const, T>>> | |
using | aged_multimap = detail::aged_ordered_container< true, true, Key, T, Clock, Compare, Allocator > |
template<class Key , class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<Key>> | |
using | aged_multiset = detail::aged_ordered_container< true, false, Key, void, Clock, Compare, Allocator > |
template<class Key , class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<Key>> | |
using | aged_set = detail::aged_ordered_container< false, false, Key, void, Clock, Compare, Allocator > |
template<class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<std::pair<Key const, T>>> | |
using | aged_unordered_map = detail::aged_unordered_container< false, true, Key, T, Clock, Hash, KeyEqual, Allocator > |
template<class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<std::pair<Key const, T>>> | |
using | aged_unordered_multimap = detail::aged_unordered_container< true, true, Key, T, Clock, Hash, KeyEqual, Allocator > |
template<class Key , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<Key>> | |
using | aged_unordered_multiset = detail::aged_unordered_container< true, false, Key, void, Clock, Hash, KeyEqual, Allocator > |
template<class Key , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<Key>> | |
using | aged_unordered_set = detail::aged_unordered_container< false, false, Key, void, Clock, Hash, KeyEqual, Allocator > |
using | logstream = basic_logstream< char > |
using | logwstream = basic_logstream< wchar_t > |
template<bool IsConst, class T > | |
using | maybe_const_t = typename maybe_const< IsConst, T >::type |
Alias for omitting typename . More... | |
using | xor_shift_engine = detail::xor_shift_engine<> |
XOR-shift Generator. More... | |
Functions | |
template<class Facade , class Clock = Facade> | |
abstract_clock< Facade > & | get_abstract_clock () |
Returns a global instance of an abstract clock. More... | |
template<class AgedContainer , class Rep , class Period > | |
std::enable_if< is_aged_container< AgedContainer >::value, std::size_t >::type | expire (AgedContainer &c, std::chrono::duration< Rep, Period > const &age) |
Expire aged container items past the specified age. More... | |
template<bool IsMulti, bool IsMap, class Key , class T , class Clock , class Compare , class Allocator > | |
void | swap (beast::detail::aged_ordered_container< IsMulti, IsMap, Key, T, Clock, Compare, Allocator > &lhs, beast::detail::aged_ordered_container< IsMulti, IsMap, Key, T, Clock, Compare, Allocator > &rhs) noexcept |
template<bool IsMulti, bool IsMap, class Key , class T , class Clock , class Compare , class Allocator , class Rep , class Period > | |
std::size_t | expire (detail::aged_ordered_container< IsMulti, IsMap, Key, T, Clock, Compare, Allocator > &c, std::chrono::duration< Rep, Period > const &age) |
Expire aged container items past the specified age. More... | |
template<bool IsMulti, bool IsMap, class Key , class T , class Clock , class Hash , class KeyEqual , class Allocator > | |
void | swap (beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator > &lhs, beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator > &rhs) noexcept |
template<bool IsMulti, bool IsMap, class Key , class T , class Clock , class Hash , class KeyEqual , class Allocator , class Rep , class Period > | |
std::size_t | expire (beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator > &c, std::chrono::duration< Rep, Period > const &age) noexcept |
Expire aged container items past the specified age. More... | |
std::string | getCurrentThreadName () |
Returns the name of the caller thread. More... | |
void | setCurrentThreadName (std::string_view newThreadName) |
Changes the name of the caller thread. More... | |
template<class Out , class In > | |
bool | lexicalCastChecked (Out &out, In in) |
Intelligently convert from one type to another. More... | |
template<class Out , class In > | |
Out | lexicalCastThrow (In in) |
Convert from one type to another, throw on error. More... | |
template<class Out , class In > | |
Out | lexicalCast (In in, Out defaultValue=Out()) |
Convert from one type to another. More... | |
template<class Container , bool LhsIsConst, bool RhsIsConst> | |
bool | operator== (LockFreeStackIterator< Container, LhsIsConst > const &lhs, LockFreeStackIterator< Container, RhsIsConst > const &rhs) |
template<class Container , bool LhsIsConst, bool RhsIsConst> | |
bool | operator!= (LockFreeStackIterator< Container, LhsIsConst > const &lhs, LockFreeStackIterator< Container, RhsIsConst > const &rhs) |
std::string | print_identifiers (SemanticVersion::identifier_list const &list) |
bool | isNumeric (std::string const &s) |
bool | chop (std::string const &what, std::string &input) |
bool | chopUInt (int &value, int limit, std::string &input) |
bool | extract_identifier (std::string &value, bool allowLeadingZeroes, std::string &input) |
bool | extract_identifiers (SemanticVersion::identifier_list &identifiers, bool allowLeadingZeroes, std::string &input) |
int | compare (SemanticVersion const &lhs, SemanticVersion const &rhs) |
Compare two SemanticVersions against each other. More... | |
bool | operator== (SemanticVersion const &lhs, SemanticVersion const &rhs) |
bool | operator!= (SemanticVersion const &lhs, SemanticVersion const &rhs) |
bool | operator>= (SemanticVersion const &lhs, SemanticVersion const &rhs) |
bool | operator<= (SemanticVersion const &lhs, SemanticVersion const &rhs) |
bool | operator> (SemanticVersion const &lhs, SemanticVersion const &rhs) |
bool | operator< (SemanticVersion const &lhs, SemanticVersion const &rhs) |
template<class Hasher > | |
void | hash_append (Hasher &h, beast::IP::Address const &addr) noexcept |
template<typename T > | |
std::string | type_name () |
template<class Generator > | |
void | rngfill (void *buffer, std::size_t bytes, Generator &g) |
template<class Generator , std::size_t N, class = std::enable_if_t<N % sizeof(typename Generator::result_type) == 0>> | |
void | rngfill (std::array< std::uint8_t, N > &a, Generator &g) |
template<typename T > | |
auto | signum (T const &t) |
Default implementation of signum calls the method on the class. More... | |
template<typename T > | |
bool | operator== (T const &t, Zero) |
template<typename T > | |
bool | operator!= (T const &t, Zero) |
template<typename T > | |
bool | operator< (T const &t, Zero) |
template<typename T > | |
bool | operator> (T const &t, Zero) |
template<typename T > | |
bool | operator>= (T const &t, Zero) |
template<typename T > | |
bool | operator<= (T const &t, Zero) |
template<typename T > | |
bool | operator== (Zero, T const &t) |
template<typename T > | |
bool | operator!= (Zero, T const &t) |
template<typename T > | |
bool | operator< (Zero, T const &t) |
template<typename T > | |
bool | operator> (Zero, T const &t) |
template<typename T > | |
bool | operator>= (Zero, T const &t) |
template<typename T > | |
bool | operator<= (Zero, T const &t) |
template<class CharT , class Traits , class Allocator > | |
std::basic_string< CharT, Traits, Allocator > | heading (std::basic_string< CharT, Traits, Allocator > title, int width=80, CharT fill=CharT('-')) |
Produce a section heading and fill the rest of the line with dashes. More... | |
BEAST_DEFINE_TESTSUITE (aged_set, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_map, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_multiset, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_multimap, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_unordered_set, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_unordered_map, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_unordered_multiset, container, beast) | |
BEAST_DEFINE_TESTSUITE (aged_unordered_multimap, container, beast) | |
BEAST_DEFINE_TESTSUITE_MANUAL (abstract_clock, chrono, beast) | |
BEAST_DEFINE_TESTSUITE (basic_seconds_clock, chrono, beast) | |
BEAST_DEFINE_TESTSUITE (Journal, utility, beast) | |
BEAST_DEFINE_TESTSUITE (PropertyStream, utility, beast) | |
int | signum (adl_tester) |
BEAST_DEFINE_TESTSUITE (Zero, types, beast) | |
BEAST_DEFINE_TESTSUITE (LexicalCast, beast_core, beast) | |
BEAST_DEFINE_TESTSUITE (SemanticVersion, beast_core, beast) | |
using beast::aged_map = typedef detail:: aged_ordered_container<false, true, Key, T, Clock, Compare, Allocator> |
Definition at line 38 of file aged_map.h.
using beast::aged_multimap = typedef detail:: aged_ordered_container<true, true, Key, T, Clock, Compare, Allocator> |
Definition at line 38 of file aged_multimap.h.
using beast::aged_multiset = typedef detail:: aged_ordered_container<true, false, Key, void, Clock, Compare, Allocator> |
Definition at line 37 of file aged_multiset.h.
using beast::aged_set = typedef detail:: aged_ordered_container<false, false, Key, void, Clock, Compare, Allocator> |
Definition at line 37 of file aged_set.h.
using beast::aged_unordered_map = typedef detail::aged_unordered_container< false, true, Key, T, Clock, Hash, KeyEqual, Allocator> |
Definition at line 46 of file aged_unordered_map.h.
using beast::aged_unordered_multimap = typedef detail::aged_unordered_container< true, true, Key, T, Clock, Hash, KeyEqual, Allocator> |
Definition at line 46 of file aged_unordered_multimap.h.
using beast::aged_unordered_multiset = typedef detail::aged_unordered_container< true, false, Key, void, Clock, Hash, KeyEqual, Allocator> |
Definition at line 45 of file aged_unordered_multiset.h.
using beast::aged_unordered_set = typedef detail::aged_unordered_container< false, false, Key, void, Clock, Hash, KeyEqual, Allocator> |
Definition at line 45 of file aged_unordered_set.h.
using beast::logstream = typedef basic_logstream<char> |
using beast::logwstream = typedef basic_logstream<wchar_t> |
using beast::maybe_const_t = typedef typename maybe_const<IsConst, T>::type |
Alias for omitting typename
.
Definition at line 40 of file maybe_const.h.
using beast::xor_shift_engine = typedef detail::xor_shift_engine<> |
XOR-shift Generator.
Meets the requirements of UniformRandomNumberGenerator.
Simple and fast RNG based on: http://xorshift.di.unimi.it/xorshift128plus.c does not accept seed==0
Definition at line 114 of file xor_shift_engine.h.
abstract_clock<Facade>& beast::get_abstract_clock | ( | ) |
Returns a global instance of an abstract clock.
Facade | A type meeting these requirements: http://en.cppreference.com/w/cpp/concept/Clock |
Clock | The actual concrete clock to use. |
Definition at line 107 of file abstract_clock.h.
std::enable_if<is_aged_container<AgedContainer>::value, std::size_t>:: type beast::expire | ( | AgedContainer & | c, |
std::chrono::duration< Rep, Period > const & | age | ||
) |
Expire aged container items past the specified age.
Definition at line 33 of file aged_container_utility.h.
|
noexcept |
Definition at line 2237 of file aged_ordered_container.h.
std::size_t beast::expire | ( | detail::aged_ordered_container< IsMulti, IsMap, Key, T, Clock, Compare, Allocator > & | c, |
std::chrono::duration< Rep, Period > const & | age | ||
) |
Expire aged container items past the specified age.
Definition at line 2270 of file aged_ordered_container.h.
|
noexcept |
Definition at line 3380 of file aged_unordered_container.h.
|
noexcept |
Expire aged container items past the specified age.
Definition at line 3416 of file aged_unordered_container.h.
std::string beast::getCurrentThreadName | ( | ) |
Returns the name of the caller thread.
The name returned is the name as set by a call to setCurrentThreadName(). If the thread name is set by an external force, then that name change will not be reported.
If no name has ever been set, then the empty string is returned.
Definition at line 113 of file CurrentThreadName.cpp.
void beast::setCurrentThreadName | ( | std::string_view | newThreadName | ) |
Changes the name of the caller thread.
Different OSes may place different length or content limits on this name.
Definition at line 119 of file CurrentThreadName.cpp.
bool beast::lexicalCastChecked | ( | Out & | out, |
In | in | ||
) |
Intelligently convert from one type to another.
false
if there was a parsing or range error Definition at line 266 of file LexicalCast.h.
Out beast::lexicalCastThrow | ( | In | in | ) |
Convert from one type to another, throw on error.
An exception of type BadLexicalCast is thrown if the conversion fails.
Definition at line 279 of file LexicalCast.h.
Out beast::lexicalCast | ( | In | in, |
Out | defaultValue = Out() |
||
) |
Convert from one type to another.
defaultValue | The value returned if parsing fails |
Definition at line 296 of file LexicalCast.h.
bool beast::operator== | ( | LockFreeStackIterator< Container, LhsIsConst > const & | lhs, |
LockFreeStackIterator< Container, RhsIsConst > const & | rhs | ||
) |
Definition at line 115 of file LockFreeStack.h.
bool beast::operator!= | ( | LockFreeStackIterator< Container, LhsIsConst > const & | lhs, |
LockFreeStackIterator< Container, RhsIsConst > const & | rhs | ||
) |
Definition at line 124 of file LockFreeStack.h.
std::string beast::print_identifiers | ( | SemanticVersion::identifier_list const & | list | ) |
Definition at line 30 of file SemanticVersion.cpp.
bool beast::isNumeric | ( | std::string const & | s | ) |
Definition at line 45 of file SemanticVersion.cpp.
bool beast::chop | ( | std::string const & | what, |
std::string & | input | ||
) |
Definition at line 58 of file SemanticVersion.cpp.
bool beast::chopUInt | ( | int & | value, |
int | limit, | ||
std::string & | input | ||
) |
Definition at line 70 of file SemanticVersion.cpp.
bool beast::extract_identifier | ( | std::string & | value, |
bool | allowLeadingZeroes, | ||
std::string & | input | ||
) |
Definition at line 108 of file SemanticVersion.cpp.
bool beast::extract_identifiers | ( | SemanticVersion::identifier_list & | identifiers, |
bool | allowLeadingZeroes, | ||
std::string & | input | ||
) |
Definition at line 134 of file SemanticVersion.cpp.
int beast::compare | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Compare two SemanticVersions against each other.
The comparison follows the rules as per the specification.
Definition at line 259 of file SemanticVersion.cpp.
bool beast::operator== | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Definition at line 81 of file SemanticVersion.h.
bool beast::operator!= | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Definition at line 87 of file SemanticVersion.h.
bool beast::operator>= | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Definition at line 93 of file SemanticVersion.h.
bool beast::operator<= | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Definition at line 99 of file SemanticVersion.h.
bool beast::operator> | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Definition at line 105 of file SemanticVersion.h.
bool beast::operator< | ( | SemanticVersion const & | lhs, |
SemanticVersion const & | rhs | ||
) |
Definition at line 111 of file SemanticVersion.h.
|
noexcept |
Logically concatenate input data to a Hasher
.
Hasher requirements:
`X` is the type `Hasher` `h` is a value of type `x` `p` is a value convertible to `void const*` `n` is a value of type `std::size_t`, greater than zero Expression: `h.append (p, n);` Throws: Never Effect: Adds the input data to the hasher state. Expression: `static_cast<std::size_t>(j)` Throws: Never Effect: Returns the reslting hash of all the input data.
Definition at line 236 of file hash_append.h.
|
noexcept |
Definition at line 246 of file hash_append.h.
|
noexcept |
Definition at line 254 of file hash_append.h.
|
noexcept |
Definition at line 264 of file hash_append.h.
|
noexcept |
Definition at line 335 of file hash_append.h.
|
noexcept |
Definition at line 345 of file hash_append.h.
|
noexcept |
Definition at line 356 of file hash_append.h.
|
noexcept |
Definition at line 369 of file hash_append.h.
|
noexcept |
Definition at line 378 of file hash_append.h.
|
noexcept |
Definition at line 387 of file hash_append.h.
|
noexcept |
Definition at line 397 of file hash_append.h.
|
noexcept |
Definition at line 452 of file hash_append.h.
void beast::hash_append | ( | Hasher & | h, |
std::unordered_map< Key, T, Hash, Pred, Alloc > const & | m | ||
) |
void beast::hash_append | ( | Hasher & | h, |
std::unordered_set< Key, Hash, Pred, Alloc > const & | s | ||
) |
|
noexcept |
Definition at line 405 of file hash_append.h.
|
noexcept |
Definition at line 414 of file hash_append.h.
|
noexcept |
Definition at line 488 of file hash_append.h.
|
noexcept |
Definition at line 369 of file hash_append.h.
|
noexcept |
Definition at line 452 of file hash_append.h.
|
noexcept |
Definition at line 461 of file hash_append.h.
|
noexcept |
Definition at line 470 of file hash_append.h.
|
noexcept |
Definition at line 477 of file hash_append.h.
void beast::hash_append | ( | HashAlgorithm & | h, |
std::error_code const & | ec | ||
) |
Definition at line 498 of file hash_append.h.
|
noexcept |
Definition at line 91 of file IPAddress.h.
std::string beast::type_name | ( | ) |
Definition at line 36 of file type_name.h.
void beast::rngfill | ( | void * | buffer, |
std::size_t | bytes, | ||
Generator & | g | ||
) |
void beast::rngfill | ( | std::array< std::uint8_t, N > & | a, |
Generator & | g | ||
) |
auto beast::signum | ( | T const & | t | ) |
bool beast::operator== | ( | T const & | t, |
Zero | |||
) |
bool beast::operator!= | ( | T const & | t, |
Zero | |||
) |
bool beast::operator< | ( | T const & | t, |
Zero | |||
) |
bool beast::operator> | ( | T const & | t, |
Zero | |||
) |
bool beast::operator>= | ( | T const & | t, |
Zero | |||
) |
bool beast::operator<= | ( | T const & | t, |
Zero | |||
) |
bool beast::operator== | ( | Zero | , |
T const & | t | ||
) |
bool beast::operator!= | ( | Zero | , |
T const & | t | ||
) |
bool beast::operator< | ( | Zero | , |
T const & | t | ||
) |
bool beast::operator> | ( | Zero | , |
T const & | t | ||
) |
bool beast::operator>= | ( | Zero | , |
T const & | t | ||
) |
bool beast::operator<= | ( | Zero | , |
T const & | t | ||
) |
std::basic_string<CharT, Traits, Allocator> beast::heading | ( | std::basic_string< CharT, Traits, Allocator > | title, |
int | width = 80 , |
||
CharT | fill = CharT('-') |
||
) |
Produce a section heading and fill the rest of the line with dashes.
Definition at line 52 of file iosformat.h.
field_t<CharT, Traits, Allocator> beast::field | ( | std::basic_string< CharT, Traits, Allocator > const & | text, |
int | width = 8 , |
||
int | pad = 0 , |
||
bool | right = false |
||
) |
Definition at line 162 of file iosformat.h.
field_t<CharT> beast::field | ( | CharT const * | text, |
int | width = 8 , |
||
int | pad = 0 , |
||
bool | right = false |
||
) |
Definition at line 173 of file iosformat.h.
field_t<char> beast::field | ( | T const & | t, |
int | width = 8 , |
||
int | pad = 0 , |
||
bool | right = false |
||
) |
Definition at line 186 of file iosformat.h.
field_t<CharT, Traits, Allocator> beast::rfield | ( | std::basic_string< CharT, Traits, Allocator > const & | text, |
int | width = 8 , |
||
int | pad = 0 |
||
) |
Definition at line 194 of file iosformat.h.
field_t<CharT> beast::rfield | ( | CharT const * | text, |
int | width = 8 , |
||
int | pad = 0 |
||
) |
Definition at line 204 of file iosformat.h.
field_t<char> beast::rfield | ( | T const & | t, |
int | width = 8 , |
||
int | pad = 0 |
||
) |
Definition at line 217 of file iosformat.h.
beast::BEAST_DEFINE_TESTSUITE | ( | aged_set | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_map | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_multiset | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_multimap | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_unordered_set | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_unordered_map | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_unordered_multiset | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | aged_unordered_multimap | , |
container | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE_MANUAL | ( | abstract_clock | , |
chrono | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | basic_seconds_clock | , |
chrono | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | Journal | , |
utility | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | PropertyStream | , |
utility | , | ||
beast | |||
) |
int beast::signum | ( | adl_tester | ) |
Definition at line 30 of file beast_Zero_test.cpp.
beast::BEAST_DEFINE_TESTSUITE | ( | Zero | , |
types | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | LexicalCast | , |
beast_core | , | ||
beast | |||
) |
beast::BEAST_DEFINE_TESTSUITE | ( | SemanticVersion | , |
beast_core | , | ||
beast | |||
) |