FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
StringRef类 参考

一个适配器。拥有或引用一个常量字符串。为了方便,这个 类将多个可变字符串转换为共享表示。 更多...

#include <ref.hpp>

+ 类 StringRef 继承关系图:

Public 成员函数

 StringRef (const wchar_t *ref)
 
 StringRef (const char *ref)
 
std::string & operator() ()
 
const std::string & operator() () const
 
std::string & operator* ()
 
const std::string & operator* () const
 
std::string * operator-> ()
 
const std::string * operator-> () const
 

详细描述

一个适配器。拥有或引用一个常量字符串。为了方便,这个 类将多个可变字符串转换为共享表示。

在文件 ref.hpp82 行定义.

构造及析构函数说明

◆ StringRef() [1/2]

StringRef ( const wchar_t * ref)
inline

在文件 ref.hpp86 行定义.

◆ StringRef() [2/2]

StringRef ( const char * ref)
inline

在文件 ref.hpp88 行定义.

成员函数说明

◆ operator()() [1/2]

std::string & operator() ( )
inlineinherited

在文件 ref.hpp60 行定义.

◆ operator()() [2/2]

const std::string & operator() ( ) const
inlineinherited

在文件 ref.hpp63 行定义.

◆ operator*() [1/2]

std::string & operator* ( )
inlineinherited

在文件 ref.hpp61 行定义.

◆ operator*() [2/2]

const std::string & operator* ( ) const
inlineinherited

在文件 ref.hpp64 行定义.

◆ operator->() [1/2]

std::string * operator-> ( )
inlineinherited

在文件 ref.hpp62 行定义.

◆ operator->() [2/2]

const std::string * operator-> ( ) const
inlineinherited

在文件 ref.hpp65 行定义.


该类的文档由以下文件生成: