Kiwano Engine  v1.2.x
kiwano::BasicStringView< CharTy > 模板类 参考

基础常字符串视图 更多...

#include <String.h>

class  Iterator
 

Public 类型

using value_type = CharTy
 
using pointer = CharTy *
 
using const_pointer = const CharTy *
 
using reference = CharTy &
 
using const_reference = const CharTy &
 
using traits_type = std::char_traits< CharTy >
 
using size_type = std::size_t
 
using string_type = BasicString< CharTy >
 
using const_iterator = Iterator
 
using iterator = const_iterator
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 
using reverse_iterator = const_reverse_iterator
 

Public 成员函数

 BasicStringView (const_pointer c_str)
 
 BasicStringView (const_pointer c_str, size_type count)
 
 BasicStringView (const string_type &str)
 
 BasicStringView (const BasicStringView &rhs)
 
const value_type * Data () const
 
bool IsEmpty () const
 
size_type Find (value_type ch) const
 
BasicStringView SubStr (size_type pos, size_type count=string_type::npos) const
 
size_type GetLength () const
 
value_type At (size_type index) const
 
value_type operator[] (size_type index) const
 
 operator string_type () const
 
BasicStringViewoperator= (const BasicStringView &rhs)
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator end () const
 
const_iterator cend () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator rend () const
 
const_reverse_iterator crend () const
 
const value_type & front () const
 
const value_type & back () const
 

详细描述

template<typename CharTy>
class kiwano::BasicStringView< CharTy >

基础常字符串视图