NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
jsonloader::RangeField< T > Class Template Reference

#include <validation.h>

Inheritance diagram for jsonloader::RangeField< T >:
Inheritance graph

Public Member Functions

 RangeField (std::string const &name, T const &min, T const &max, bool required=true)
 
bool Validate (Json::Value const &obj) const override
 
- Public Member Functions inherited from jsonloader::Field
 Field (std::string const &name, Json::ValueType type, bool required=true)
 

Additional Inherited Members

- Protected Member Functions inherited from jsonloader::Field
std::string const & name () const noexcept
 

Constructor & Destructor Documentation

◆ RangeField()

template<typename T >
jsonloader::RangeField< T >::RangeField ( std::string const &  name,
T const &  min,
T const &  max,
bool  required = true 
)
inline

Member Function Documentation

◆ Validate()

template<typename T >
bool jsonloader::RangeField< T >::Validate ( Json::Value const &  obj) const
inlineoverridevirtual

Reimplemented from jsonloader::Field.


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