16 #ifndef FIFTYONE_DEGREES_RESULTS_BASE_HPP 17 #define FIFTYONE_DEGREES_RESULTS_BASE_HPP 23 #include "Exceptions.hpp" 25 #include "RequiredPropertiesConfig.hpp" 95 shared_ptr<fiftyoneDegreesResourceManager> manager);
114 int getAvailableProperties();
122 bool containsProperty(
const string &propertyName);
131 vector<string> getProperties();
140 string getPropertyName(
int requiredPropertyIndex);
235 Value<bool> getValueAsBool(
const char *propertyName);
244 Value<bool> getValueAsBool(
const string &propertyName);
253 Value<bool> getValueAsBool(
const string *propertyName);
262 Value<bool> getValueAsBool(
int requiredPropertyIndex);
272 Value<int> getValueAsInteger(
const char *propertyName);
282 Value<int> getValueAsInteger(
const string &propertyName);
292 Value<int> getValueAsInteger(
const string *propertyName);
302 Value<int> getValueAsInteger(
int requiredPropertyIndex);
357 int getRequiredPropertyIndex(
const char *propertyName);
367 virtual void getValuesInternal(
368 int requiredPropertyIndex,
369 vector<string> &values) = 0;
379 virtual bool hasValuesInternal(
int requiredPropertyIndex) = 0;
390 virtual const char* getNoValueMessageInternal(
402 int requiredPropertyIndex) = 0;
413 shared_ptr<fiftyoneDegreesResourceManager> manager;
Encapsulates a value returned an instance of ResultsBase for a specified property.
Definition: Value.hpp:68
fiftyoneDegreesPropertiesAvailable * available
Pointer to the underlying available properties structure.
Definition: ResultsBase.hpp:350
51Degrees base namespace.
Definition: Collection.hpp:24
Array of items of type fiftyoneDegreesPropertyAvailable used to easily access and track the size of t...
Definition: properties.h:140
fiftyoneDegreesResultsNoValueReason
Enum containing reasons which cause a value to not be present or valid.
Definition: results.h:54
Encapsulates the results of an engine's processing.
Definition: ResultsBase.hpp:74
Base results structure which any processing results should extend.
Definition: results.h:88