userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Class List
Class Index
File List
Macros
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
component_fwd.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/components/component_fwd.hpp
4
/// @brief Forward declarations for components::ComponentContext and
5
/// components::ComponentConfig; function components::GetCurrentComponentName().
6
7
#
include
<
string_view
>
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
components
{
12
13
class
ComponentConfig;
14
15
class
ComponentContext;
16
17
/// @brief Equivalent to @ref components::ComponentContext::GetComponentName, but works with forward declaration of
18
/// the @ref components::ComponentContext.
19
std::string_view
GetCurrentComponentName
(
const
ComponentContext& context);
20
21
}
// namespace components
22
23
USERVER_NAMESPACE_END
userver
components
component_fwd.hpp
Generated on Wed Apr 30 2025 15:48:43 for userver by
Doxygen
1.13.2