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

#include <global_config_env.h>

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

Public Member Functions

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

Private Attributes

int32_t default_value_
 

Additional Inherited Members

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

Detailed Description

Definition at line 75 of file global_config_env.h.

Constructor & Destructor Documentation

◆ GlobalConfigEnvInt32()

constexpr grpc_core::GlobalConfigEnvInt32::GlobalConfigEnvInt32 ( char *  name,
int32_t  default_value 
)
inlineconstexpr

Definition at line 77 of file global_config_env.h.

Member Function Documentation

◆ Get()

int32_t grpc_core::GlobalConfigEnvInt32::Get ( )

Definition at line 104 of file global_config_env.cc.

◆ Set()

void grpc_core::GlobalConfigEnvInt32::Set ( int32_t  value)

Definition at line 119 of file global_config_env.cc.

Member Data Documentation

◆ default_value_

int32_t grpc_core::GlobalConfigEnvInt32::default_value_
private

Definition at line 84 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