23#ifndef GCS_TYPES_INCLUDED
24#define GCS_TYPES_INCLUDED
103 std::map<std::string, std::string>::const_iterator it;
104 for (it =
p.parameters.begin(); it !=
p.parameters.end(); it++) {
105 std::string
name = (*it).first;
106 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:58
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:48
void clear()
Clears all parameters.
Definition: gcs_types.h:114
const std::string * get_parameter(const std::string &name) const
Retrieves a parameter from the object.
Definition: gcs_types.cc:58
void add_parameters_from(const Gcs_interface_parameters &p)
Adds the parameters provided to the existing set of parameters.
Definition: gcs_types.h:102
void add_parameter(const std::string &name, const std::string &value)
Adds a parameter to the parameter catalog.
Definition: gcs_types.cc:30
std::map< std::string, std::string > parameters
Definition: gcs_types.h:121
Gcs_interface_parameters()
Definition: gcs_types.h:116
const char * p
Definition: ctype-mb.cc:1236
unsigned int uint32
Definition: gcs_types.h:32
enum_gcs_error
This enumeration describes errors which can occur during group communication operations.
Definition: gcs_types.h:40
@ GCS_OK
Definition: gcs_types.h:42
@ GCS_NOK
Definition: gcs_types.h:44
@ GCS_MESSAGE_TOO_BIG
Definition: gcs_types.h:46
unsigned char uchar
Definition: gcs_types.h:31
Gcs_protocol_version
The GCS protocol versions.
Definition: gcs_types.h:127
case opt name
Definition: sslopt-case.h:32