#include <stringpiece.h>
|
| void | AppendToString (string *target) const |
| |
| string | as_string () const |
| |
| iterator | begin () const |
| |
| stringpiece_ssize_type | capacity () const |
| |
| void | clear () |
| |
| int | compare (StringPiece x) const |
| |
| bool | Consume (StringPiece x) |
| |
| bool | ConsumeFromEnd (StringPiece x) |
| |
| bool | contains (StringPiece s) const |
| |
| stringpiece_ssize_type | copy (char *buf, size_type n, size_type pos=0) const |
| |
| void | CopyToString (string *target) const |
| |
| const char * | data () const |
| |
| bool | empty () const |
| |
| iterator | end () const |
| |
| bool | ends_with (StringPiece x) const |
| |
| stringpiece_ssize_type | find (char c, size_type pos=0) const |
| |
| stringpiece_ssize_type | find (StringPiece s, size_type pos=0) const |
| |
| stringpiece_ssize_type | find_first_not_of (char c, size_type pos=0) const |
| |
| stringpiece_ssize_type | find_first_not_of (StringPiece s, size_type pos=0) const |
| |
| stringpiece_ssize_type | find_first_of (char c, size_type pos=0) const |
| |
| stringpiece_ssize_type | find_first_of (StringPiece s, size_type pos=0) const |
| |
| stringpiece_ssize_type | find_last_not_of (char c, size_type pos=npos) const |
| |
| stringpiece_ssize_type | find_last_not_of (StringPiece s, size_type pos=npos) const |
| |
| stringpiece_ssize_type | find_last_of (char c, size_type pos=npos) const |
| |
| stringpiece_ssize_type | find_last_of (StringPiece s, size_type pos=npos) const |
| |
| stringpiece_ssize_type | length () const |
| |
| stringpiece_ssize_type | max_size () const |
| |
| | operator string () const |
| |
| char | operator[] (stringpiece_ssize_type i) const |
| |
| const_reverse_iterator | rbegin () const |
| |
| void | remove_prefix (stringpiece_ssize_type n) |
| |
| void | remove_suffix (stringpiece_ssize_type n) |
| |
| const_reverse_iterator | rend () const |
| |
| stringpiece_ssize_type | rfind (char c, size_type pos=npos) const |
| |
| stringpiece_ssize_type | rfind (StringPiece s, size_type pos=npos) const |
| |
| void | set (const char *data, stringpiece_ssize_type len) |
| |
| void | set (const char *str) |
| |
| void | set (const void *data, stringpiece_ssize_type len) |
| |
| stringpiece_ssize_type | size () const |
| |
| bool | starts_with (StringPiece x) const |
| |
| | StringPiece () |
| |
| | StringPiece (const char *offset, stringpiece_ssize_type len) |
| |
| | StringPiece (const char *str) |
| |
| template<class Allocator > |
| | StringPiece (const std::basic_string< char, std::char_traits< char >, Allocator > &str) |
| |
| | StringPiece (StringPiece x, stringpiece_ssize_type pos) |
| |
| | StringPiece (StringPiece x, stringpiece_ssize_type pos, stringpiece_ssize_type len) |
| |
| StringPiece | substr (size_type pos, size_type n=npos) const |
| |
| string | ToString () const |
| |
Definition at line 180 of file stringpiece.h.
◆ const_reverse_iterator
◆ difference_type
◆ reverse_iterator
◆ size_type
◆ value_type
◆ StringPiece() [1/6]
| google::protobuf::StringPiece::StringPiece |
( |
| ) |
|
|
inline |
◆ StringPiece() [2/6]
| google::protobuf::StringPiece::StringPiece |
( |
const char * |
str | ) |
|
|
inline |
◆ StringPiece() [3/6]
template<class Allocator >
| google::protobuf::StringPiece::StringPiece |
( |
const std::basic_string< char, std::char_traits< char >, Allocator > & |
str | ) |
|
|
inline |
◆ StringPiece() [4/6]
◆ StringPiece() [5/6]
◆ StringPiece() [6/6]
◆ AppendToString()
| void google::protobuf::StringPiece::AppendToString |
( |
string * |
target | ) |
const |
◆ as_string()
| string google::protobuf::StringPiece::as_string |
( |
| ) |
const |
|
inline |
◆ begin()
| iterator google::protobuf::StringPiece::begin |
( |
| ) |
const |
|
inline |
◆ capacity()
◆ CheckedSsizeTFromSizeT()
◆ clear()
| void google::protobuf::StringPiece::clear |
( |
| ) |
|
|
inline |
◆ compare()
| int google::protobuf::StringPiece::compare |
( |
StringPiece |
x | ) |
const |
|
inline |
◆ Consume()
| bool google::protobuf::StringPiece::Consume |
( |
StringPiece |
x | ) |
|
◆ ConsumeFromEnd()
| bool google::protobuf::StringPiece::ConsumeFromEnd |
( |
StringPiece |
x | ) |
|
◆ contains()
| bool google::protobuf::StringPiece::contains |
( |
StringPiece |
s | ) |
const |
◆ copy()
◆ CopyToString()
| void google::protobuf::StringPiece::CopyToString |
( |
string * |
target | ) |
const |
◆ data()
| const char* google::protobuf::StringPiece::data |
( |
| ) |
const |
|
inline |
◆ empty()
| bool google::protobuf::StringPiece::empty |
( |
| ) |
const |
|
inline |
◆ end()
| iterator google::protobuf::StringPiece::end |
( |
| ) |
const |
|
inline |
◆ ends_with()
| bool google::protobuf::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]
◆ find_first_of() [2/2]
◆ find_last_not_of() [1/2]
◆ find_last_not_of() [2/2]
◆ find_last_of() [1/2]
◆ find_last_of() [2/2]
◆ length()
◆ LogFatalSizeTooBig()
| void google::protobuf::StringPiece::LogFatalSizeTooBig |
( |
size_t |
size, |
|
|
const char * |
details |
|
) |
| |
|
staticprivate |
◆ max_size()
◆ operator string()
| google::protobuf::StringPiece::operator string |
( |
| ) |
const |
|
inline |
◆ operator[]()
◆ rbegin()
◆ remove_prefix()
◆ remove_suffix()
◆ rend()
◆ rfind() [1/2]
◆ rfind() [2/2]
◆ set() [1/3]
◆ set() [2/3]
| void google::protobuf::StringPiece::set |
( |
const char * |
str | ) |
|
|
inline |
◆ set() [3/3]
◆ size()
◆ starts_with()
| bool google::protobuf::StringPiece::starts_with |
( |
StringPiece |
x | ) |
const |
|
inline |
◆ substr()
◆ ToString()
| string google::protobuf::StringPiece::ToString |
( |
| ) |
const |
|
inline |
◆ const_iterator
| const typedef char* google::protobuf::StringPiece::const_iterator |
◆ const_reference
| const typedef char& google::protobuf::StringPiece::const_reference |
◆ iterator
| const typedef char* google::protobuf::StringPiece::iterator |
◆ length_
◆ npos
◆ pointer
| const typedef char* google::protobuf::StringPiece::pointer |
◆ ptr_
| const char* google::protobuf::StringPiece::ptr_ |
|
private |
◆ reference
| const typedef char& google::protobuf::StringPiece::reference |
The documentation for this class was generated from the following files: