FTXUI 6.1.9
C++ functional terminal UI.
Chargement...
Recherche...
Aucune correspondance
Référence de la classe ConstStringListRef

Un adaptateur. Référence une liste de chaînes de caractères. Plus de détails...

#include <ref.hpp>

Classes

class  Adapter
 

Types publics

using Variant
 

Fonctions membres publiques

 ConstStringListRef ()=default
 
 ~ConstStringListRef ()=default
 
ConstStringListRefoperator= (const ConstStringListRef &)=default
 
ConstStringListRefoperator= (ConstStringListRef &&)=default
 
 ConstStringListRef (ConstStringListRef &&)=default
 
 ConstStringListRef (const ConstStringListRef &)=default
 
 ConstStringListRef (std::vector< std::string > value)
 
 ConstStringListRef (const std::vector< std::string > *value)
 
 ConstStringListRef (const std::vector< std::wstring > *value)
 
 ConstStringListRef (Adapter *adapter)
 
template<typename AdapterType >
 ConstStringListRef (std::unique_ptr< AdapterType > adapter)
 
size_t size () const
 
std::string operator[] (size_t i) const
 

Description détaillée

Un adaptateur. Référence une liste de chaînes de caractères.

Entrée supportée :

  • std::vector<std::string>
  • std::vector<std::string>*
  • std::vector<std::wstring>*
  • Adapter*
  • std::unique_ptr<Adapter>

Définition à la ligne 116 du fichier ref.hpp.

Documentation des définitions de type membres

◆ Variant

using Variant
Valeur initiale :
std::variant<const std::vector<std::string>,
const std::vector<std::string>*,
const std::vector<std::wstring>*,
Adapter*,
std::unique_ptr<Adapter>
>

Définition à la ligne 130 du fichier ref.hpp.

Documentation des constructeurs et destructeur

◆ ConstStringListRef() [1/8]

ConstStringListRef ( )
default

◆ ~ConstStringListRef()

~ConstStringListRef ( )
default

◆ ConstStringListRef() [2/8]

◆ ConstStringListRef() [3/8]

◆ ConstStringListRef() [4/8]

ConstStringListRef ( std::vector< std::string > value)
inline

Définition à la ligne 144 du fichier ref.hpp.

◆ ConstStringListRef() [5/8]

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

Définition à la ligne 148 du fichier ref.hpp.

◆ ConstStringListRef() [6/8]

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

Définition à la ligne 152 du fichier ref.hpp.

◆ ConstStringListRef() [7/8]

ConstStringListRef ( Adapter * adapter)
inline

Définition à la ligne 156 du fichier ref.hpp.

◆ ConstStringListRef() [8/8]

template<typename AdapterType >
ConstStringListRef ( std::unique_ptr< AdapterType > adapter)
inline

Définition à la ligne 161 du fichier ref.hpp.

Documentation des fonctions membres

◆ operator=() [1/2]

ConstStringListRef & operator= ( const ConstStringListRef & )
default

◆ operator=() [2/2]

ConstStringListRef & operator= ( ConstStringListRef && )
default

◆ size()

size_t size ( ) const
inline

Définition à la ligne 167 du fichier ref.hpp.

◆ operator[]()

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

Définition à la ligne 171 du fichier ref.hpp.


La documentation de cette classe a été générée à partir du fichier suivant :