SOIL C++
C++ Unified Device Interface
SOIL::Range< ENUM > Class Reference

Enum Range. More...

#include <Range.h>

Public Member Functions

 Range ()
 
 Range (std::vector< std::string > choices)
 
 ~Range ()
 
HTTP::Json wjson (void)
 
bool check (const std::string &value)
 
bool check (const SOIL::ENUM &value)
 

Detailed Description

Specialization of Range for enumerations, where the limit is a set of applicable choices.

Definition at line 131 of file Range.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

SOIL::Range< ENUM >::Range ( )

◆ Range() [2/2]

SOIL::Range< ENUM >::Range ( std::vector< std::string >  choices)

◆ ~Range()

Member Function Documentation

◆ check() [1/2]

bool SOIL::Range< ENUM >::check ( const SOIL::ENUM value)

◆ check() [2/2]

bool SOIL::Range< ENUM >::check ( const std::string &  value)

◆ wjson()

HTTP::Json SOIL::Range< ENUM >::wjson ( void  )

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