|
| const char & | getElement_ (std::size_t idx) const |
| |
| std::size_t | getElementCount_ () const noexcept |
| |
| auto | spaceShip_ (int result) const noexcept |
| |
| constexpr | StringView (const char *pStr, size_t size=0) noexcept |
| |
| constexpr | StringView (const StringView &rhs) noexcept |
| |
| constexpr | StringView (GblStringView gblStrv) noexcept |
| |
| constexpr | StringView (std::string_view view) noexcept |
| |
| constexpr const char * | data () const noexcept |
| |
| constexpr std::size_t | length () const noexcept |
| |
| constexpr bool | isNullTerminated () const noexcept |
| |
| int | compareIgnoreCase (const char *pString, std::size_t len=0) const noexcept |
| |
| bool | equalsIgnoreCase (const char *pString, std::size_t len=0) const noexcept |
| |
| void | copy (void *pDst, std::size_t offset, std::size_t bytes) const noexcept |
| |
| bool | empty () const noexcept |
| |
| bool | isBlank () const noexcept |
| |
| constexpr char | operator[] (std::size_t index) const |
| |
| char | first () const |
| |
| char | last () const |
| |
| StringView | removePrefix (std::size_t len) const |
| |
| StringView | removeSuffix (std::size_t len) const |
| |
| StringView | chomp () const noexcept |
| |
| StringView | substr (std::size_t offset, std::size_t length) const noexcept |
| |
| bool | contains (const char *pStr, std::size_t len=0) const noexcept |
| |
| bool | containsIgnoreCase (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | count (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | countIgnoreCase (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | find (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | findIgnoreCase (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | rfind (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | rfindIgnoreCase (const char *pStr, std::size_t len=0) const noexcept |
| |
| bool | startsWith (const char *pStr, std::size_t len=0) const noexcept |
| |
| bool | startsWithIgnoreCase (const char *pStr, std::size_t len=0) const noexcept |
| |
| bool | endsWith (const char *pStr, std::size_t len=0) const noexcept |
| |
| bool | endsWithIgnoreCase (const char *pStr, std::size_t len=0) const noexcept |
| |
| std::size_t | findFirstOf (const char *pChars, std::size_t len=0, std::size_t offset=0) const noexcept |
| |
| std::size_t | findLastOf (const char *pChars, std::size_t len=0, std::size_t offset=npos) const noexcept |
| |
| std::size_t | findFirstNotOf (const char *pChars, std::size_t len=0, std::size_t offset=0) const noexcept |
| |
| std::size_t | findLastNotOf (const char *pChars, std::size_t len=0, std::size_t offset=npos) const noexcept |
| |
| std::string | toStdString () const |
| |
| Quark | quark () const noexcept |
| |
| Quark | tryQuark () const noexcept |
| |
| const char * | intern () const noexcept |
| |
| bool | toNil () const noexcept |
| |
| template<typename T> |
| auto | toValue () const noexcept |
| |
| bool | operator== (const char *pStr) const noexcept |
| |
| auto | operator<=> (const char *pStr) const noexcept |
| |
| bool | operator== (StringView rhs) const noexcept |
| |
| auto | operator<=> (StringView rhs) const noexcept |
| |
| bool | operator== (const std::string &rhs) const noexcept |
| |
| auto | operator<=> (const std::string &rhs) const noexcept |
| |
| GBL_TUPLE_FOREACH__GBL_NARG | GBL_BIT_FIELDS_ENDIAN_XFORM_ (size_t nullTerminated :1, size_t length :sizeof(size_t) *8 - 1)(GBL_BIT_FIELDS_ENTRY_ |
| |
| void | checkBounds (std::size_t index) const |
| |
| std::size_t | size (void) const |
| |
| std::size_t | length (void) const |
| |
| std::size_t | empty (void) const |
| |
| char | at (std::size_t index) const |
| |
| IndexableProxy | at (std::size_t index) |
| |
| char | front (std::size_t index) const |
| |
| IndexableProxy | front (void) |
| |
| char | back (void) const |
| |
| IndexableProxy | back (void) |
| |
| char | operator[] (std::size_t key) const |
| |
| SubscriptProxy | operator[] (std::size_t key) |
| |
Public Member Functions inherited from gbl::RandomAccessIterable< const StringView, std::size_t, char > |
| iterator | begin (void) |
| |
| auto | begin (void) const |
| |
| auto | rbegin (void) |
| |
| auto | rbegin (void) const |
| |
| iterator | end (void) |
| |
| auto | end (void) const |
| |
| auto | rend (void) |
| |
| auto | rend (void) const |
| |
| const_iterator | cbegin (void) const |
| |
| auto | crbegin (void) const |
| |
| const_iterator | cend (void) const |
| |
| auto | crend (void) const |
| |
|
Public Types inherited from gbl::RandomAccessIterable< const StringView, std::size_t, char > |
| using | iterator |
| |
| using | reverse_iterator |
| |
| using | const_iterator |
| |
| using | reverse_const_iterator |
| |
| const char * | pData |
| |
| GBL_TUPLE_FOREACH__GBL_NARG | GBL_PHONY |
| |
| GblStringView | GblStringView_fromEmpty (void) |
| |
| GblStringView | GblStringView_fromString (const char *pString, size_t length) |
| |
| GblStringView | GblStringView_fromQuark (GblQuark quark) |
| |
| int | GblStringView_compare (GblStringView self, const char *pString, size_t len) |
| |
| int | GblStringView_compareIgnoreCase (GblStringView self, const char *pString, size_t len) |
| |
| GblBool | GblStringView_equals (GblStringView self, const char *pString, size_t len) |
| |
| GblBool | GblStringView_equalsIgnoreCase (GblStringView self, const char *pString, size_t len) |
| |
| char | GblStringView_at (GblStringView self, size_t index) |
| |
| char | GblStringView_first (GblStringView self) |
| |
| char | GblStringView_last (GblStringView self) |
| |
| GBL_RESULT | GblStringView_copy (GblStringView self, void *pDst, size_t offset, size_t bytes) |
| |
| GblStringView | GblStringView_removePrefix (GblStringView self, size_t length) |
| |
| GblStringView | GblStringView_removeSuffix (GblStringView self, size_t length) |
| |
| GblStringView | GblStringView_chomp (GblStringView self) |
| |
| GblStringView | GblStringView_substr (GblStringView self, size_t offset, size_t length) |
| |
| GblBool | GblStringView_contains (GblStringView self, const char *pString, size_t len) |
| |
| GblBool | GblStringView_containsIgnoreCase (GblStringView self, const char *pString, size_t len) |
| |
| size_t | GblStringView_count (GblStringView self, const char *pString, size_t len) |
| |
| size_t | GblStringView_countIgnoreCase (GblStringView self, const char *pString, size_t len) |
| |
| size_t | GblStringView_find (GblStringView self, const char *pStr, size_t len, size_t offset) |
| |
| size_t | GblStringView_findIgnoreCase (GblStringView self, const char *pStr, size_t len, size_t offset) |
| |
| size_t | GblStringView_rfind (GblStringView self, const char *pStr, size_t len, size_t offset) |
| |
| size_t | GblStringView_rfindIgnoreCase (GblStringView self, const char *pStr, size_t len, size_t offset) |
| |
| GblBool | GblStringView_startsWith (GblStringView self, const char *pString, size_t len) |
| |
| GblBool | GblStringView_startsWithIgnoreCase (GblStringView self, const char *pString, size_t len) |
| |
| GblBool | GblStringView_endsWith (GblStringView self, const char *pString, size_t len) |
| |
| GblBool | GblStringView_endsWithIgnoreCase (GblStringView self, const char *pString, size_t len) |
| |
| size_t | GblStringView_findFirstOf (GblStringView self, const char *pChars, size_t len, size_t offset) |
| |
| size_t | GblStringView_findLastOf (GblStringView self, const char *pChars, size_t len, size_t offset) |
| |
| size_t | GblStringView_findFirstNotOf (GblStringView self, const char *pChars, size_t len, size_t offset) |
| |
| size_t | GblStringView_findLastNotOf (GblStringView self, const char *pChars, size_t len, size_t offset) |
| |
| GblBool | GblStringView_empty (GblStringView self) |
| |
| GblBool | GblStringView_blank (GblStringView self) |
| |
| GblHash | GblStringView_hash (GblStringView self) |
| |
| GblQuark | GblStringView_quark (GblStringView self) |
| |
| GblQuark | GblStringView_tryQuark (GblStringView self) |
| |
| const char * | GblStringView_intern (GblStringView self) |
| |
| char * | GblStringView_strdup (GblStringView self) |
| |
| int | GblStringView_scanf (GblStringView self, const char *pFmt,...) |
| |
| int | GblStringView_scanfVa (GblStringView self, const char *pFmt, va_list *pVarArgs) |
| |
| char * | GblStringView_toCString (GblStringView self, char *pDest, size_t destSize) |
| |
| GblBool | GblStringView_toNil (GblStringView self) |
| |
| GblBool | GblStringView_toBool (GblStringView self, GblBool *pSuccess) |
| |
| char | GblStringView_toChar (GblStringView self, GblBool *pSuccess) |
| |
| uint8_t | GblStringView_toUint8 (GblStringView self, GblBool *pSuccess) |
| |
| uint16_t | GblStringView_toUint16 (GblStringView self, GblBool *pSuccess) |
| |
| int16_t | GblStringView_toInt16 (GblStringView self, GblBool *pSuccess) |
| |
| uint32_t | GblStringView_toUint32 (GblStringView self, GblBool *pSuccess) |
| |
| int32_t | GblStringView_toInt32 (GblStringView self, GblBool *pSuccess) |
| |
| uint64_t | GblStringView_toUint64 (GblStringView self, GblBool *pSuccess) |
| |
| int64_t | GblStringView_toInt64 (GblStringView self, GblBool *pSuccess) |
| |
| float | GblStringView_toFloat (GblStringView self, GblBool *pSuccess) |
| |
| double | GblStringView_toDouble (GblStringView self, GblBool *pSuccess) |
| |
| void * | GblStringView_toPointer (GblStringView self, GblBool *pSuccess) |
| |
OO C++ binding object around GblStringView.
gbl::StringView is intended to be a complete all-in-one replacement for the builtin std::string_view, including all of its functionality and more.
Definition at line 47 of file gimbal_string_view.hpp.