#include <blockfilter.h>
#include <clientversion.h>
#include <common/args.h>
#include <common/messages.h>
#include <common/settings.h>
#include <common/system.h>
#include <common/url.h>
#include <netbase.h>
#include <outputtype.h>
#include <rpc/client.h>
#include <rpc/request.h>
#include <rpc/server.h>
#include <rpc/util.h>
#include <script/descriptor.h>
#include <script/script.h>
#include <serialize.h>
#include <streams.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <util/fees.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/translation.h>
#include <cassert>
#include <cstdint>
#include <cstdlib>
#include <ios>
#include <stdexcept>
#include <string>
#include <vector>
Go to the source code of this file.
|
| | FUZZ_TARGET (string) |
| bilingual_str | AmountErrMsg (const std::string &optname, const std::string &strValue) |
| bilingual_str | AmountHighWarn (const std::string &optname) |
| bool | FeeModeFromString (std::string_view mode_string, FeeEstimateMode &fee_estimate_mode) |
| bilingual_str | ResolveErrMsg (const std::string &optname, const std::string &strBind) |
| bool | ContainsNoNUL (std::string_view str) noexcept |
| | Check if a string does not contain any embedded NUL (\0) characters.
|
| template<typename C, typename S, typename UnaryOp> |
| auto | Join (const C &container, const S &separator, UnaryOp unary_op) |
| | Join all container items.
|
| std::string | RemovePrefix (std::string_view str, std::string_view prefix) |
| std::vector< std::string > | SplitString (std::string_view str, char sep) |
| std::string | TrimString (std::string_view str, std::string_view pattern=" \f\n\r\t\v") |
◆ AmountErrMsg()
◆ AmountHighWarn()
◆ ContainsNoNUL()
Check if a string does not contain any embedded NUL (\0) characters.
Definition at line 234 of file string.h.
◆ FeeModeFromString()
◆ FUZZ_TARGET()
◆ Join()
template<typename C, typename
S, typename UnaryOp>
| auto util::Join |
( |
const C & | container, |
|
|
const S & | separator, |
|
|
UnaryOp | unary_op ) |
Join all container items.
Typically used to concatenate strings but accepts containers with elements of any type.
- Parameters
-
| container | The items to join |
| separator | The separator |
| unary_op | Apply this operator to each item |
Definition at line 205 of file string.h.
◆ RemovePrefix()
◆ ResolveErrMsg()
◆ SplitString()
◆ TrimString()
| std::string util::TrimString |
( |
std::string_view | str, |
|
|
std::string_view | pattern = " \f\n\r\t\v" ) |
|
inlinenodiscard |