FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
ConstStringRef Class Reference

アダプター。定数文字列を所有または参照します。便宜上、このクラスは複数の不変文字列を共有表現に変換します。 More...

#include <ref.hpp>

+ Inheritance diagram for ConstStringRef:

Public Member Functions

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

Detailed Description

アダプター。定数文字列を所有または参照します。便宜上、このクラスは複数の不変文字列を共有表現に変換します。

Definition at line 91 of file ref.hpp.

Constructor & Destructor Documentation

◆ ConstStringRef() [1/4]

ConstStringRef ( const std::wstring * ref)
inline

Definition at line 95 of file ref.hpp.

◆ ConstStringRef() [2/4]

ConstStringRef ( const std::wstring ref)
inline

Definition at line 97 of file ref.hpp.

◆ ConstStringRef() [3/4]

ConstStringRef ( const wchar_t * ref)
inline

Definition at line 99 of file ref.hpp.

◆ ConstStringRef() [4/4]

ConstStringRef ( const char * ref)
inline

Definition at line 101 of file ref.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 30 of file ref.hpp.

◆ operator*()

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

Definition at line 31 of file ref.hpp.

◆ operator->()

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

Definition at line 32 of file ref.hpp.


The documentation for this class was generated from the following file: