Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::util::VarSub Class Reference

Variable substitution. More...

#include <toolbox/util/VarSub.hpp>

Public Member Functions

 VarSub (std::function< std::string(const std::string &)> fn=get_env)
 
 ~VarSub ()
 
 VarSub (const VarSub &)
 
VarSuboperator= (const VarSub &)
 
 VarSub (VarSub &&) noexcept
 
VarSuboperator= (VarSub &&) noexcept
 
void operator() (std::string &s) const
 

Detailed Description

Variable substitution.

Definition at line 32 of file VarSub.hpp.

Constructor & Destructor Documentation

◆ VarSub() [1/3]

toolbox::util::VarSub::VarSub ( std::function< std::string(const std::string &)>  fn = get_env)
inlineexplicit

Definition at line 34 of file VarSub.hpp.

◆ ~VarSub()

toolbox::util::VarSub::~VarSub ( )
default

◆ VarSub() [2/3]

toolbox::util::VarSub::VarSub ( const VarSub )
default

◆ VarSub() [3/3]

toolbox::util::VarSub::VarSub ( VarSub &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

VarSub & toolbox::util::VarSub::operator= ( const VarSub )
default

◆ operator=() [2/2]

VarSub & toolbox::util::VarSub::operator= ( VarSub &&  )
defaultnoexcept

◆ operator()()

void toolbox::util::VarSub::operator() ( std::string &  s) const
inline

Definition at line 48 of file VarSub.hpp.


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