Webserv
Loading...
Searching...
No Matches
config::Bool Class Reference

#include <Bool.hpp>

Inheritance diagram for config::Bool:
config::IArgument

Public Member Functions

 Bool (bool value)
 Bool (std::string const &value)
 Bool (const char *value)
virtual ~Bool ()
virtual std::string evaluate (http::Request const &) const
virtual ArgumentType getType () const
virtual std::string getRawValue () const
virtual IArgumentclone () const
bool getValue () const
Public Member Functions inherited from config::IArgument
virtual ~IArgument ()

Private Member Functions

void init (std::string const &value)

Private Attributes

bool value_

Constructor & Destructor Documentation

◆ Bool() [1/3]

config::Bool::Bool ( bool value)
explicit

◆ Bool() [2/3]

config::Bool::Bool ( std::string const & value)
explicit

◆ Bool() [3/3]

config::Bool::Bool ( const char * value)
explicit

◆ ~Bool()

config::Bool::~Bool ( )
virtual

Member Function Documentation

◆ clone()

IArgument * config::Bool::clone ( ) const
virtual

Implements config::IArgument.

◆ evaluate()

std::string config::Bool::evaluate ( http::Request const & ) const
virtual

Implements config::IArgument.

◆ getRawValue()

std::string config::Bool::getRawValue ( ) const
virtual

Implements config::IArgument.

◆ getType()

ArgumentType config::Bool::getType ( ) const
virtual

Implements config::IArgument.

◆ getValue()

bool config::Bool::getValue ( ) const

◆ init()

void config::Bool::init ( std::string const & value)
private

Member Data Documentation

◆ value_

bool config::Bool::value_
private

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