FTXUI  5.0.0
C++ functional terminal UI.
ConstStringListRef Class Reference

An adapter. Reference a list of strings. More...

Public Member Functions

 ConstStringListRef ()=default
 
 ConstStringListRef (const std::vector< std::string > *ref)
 
 ConstStringListRef (const std::vector< std::wstring > *ref)
 
 ConstStringListRef (const ConstStringListRef &other)=default
 
ConstStringListRefoperator= (const ConstStringListRef &other)=default
 
size_t size () const
 
std::string operator[] (size_t i) const
 

Detailed Description

An adapter. Reference a list of strings.

Definition at line 98 of file ref.hpp.

Constructor & Destructor Documentation

◆ ConstStringListRef() [1/4]

ConstStringListRef ( )
default

◆ ConstStringListRef() [2/4]

ConstStringListRef ( const std::vector< std::string > *  ref)
inline

Definition at line 101 of file ref.hpp.

◆ ConstStringListRef() [3/4]

ConstStringListRef ( const std::vector< std::wstring > *  ref)
inline

Definition at line 102 of file ref.hpp.

◆ ConstStringListRef() [4/4]

ConstStringListRef ( const ConstStringListRef other)
default

Member Function Documentation

◆ operator=()

ConstStringListRef & operator= ( const ConstStringListRef other)
default

◆ size()

size_t size ( ) const
inline

Definition at line 106 of file ref.hpp.

◆ operator[]()

std::string operator[] ( size_t  i) const
inline

Definition at line 116 of file ref.hpp.


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