#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
LSConsumptionPeriod
Consumption period.
Class used for encapsulating LSConsumptionPeriod and converting cosumption period to/from string.
std::string toString() const
Converts ConsumptionPeriode to a string.
static ConsumptionPeriod fromString(const std::string &str)
Converts string to ConsumptionPeriod.
ConsumptionPeriod(LSConsumptionPeriod period)
Constructs ConsumptionPeriod with given period type.
std::string toFormattedString() const
Converts ConsumptionPeriode to a string, with first letter capitalized.
ConsumptionPeriod()
Constructs ConsumptionPeriod with type ConsumptionPeriodNone.