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

#include <validation.h>

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

Public Member Functions

 ValueField (std::string const &name, T const &value, 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

◆ ValueField()

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

Member Function Documentation

◆ Validate()

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

Reimplemented from jsonloader::Field.


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