getdp.h (getdp-3.4.0-source.tgz) | : | getdp.h (getdp-3.5.0-source.tgz) | ||
---|---|---|---|---|
// GetDP - Copyright (C) 1997-2021 P. Dular and C. Geuzaine, University of Liege | // GetDP - Copyright (C) 1997-2022 P. Dular and C. Geuzaine, University of Liege | |||
// | // | |||
// See the LICENSE.txt file for license information. Please report all | // See the LICENSE.txt file for license information. Please report all | |||
// issues on https://gitlab.onelab.info/getdp/getdp/issues. | // issues on https://gitlab.onelab.info/getdp/getdp/issues. | |||
#ifndef GETDP_H | #ifndef GETDP_H | |||
#define GETDP_H | #define GETDP_H | |||
#include <string> | #include <string> | |||
#include <vector> | #include <vector> | |||
int getdp(const std::vector<std::string> &args, void *ptr=NULL); | int getdp(const std::vector<std::string> &args, void *ptr = NULL); | |||
void getdpClearNumbers(); | void getdpClearNumbers(); | |||
void getdpSetNumber(const std::string &name, double value); | void getdpSetNumber(const std::string &name, double value); | |||
void getdpSetNumber(const std::string &name, const std::vector<double> &value); | void getdpSetNumber(const std::string &name, const std::vector<double> &value); | |||
std::vector<double> &getdpGetNumber(const std::string &name); | std::vector<double> &getdpGetNumber(const std::string &name); | |||
void getdpClearStrings(); | void getdpClearStrings(); | |||
void getdpSetString(const std::string &name, const std::string &value); | void getdpSetString(const std::string &name, const std::string &value); | |||
void getdpSetString(const std::string &name, const std::vector<std::string> &val | void getdpSetString(const std::string &name, | |||
ue); | const std::vector<std::string> &value); | |||
std::vector<std::string> &getdpGetString(const std::string &name); | std::vector<std::string> &getdpGetString(const std::string &name); | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added |