26 typedef std::optional<fc::string>
ostring;
48 template<
class Char,
class Traits,
class Allocator>
51 typedef basic_string<char, char_traits<char>, allocator<char> > string;
72 typedef char* iterator;
73 typedef const char* const_iterator;
74 enum { npos = size_t(-1) };
84 string( const_iterator b, const_iterator e );
87 operator std::string&();
88 operator const std::string&()
const;
93 const_iterator begin()
const;
94 const_iterator end()
const;
96 char& operator[](
size_t idx);
97 const char& operator[](
size_t idx)
const;
99 string& operator =(
const string& c );
100 string& operator =(
string&& c );
102 void reserve(
size_t );
104 size_t find(
char c,
size_t pos = 0 )
const;
106 size_t find(
const char*
s,
size_t pos = 0)
const;
107 size_t rfind(
char c,
size_t pos = npos )
const;
108 size_t rfind(
const char* c,
size_t pos = npos )
const;
109 size_t rfind(
const fc::string& c,
size_t pos = npos )
const;
110 size_t find_first_of (
const fc::string& str,
size_t pos = 0)
const;
111 size_t find_first_of (
const char*
s,
size_t pos = 0)
const;
112 string& replace(
size_t pos,
size_t len,
const fc::string& str);
113 string& replace(
size_t pos,
size_t len,
const char*
s);
115 void resize(
size_t s );
118 const char* c_str()
const;
125 friend bool operator < (
const string&
a,
const string& b );
130 friend string operator + (
const string&,
const string& );
131 friend string operator + (
const string&,
char c );
133 fc::string substr(
size_t start,
size_t len = fc::string::npos )
const;
146 typedef std::optional<fc::string>
ostring;
147 class variant_object;
Used to forward declare value types.
auto operator+=(std::string &lhs, StringRef const &rhs) -> std::string &
RUNTIME_API Runtime::ObjectInstance * find(const std::string &name, const IR::ObjectType &type)
bip::allocator< T, pinnable_mapped_file::segment_manager > allocator
bool operator<(const array< T, N > &a, const array< T, N > &b)
std::optional< fc::string > ostring
auto operator+(const fwd< T, S, A > &x, U &&u) -> typename detail::add< T, U >::type
std::string to_pretty_string(int64_t)
fc::string to_string(double)
bool operator!=(const array< T, N > &a, const array< T, N > &b)
bool operator==(const array< T, N > &a, const array< T, N > &b)
string trim_and_normalize_spaces(const string &s)
double to_double(const fc::string &)
uint64_t to_uint64(const fc::string &)
fc::string to_lower(const fc::string &)
fc::string format_string(const fc::string &, const variant_object &, bool minimize=false)
fc::string trim(const fc::string &)
int64_t to_int64(const fc::string &)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
unsigned __int64 uint64_t