#include <stringpiece.h>
|
| void | AppendToString (std::string *target) const |
| |
| std::string | as_string () const |
| |
| const_iterator | begin () const |
| |
| size_type | capacity () const |
| |
| int | compare (StringPiece x) const |
| |
| bool | Consume (StringPiece x) |
| |
| bool | ConsumeFromEnd (StringPiece x) |
| |
| bool | contains (StringPiece s) const |
| |
| size_type | copy (char *buf, size_type n, size_type pos=0) const |
| |
| void | CopyToString (std::string *target) const |
| |
| const_pointer | data () const |
| |
| bool | empty () const |
| |
| const_iterator | end () const |
| |
| bool | ends_with (StringPiece x) const |
| |
| size_type | find (char c, size_type pos=0) const |
| |
| size_type | find (StringPiece s, size_type pos=0) const |
| |
| size_type | find_first_not_of (char c, size_type pos=0) const |
| |
| size_type | find_first_not_of (StringPiece s, size_type pos=0) const |
| |
| size_type | find_first_of (char c, size_type pos=0) const |
| |
| size_type | find_first_of (StringPiece s, size_type pos=0) const |
| |
| size_type | find_last_not_of (char c, size_type pos=npos) const |
| |
| size_type | find_last_not_of (StringPiece s, size_type pos=npos) const |
| |
| size_type | find_last_of (char c, size_type pos=npos) const |
| |
| size_type | find_last_of (StringPiece s, size_type pos=npos) const |
| |
| size_type | length () const |
| |
| size_type | max_size () const |
| |
| | operator std::string () const |
| |
| char | operator[] (size_type i) const |
| |
| const_reverse_iterator | rbegin () const |
| |
| void | remove_prefix (size_type n) |
| |
| void | remove_suffix (size_type n) |
| |
| const_reverse_iterator | rend () const |
| |
| size_type | rfind (char c, size_type pos=npos) const |
| |
| size_type | rfind (StringPiece s, size_type pos=npos) const |
| |
| size_type | size () const |
| |
| bool | starts_with (StringPiece x) const |
| |
| | StringPiece () |
| |
| | StringPiece (const char *offset, size_type len) |
| |
| | StringPiece (const char *str) |
| |
| template<class Allocator > |
| | StringPiece (const std::basic_string< char, std::char_traits< char >, Allocator > &str) |
| |
| StringPiece | substr (size_type pos, size_type n=npos) const |
| |
| std::string | ToString () const |
| |
◆ const_iterator
◆ const_pointer
◆ const_reference
◆ const_reverse_iterator
◆ difference_type
◆ iterator
◆ pointer
◆ reference
◆ reverse_iterator
◆ size_type
◆ traits_type
◆ value_type
◆ StringPiece() [1/4]
| google::protobuf::stringpiece_internal::StringPiece::StringPiece |
( |
| ) |
|
|
inline |
◆ StringPiece() [2/4]
| google::protobuf::stringpiece_internal::StringPiece::StringPiece |
( |
const char * |
str | ) |
|
|
inline |
◆ StringPiece() [3/4]
template<class Allocator >
| google::protobuf::stringpiece_internal::StringPiece::StringPiece |
( |
const std::basic_string< char, std::char_traits< char >, Allocator > & |
str | ) |
|
|
inline |
◆ StringPiece() [4/4]
| google::protobuf::stringpiece_internal::StringPiece::StringPiece |
( |
const char * |
offset, |
|
|
size_type |
len |
|
) |
| |
|
inline |
◆ AppendToString()
| void google::protobuf::stringpiece_internal::StringPiece::AppendToString |
( |
std::string * |
target | ) |
const |
◆ as_string()
| std::string google::protobuf::stringpiece_internal::StringPiece::as_string |
( |
| ) |
const |
|
inline |
◆ begin()
| const_iterator google::protobuf::stringpiece_internal::StringPiece::begin |
( |
| ) |
const |
|
inline |
◆ capacity()
| size_type google::protobuf::stringpiece_internal::StringPiece::capacity |
( |
| ) |
const |
|
inline |
◆ CheckSize()
| static size_type google::protobuf::stringpiece_internal::StringPiece::CheckSize |
( |
size_type |
size | ) |
|
|
inlinestaticprivate |
◆ compare()
| int google::protobuf::stringpiece_internal::StringPiece::compare |
( |
StringPiece |
x | ) |
const |
|
inline |
◆ Consume()
| bool google::protobuf::stringpiece_internal::StringPiece::Consume |
( |
StringPiece |
x | ) |
|
◆ ConsumeFromEnd()
| bool google::protobuf::stringpiece_internal::StringPiece::ConsumeFromEnd |
( |
StringPiece |
x | ) |
|
◆ contains()
| bool google::protobuf::stringpiece_internal::StringPiece::contains |
( |
StringPiece |
s | ) |
const |
◆ copy()
◆ CopyToString()
| void google::protobuf::stringpiece_internal::StringPiece::CopyToString |
( |
std::string * |
target | ) |
const |
◆ data()
| const_pointer google::protobuf::stringpiece_internal::StringPiece::data |
( |
| ) |
const |
|
inline |
◆ empty()
| bool google::protobuf::stringpiece_internal::StringPiece::empty |
( |
| ) |
const |
|
inline |
◆ end()
| const_iterator google::protobuf::stringpiece_internal::StringPiece::end |
( |
| ) |
const |
|
inline |
◆ ends_with()
| bool google::protobuf::stringpiece_internal::StringPiece::ends_with |
( |
StringPiece |
x | ) |
const |
|
inline |
◆ find() [1/2]
◆ find() [2/2]
◆ find_first_not_of() [1/2]
◆ find_first_not_of() [2/2]
◆ find_first_of() [1/2]
| size_type google::protobuf::stringpiece_internal::StringPiece::find_first_of |
( |
char |
c, |
|
|
size_type |
pos = 0 |
|
) |
| const |
|
inline |
◆ find_first_of() [2/2]
◆ find_last_not_of() [1/2]
◆ find_last_not_of() [2/2]
◆ find_last_of() [1/2]
| size_type google::protobuf::stringpiece_internal::StringPiece::find_last_of |
( |
char |
c, |
|
|
size_type |
pos = npos |
|
) |
| const |
|
inline |
◆ find_last_of() [2/2]
◆ length()
| size_type google::protobuf::stringpiece_internal::StringPiece::length |
( |
| ) |
const |
|
inline |
◆ LogFatalSizeTooBig()
| void google::protobuf::stringpiece_internal::StringPiece::LogFatalSizeTooBig |
( |
size_type |
size, |
|
|
const char * |
details |
|
) |
| |
|
staticprivate |
◆ max_size()
| size_type google::protobuf::stringpiece_internal::StringPiece::max_size |
( |
| ) |
const |
|
inline |
◆ operator std::string()
| google::protobuf::stringpiece_internal::StringPiece::operator std::string |
( |
| ) |
const |
|
inlineexplicit |
◆ operator[]()
| char google::protobuf::stringpiece_internal::StringPiece::operator[] |
( |
size_type |
i | ) |
const |
|
inline |
◆ rbegin()
◆ remove_prefix()
| void google::protobuf::stringpiece_internal::StringPiece::remove_prefix |
( |
size_type |
n | ) |
|
|
inline |
◆ remove_suffix()
| void google::protobuf::stringpiece_internal::StringPiece::remove_suffix |
( |
size_type |
n | ) |
|
|
inline |
◆ rend()
◆ rfind() [1/2]
◆ rfind() [2/2]
◆ size()
| size_type google::protobuf::stringpiece_internal::StringPiece::size |
( |
| ) |
const |
|
inline |
◆ starts_with()
| bool google::protobuf::stringpiece_internal::StringPiece::starts_with |
( |
StringPiece |
x | ) |
const |
|
inline |
◆ substr()
◆ ToString()
| std::string google::protobuf::stringpiece_internal::StringPiece::ToString |
( |
| ) |
const |
|
inline |
◆ kMaxSize
| constexpr size_type google::protobuf::stringpiece_internal::StringPiece::kMaxSize |
|
staticconstexprprivate |
◆ length_
| size_type google::protobuf::stringpiece_internal::StringPiece::length_ |
|
private |
◆ npos
◆ ptr_
| const char* google::protobuf::stringpiece_internal::StringPiece::ptr_ |
|
private |
The documentation for this class was generated from the following files: