NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
jsonloader::ObjectField Class Reference

#include <validation.h>

Inheritance diagram for jsonloader::ObjectField:
Inheritance graph

Public Member Functions

 ObjectField (std::string const &name, Fields const &fields, 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

◆ ObjectField()

jsonloader::ObjectField::ObjectField ( std::string const &  name,
jsonloader::Fields const &  fields,
bool  required = true 
)

Member Function Documentation

◆ Validate()

bool jsonloader::ObjectField::Validate ( Json::Value const &  obj) const
overridevirtual

Reimplemented from jsonloader::Field.


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