13#ifndef ML_APPLICATION_PROPERTIES_H
14#define ML_APPLICATION_PROPERTIES_H
Static class that defines an interface to access properties of the host application.
static double getDouble(const char *propertyName, double defaultValue=0)
Returns double property, returns given defaultValue if property is unknown (or if propertyName is NUL...
static bool getBool(const char *propertyName, bool defaultValue=false)
Returns bool property, returns given defaultValue if property is unknown (or if propertyName is NULL)...
static std::string getString(const char *propertyName, const std::string &defaultValue=std::string())
Returns string property, returns given defaultValue if property is unknown (or if propertyName is NUL...
static bool hasProperty(const char *propertyName)
Returns true if the property exists, false otherwise (or if propertyName is NULL).
static MLint32 getInt(const char *propertyName, MLint32 defaultValue=0)
Returns int property, returns given defaultValue if property is unknown (or if propertyName is NULL).
Target mlrange_cast(Source arg)
Generic version of checked ML casts.