r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
srv::ArgsConfig Struct Reference

#include <ArgsHandler.hpp>

+ Collaboration diagram for srv::ArgsConfig:

Static Public Member Functions

static ArgsConfig fromFile (const std::string &path)
 

Public Attributes

bool exit = false
 
std::string host = Config::Network::DEFAULT_NETWORK_HOST
 
uint16_t port = Config::Network::DEFAULT_NETWORK_PORT
 
std::string network_lib_path
 

Detailed Description

Definition at line 20 of file ArgsHandler.hpp.

Member Function Documentation

◆ fromFile()

srv::ArgsConfig srv::ArgsConfig::fromFile ( const std::string & path)
static

Definition at line 26 of file argsHandler.cpp.

References host, network_lib_path, and port.

Referenced by srv::ArgsHandler::ParseArgs().

+ Here is the caller graph for this function:

Member Data Documentation

◆ exit

bool srv::ArgsConfig::exit = false

Definition at line 22 of file ArgsHandler.hpp.

Referenced by main().

◆ host

std::string srv::ArgsConfig::host = Config::Network::DEFAULT_NETWORK_HOST

Definition at line 23 of file ArgsHandler.hpp.

Referenced by fromFile(), and srv::Server::Server().

◆ network_lib_path

std::string srv::ArgsConfig::network_lib_path

Definition at line 25 of file ArgsHandler.hpp.

Referenced by fromFile().

◆ port

uint16_t srv::ArgsConfig::port = Config::Network::DEFAULT_NETWORK_PORT

Definition at line 24 of file ArgsHandler.hpp.

Referenced by fromFile(), and srv::Server::Server().


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