#include <ConfigParser.hpp>
Definition at line 21 of file ConfigParser.hpp.
◆ ConfigParser() [1/2]
| ConfigParser::ConfigParser |
( |
const std::string & |
filePath | ) |
|
|
explicit |
◆ ~ConfigParser()
| ConfigParser::~ConfigParser |
( |
| ) |
|
◆ ConfigParser() [2/2]
◆ parse()
◆ _tokenize()
| void ConfigParser::_tokenize |
( |
const std::string & |
content | ) |
|
|
private |
◆ _peek()
| const std::string & ConfigParser::_peek |
( |
| ) |
const |
|
private |
◆ _consume()
| const std::string & ConfigParser::_consume |
( |
| ) |
|
|
private |
◆ _expect()
| void ConfigParser::_expect |
( |
const std::string & |
token | ) |
|
|
private |
◆ _atEnd()
| bool ConfigParser::_atEnd |
( |
| ) |
const |
|
private |
◆ _parseServerBlock()
◆ _parseLocationBlock()
| LocationConf ConfigParser::_parseLocationBlock |
( |
const std::string & |
path | ) |
|
|
private |
◆ _parseListen()
| void ConfigParser::_parseListen |
( |
ServerConf & |
conf | ) |
|
|
private |
◆ _parseServerName()
| void ConfigParser::_parseServerName |
( |
ServerConf & |
conf | ) |
|
|
private |
◆ _parseMaxBodySize()
| void ConfigParser::_parseMaxBodySize |
( |
ServerConf & |
conf | ) |
|
|
private |
◆ _parseErrorPage()
| void ConfigParser::_parseErrorPage |
( |
ServerConf & |
conf | ) |
|
|
private |
◆ _parseRoot()
◆ _parseMethods()
◆ _parseAutoIndex()
◆ _parseIndex()
◆ _parseUploadStore()
◆ _parseReturn()
◆ _parseCgiInterpreter()
| void ConfigParser::_parseCgiInterpreter |
( |
LocationConf & |
loc | ) |
|
|
private |
◆ _parseSockAddr()
| struct sockaddr_in ConfigParser::_parseSockAddr |
( |
const std::string & |
listenValue | ) |
|
|
private |
◆ _parseBodySize()
| size_t ConfigParser::_parseBodySize |
( |
const std::string & |
value | ) |
|
|
private |
◆ _parseMethodToken()
| HTTPMethod ConfigParser::_parseMethodToken |
( |
const std::string & |
token | ) |
|
|
private |
◆ operator=()
◆ _filePath
| std::string ConfigParser::_filePath |
|
private |
◆ _tokens
| std::vector<std::string> ConfigParser::_tokens |
|
private |
◆ _pos
| size_t ConfigParser::_pos |
|
private |
The documentation for this class was generated from the following files: