Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::utils::ConfigFile::KeyRestriction Struct Reference

Utility Type for restriction of type values. More...

#include <ConfigFile.h>

Public Member Functions

 KeyRestriction ()
 
 KeyRestriction (double min, double max)
 
 KeyRestriction (const std::string &values)
 
ICLUtils_API std::string toString () const
 

Public Attributes

double min
 
double max
 
std::string values
 
bool hasRange
 
bool hasValues
 

Detailed Description

Utility Type for restriction of type values.

Currently key restrictions cannot be propergated to the XML structure when set

Constructor & Destructor Documentation

◆ KeyRestriction() [1/3]

icl::utils::ConfigFile::KeyRestriction::KeyRestriction ( )
inline

◆ KeyRestriction() [2/3]

icl::utils::ConfigFile::KeyRestriction::KeyRestriction ( double  min,
double  max 
)
inline

◆ KeyRestriction() [3/3]

icl::utils::ConfigFile::KeyRestriction::KeyRestriction ( const std::string &  values)
inline

Member Function Documentation

◆ toString()

ICLUtils_API std::string icl::utils::ConfigFile::KeyRestriction::toString ( ) const

Member Data Documentation

◆ hasRange

bool icl::utils::ConfigFile::KeyRestriction::hasRange

◆ hasValues

bool icl::utils::ConfigFile::KeyRestriction::hasValues

◆ max

double icl::utils::ConfigFile::KeyRestriction::max

◆ min

double icl::utils::ConfigFile::KeyRestriction::min

◆ values

std::string icl::utils::ConfigFile::KeyRestriction::values

The documentation for this struct was generated from the following file: