#include <ConfigValidator.h>
◆ ConfigValidator()
alexaClientSDK::sampleApplications::ipcServerSampleApp::ConfigValidator::ConfigValidator |
( |
| ) |
|
◆ ~ConfigValidator()
alexaClientSDK::sampleApplications::ipcServerSampleApp::ConfigValidator::~ConfigValidator |
( |
| ) |
|
|
default |
◆ create()
static std::shared_ptr<ConfigValidator> alexaClientSDK::sampleApplications::ipcServerSampleApp::ConfigValidator::create |
( |
| ) |
|
|
static |
◆ validate()
Validates a configuration node using the json schema file.
- Parameters
-
configuration | The ConfigurationNode configuration object. The configuration object will be validated against the schema file for errors. |
jsonSchema | The json schema that contains the representation of the configuration object. This schema is expected to comply with JSON Schema Draft v4 specification which is currently the latest version of JSON Schema supported by rapidjson v1.1. For documentation details, refer to: http://json-schema.org/specification.html |
- Returns
- boolean Indicates if validation of the configuration object was successful
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/SampleApplications/IPCServerSampleApplication/LibIPCServerSampleApp/include/IPCServerSampleApp/ConfigValidator.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0