userver: components::InMemoryConfig Struct Reference
Loading...
Searching...
No Matches
components::InMemoryConfig Struct Reference

#include <userver/components/run.hpp>

Detailed Description

Data type to distinguish config path and in-memory config values in components::Run() and components::RunOnce() functions.

Definition at line 19 of file run.hpp.

+ Inheritance diagram for components::InMemoryConfig:

Public Types

using UnderlyingType
 
using TagType
 

Public Member Functions

constexpr operator const std::string & () const &noexcept USERVER_IMPL_LIFETIME_BOUND
 
constexpr operator std::string () &&noexcept
 
constexpr operator std::string & () &noexcept USERVER_IMPL_LIFETIME_BOUND
 
constexpr const std::string & GetUnderlying () const &noexcept USERVER_IMPL_LIFETIME_BOUND
 
constexpr std::string GetUnderlying () &&noexcept
 
constexpr std::string & GetUnderlying () &noexcept USERVER_IMPL_LIFETIME_BOUND
 
auto begin ()
 
auto begin () const
 
auto end ()
 
auto end () const
 
auto cbegin () const
 
auto cend () const
 
auto size () const
 
auto empty () const
 
auto clear ()
 
decltype(auto) operator[] (Arg &&i)
 
decltype(auto) operator[] (Arg &&i) const
 

Static Public Attributes

static constexpr StrongTypedefOps kOps
 

Member Typedef Documentation

◆ TagType

using utils::StrongTypedef< InMemoryConfig, std::string, Ops >::TagType
inherited

Definition at line 172 of file strong_typedef.hpp.

◆ UnderlyingType

using utils::StrongTypedef< InMemoryConfig, std::string, Ops >::UnderlyingType
inherited

Definition at line 171 of file strong_typedef.hpp.

Member Function Documentation

◆ begin() [1/2]

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::begin ( )
inlineinherited

Definition at line 206 of file strong_typedef.hpp.

◆ begin() [2/2]

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::begin ( ) const
inlineinherited

Definition at line 218 of file strong_typedef.hpp.

◆ cbegin()

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::cbegin ( ) const
inlineinherited

Definition at line 230 of file strong_typedef.hpp.

◆ cend()

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::cend ( ) const
inlineinherited

Definition at line 236 of file strong_typedef.hpp.

◆ clear()

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::clear ( )
inlineinherited

Definition at line 250 of file strong_typedef.hpp.

◆ empty()

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::empty ( ) const
inlineinherited

Definition at line 248 of file strong_typedef.hpp.

◆ end() [1/2]

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::end ( )
inlineinherited

Definition at line 212 of file strong_typedef.hpp.

◆ end() [2/2]

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::end ( ) const
inlineinherited

Definition at line 224 of file strong_typedef.hpp.

◆ GetUnderlying() [1/3]

std::string utils::StrongTypedef< InMemoryConfig, std::string, Ops >::GetUnderlying ( ) &&
inlineconstexprnoexceptinherited

Definition at line 203 of file strong_typedef.hpp.

◆ GetUnderlying() [2/3]

std::string & utils::StrongTypedef< InMemoryConfig, std::string, Ops >::GetUnderlying ( ) &
inlineconstexprnoexceptinherited

Definition at line 204 of file strong_typedef.hpp.

◆ GetUnderlying() [3/3]

const std::string & utils::StrongTypedef< InMemoryConfig, std::string, Ops >::GetUnderlying ( ) const &
inlineconstexprnoexceptinherited

Definition at line 202 of file strong_typedef.hpp.

◆ operator const std::string &()

utils::StrongTypedef< InMemoryConfig, std::string, Ops >::operator const std::string & ( ) const &
inlineexplicitconstexprnoexceptinherited

Definition at line 198 of file strong_typedef.hpp.

◆ operator std::string()

utils::StrongTypedef< InMemoryConfig, std::string, Ops >::operator std::string ( ) &&
inlineexplicitconstexprnoexceptinherited

Definition at line 199 of file strong_typedef.hpp.

◆ operator std::string &()

utils::StrongTypedef< InMemoryConfig, std::string, Ops >::operator std::string& ( ) &
inlineexplicitconstexprnoexceptinherited

Definition at line 200 of file strong_typedef.hpp.

◆ operator[]() [1/2]

decltype(auto) utils::StrongTypedef< InMemoryConfig, std::string, Ops >::operator[] ( Arg && i)
inlineinherited

Definition at line 253 of file strong_typedef.hpp.

◆ operator[]() [2/2]

decltype(auto) utils::StrongTypedef< InMemoryConfig, std::string, Ops >::operator[] ( Arg && i) const
inlineinherited

Definition at line 257 of file strong_typedef.hpp.

◆ size()

auto utils::StrongTypedef< InMemoryConfig, std::string, Ops >::size ( ) const
inlineinherited

Definition at line 242 of file strong_typedef.hpp.

Member Data Documentation

◆ kOps

StrongTypedefOps utils::StrongTypedef< InMemoryConfig, std::string, Ops >::kOps
staticconstexprinherited

Definition at line 173 of file strong_typedef.hpp.


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