reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::SipConfigParse Class Reference

#include <SipConfigParse.hxx>

Inheritance diagram for resip::SipConfigParse:
[legend]

Public Member Functions

 SipConfigParse ()
 
 SipConfigParse (const ConfigParse &c)
 
virtual ~SipConfigParse ()
 
bool getConfigValue (const resip::Data &name, resip::Uri &value)
 
resip::Uri getConfigUri (const resip::Data &name, const resip::Uri &defaultValue, bool useDefaultIfEmpty=false)
 
bool getConfigValue (const resip::Data &name, resip::NameAddr &value)
 
resip::NameAddr getConfigNameAddr (const resip::Data &name, const resip::NameAddr &defaultValue, bool useDefaultIfEmpty=false)
 
bool getConfigValue (const resip::Data &name, SecurityTypes::SSLType &value)
 
SecurityTypes::SSLType getConfigSSLType (const resip::Data &name, SecurityTypes::SSLType defaultValue)
 
bool getConfigValue (const resip::Data &name, SecurityTypes::TlsClientVerificationMode &value)
 
SecurityTypes::TlsClientVerificationMode getConfigClientVerificationMode (const resip::Data &name, SecurityTypes::TlsClientVerificationMode defaultValue)
 
virtual void printHelpText (int argc, char **argv)
 
- Public Member Functions inherited from resip::ConfigParse
 ConfigParse ()
 
virtual ~ConfigParse ()
 
virtual void parseConfig (int argc, char **argv, const resip::Data &defaultConfigFilename)
 
virtual void parseConfig (int argc, char **argv, const resip::Data &defaultConfigFilename, int skipCount)
 
virtual void parseCommandLine (int argc, char **argv, int skipCount=0)
 
virtual void parseConfigFile (const resip::Data &filename)
 
void getConfigIndexKeys (const resip::Data &indexName, std::set< resip::Data > &keys) const
 
bool getConfigValue (const resip::Data &name, resip::Data &value) const
 
resip::Data getConfigData (const resip::Data &name, const resip::Data &defaultValue, bool useDefaultIfEmpty=false) const
 
bool getConfigValue (const resip::Data &name, bool &value) const
 
bool getConfigBool (const resip::Data &name, bool defaultValue) const
 
bool getConfigValue (const resip::Data &name, unsigned long &value) const
 
unsigned long getConfigUnsignedLong (const resip::Data &name, unsigned long defaultValue) const
 
bool getConfigValue (const resip::Data &name, int &value) const
 
int getConfigInt (const resip::Data &name, int defaultValue) const
 
bool getConfigValue (const resip::Data &name, unsigned short &value) const
 
unsigned short getConfigUnsignedShort (const resip::Data &name, int defaultValue) const
 
bool getConfigValue (const resip::Data &name, std::vector< resip::Data > &value) const
 
bool getConfigValue (const resip::Data &name, std::vector< int > &value) const
 
bool getConfigValue (const resip::Data &name, std::set< resip::Data > &value) const
 
NestedConfigMap getConfigNested (const resip::Data &mapsPrefix) const
 
bool AddBasePathIfRequired (Data &filename) const
 
void insertConfigValue (const resip::Data &name, const resip::Data &value)
 

Additional Inherited Members

- Public Types inherited from resip::ConfigParse
typedef HashMap< int, NestedConfigParse > NestedConfigMap
 
- Protected Types inherited from resip::ConfigParse
typedef HashMultiMap< resip::Data, resip::Data > ConfigValuesMap
 
- Protected Member Functions inherited from resip::ConfigParse
template<typename T >
bool translateConfigValue (const std::map< T, resip::Data > dict, const resip::Data &name, T &value) const
 
void insertConfigValue (const Data &source, ConfigValuesMap &configValues, const resip::Data &name, const resip::Data &value)
 
resip::Data removePath (const resip::Data &fileAndPath) const
 
- Protected Attributes inherited from resip::ConfigParse
ConfigValuesMap mCmdLineConfigValues
 
ConfigValuesMap mFileConfigValues
 
ConfigValuesMap mConfigValues
 
resip::Data mCmdLineConfigFilename
 
resip::Data mConfigBasePath
 

Detailed Description

Definition at line 13 of file SipConfigParse.hxx.

Constructor & Destructor Documentation

◆ SipConfigParse() [1/2]

resip::SipConfigParse::SipConfigParse ( )

Definition at line 16 of file SipConfigParse.cxx.

◆ SipConfigParse() [2/2]

resip::SipConfigParse::SipConfigParse ( const ConfigParse &  c)
inline

Definition at line 18 of file SipConfigParse.hxx.

◆ ~SipConfigParse()

resip::SipConfigParse::~SipConfigParse ( )
virtual

Definition at line 20 of file SipConfigParse.cxx.

Member Function Documentation

◆ getConfigClientVerificationMode()

SecurityTypes::TlsClientVerificationMode resip::SipConfigParse::getConfigClientVerificationMode ( const resip::Data &  name,
SecurityTypes::TlsClientVerificationMode  defaultValue 
)

Definition at line 172 of file SipConfigParse.cxx.

◆ getConfigNameAddr()

resip::NameAddr resip::SipConfigParse::getConfigNameAddr ( const resip::Data &  name,
const resip::NameAddr &  defaultValue,
bool  useDefaultIfEmpty = false 
)

Definition at line 108 of file SipConfigParse.cxx.

◆ getConfigSSLType()

SecurityTypes::SSLType resip::SipConfigParse::getConfigSSLType ( const resip::Data &  name,
SecurityTypes::SSLType  defaultValue 
)

Definition at line 135 of file SipConfigParse.cxx.

◆ getConfigUri()

resip::Uri resip::SipConfigParse::getConfigUri ( const resip::Data &  name,
const resip::Uri &  defaultValue,
bool  useDefaultIfEmpty = false 
)

Definition at line 66 of file SipConfigParse.cxx.

◆ getConfigValue() [1/4]

bool resip::SipConfigParse::getConfigValue ( const resip::Data &  name,
resip::NameAddr &  value 
)

Definition at line 77 of file SipConfigParse.cxx.

◆ getConfigValue() [2/4]

bool resip::SipConfigParse::getConfigValue ( const resip::Data &  name,
resip::Uri &  value 
)

Definition at line 25 of file SipConfigParse.cxx.

◆ getConfigValue() [3/4]

bool resip::SipConfigParse::getConfigValue ( const resip::Data &  name,
SecurityTypes::SSLType &  value 
)

Definition at line 119 of file SipConfigParse.cxx.

◆ getConfigValue() [4/4]

bool resip::SipConfigParse::getConfigValue ( const resip::Data &  name,
SecurityTypes::TlsClientVerificationMode &  value 
)

Definition at line 143 of file SipConfigParse.cxx.

◆ printHelpText()

virtual void resip::SipConfigParse::printHelpText ( int  argc,
char **  argv 
)
inlinevirtual

Implements resip::ConfigParse.

Reimplemented in repro::ProxyConfig.

Definition at line 35 of file SipConfigParse.hxx.


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