Public Member Functions | Private Attributes | List of all members
grpc_core::GlobalConfigEnvBool Class Reference

#include <global_config_env.h>

Inheritance diagram for grpc_core::GlobalConfigEnvBool:
Inheritance graph
[legend]

Public Member Functions

bool Get ()
 
constexpr GlobalConfigEnvBool (char *name, bool default_value)
 
void Set (bool value)
 
- Public Member Functions inherited from grpc_core::GlobalConfigEnv
UniquePtr< char > GetValue ()
 
void SetValue (const char *value)
 
void Unset ()
 

Private Attributes

bool default_value_
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::GlobalConfigEnv
char * GetName ()
 
constexpr GlobalConfigEnv (char *name)
 

Detailed Description

Definition at line 63 of file global_config_env.h.

Constructor & Destructor Documentation

◆ GlobalConfigEnvBool()

constexpr grpc_core::GlobalConfigEnvBool::GlobalConfigEnvBool ( char *  name,
bool  default_value 
)
inlineconstexpr

Definition at line 65 of file global_config_env.h.

Member Function Documentation

◆ Get()

bool grpc_core::GlobalConfigEnvBool::Get ( )

Definition at line 83 of file global_config_env.cc.

◆ Set()

void grpc_core::GlobalConfigEnvBool::Set ( bool  value)

Definition at line 97 of file global_config_env.cc.

Member Data Documentation

◆ default_value_

bool grpc_core::GlobalConfigEnvBool::default_value_
private

Definition at line 72 of file global_config_env.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36