24#ifndef GCS_TYPES_INCLUDED
25#define GCS_TYPES_INCLUDED
104 std::map<std::string, std::string>::const_iterator it;
105 for (it =
p.parameters.begin(); it !=
p.parameters.end(); it++) {
106 std::string
name = (*it).first;
107 std::string val = (*it).second;
This class is to be used to provide parameters to bindings in a transparent and generic way.
Definition: gcs_types.h:59
virtual ~Gcs_interface_parameters()=default
bool check_parameters(const std::vector< std::string > ¶ms) const
Check whether any of the parameters were provided.
Definition: gcs_types.cc:49
void clear()
Clears all parameters.
Definition: gcs_types.h:115
const std::string * get_parameter(const std::string &name) const
Retrieves a parameter from the object.
Definition: gcs_types.cc:59
void add_parameters_from(const Gcs_interface_parameters &p)
Adds the parameters provided to the existing set of parameters.
Definition: gcs_types.h:103
void add_parameter(const std::string &name, const std::string &value)
Adds a parameter to the parameter catalog.
Definition: gcs_types.cc:31
std::map< std::string, std::string > parameters
Definition: gcs_types.h:122
Gcs_interface_parameters()
Definition: gcs_types.h:117
const char * p
Definition: ctype-mb.cc:1225
unsigned int uint32
Definition: gcs_types.h:33
enum_gcs_error
This enumeration describes errors which can occur during group communication operations.
Definition: gcs_types.h:41
@ GCS_OK
Definition: gcs_types.h:43
@ GCS_NOK
Definition: gcs_types.h:45
@ GCS_MESSAGE_TOO_BIG
Definition: gcs_types.h:47
unsigned char uchar
Definition: gcs_types.h:32
Gcs_protocol_version
The GCS protocol versions.
Definition: gcs_types.h:128
size_t size(const char *const c)
Definition: base64.h:46
case opt name
Definition: sslopt-case.h:29