webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
rtc::OptionsFile Class Reference

#include <optionsfile.h>

Public Member Functions

 OptionsFile (const std::string &path)
 
 ~OptionsFile ()
 
bool Load ()
 
bool Save ()
 
bool GetStringValue (const std::string &option, std::string *out_val) const
 
bool GetIntValue (const std::string &option, int *out_val) const
 
bool SetStringValue (const std::string &option, const std::string &val)
 
bool SetIntValue (const std::string &option, int val)
 
bool RemoveValue (const std::string &option)
 
 OptionsFile (const std::string &path)
 
 ~OptionsFile ()
 
bool Load ()
 
bool Save ()
 
bool GetStringValue (const std::string &option, std::string *out_val) const
 
bool GetIntValue (const std::string &option, int *out_val) const
 
bool SetStringValue (const std::string &option, const std::string &val)
 
bool SetIntValue (const std::string &option, int val)
 
bool RemoveValue (const std::string &option)
 

Constructor & Destructor Documentation

◆ OptionsFile() [1/2]

rtc::OptionsFile::OptionsFile ( const std::string path)

◆ ~OptionsFile() [1/2]

rtc::OptionsFile::~OptionsFile ( )
default

◆ OptionsFile() [2/2]

rtc::OptionsFile::OptionsFile ( const std::string path)

◆ ~OptionsFile() [2/2]

rtc::OptionsFile::~OptionsFile ( )

Member Function Documentation

◆ GetIntValue() [1/2]

bool rtc::OptionsFile::GetIntValue ( const std::string option,
int *  out_val 
) const

◆ GetIntValue() [2/2]

bool rtc::OptionsFile::GetIntValue ( const std::string option,
int *  out_val 
) const

◆ GetStringValue() [1/2]

bool rtc::OptionsFile::GetStringValue ( const std::string option,
std::string out_val 
) const

◆ GetStringValue() [2/2]

bool rtc::OptionsFile::GetStringValue ( const std::string option,
std::string out_val 
) const

◆ Load() [1/2]

bool rtc::OptionsFile::Load ( )

◆ Load() [2/2]

bool rtc::OptionsFile::Load ( )

◆ RemoveValue() [1/2]

bool rtc::OptionsFile::RemoveValue ( const std::string option)

◆ RemoveValue() [2/2]

bool rtc::OptionsFile::RemoveValue ( const std::string option)

◆ Save() [1/2]

bool rtc::OptionsFile::Save ( )

◆ Save() [2/2]

bool rtc::OptionsFile::Save ( )

◆ SetIntValue() [1/2]

bool rtc::OptionsFile::SetIntValue ( const std::string option,
int  val 
)

◆ SetIntValue() [2/2]

bool rtc::OptionsFile::SetIntValue ( const std::string option,
int  val 
)

◆ SetStringValue() [1/2]

bool rtc::OptionsFile::SetStringValue ( const std::string option,
const std::string val 
)

◆ SetStringValue() [2/2]

bool rtc::OptionsFile::SetStringValue ( const std::string option,
const std::string val 
)

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