summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/smart_schema.h
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2017-11-30 15:19:11 -0500
committerjacobkeeler <jacob.keeler@livioradio.com>2017-11-30 15:19:11 -0500
commit273e26304efb215af3416f86ab86c1c7fd39f974 (patch)
tree5b756554c190eec764565076c84c9a3fb5c3193a /src/components/smart_objects/include/smart_objects/smart_schema.h
parent3800d598555ea45f2b61741b53a959cdd678e705 (diff)
downloadsdl_core-273e26304efb215af3416f86ab86c1c7fd39f974.tar.gz
Use ValidationReport objects for reporting rather than strings
Diffstat (limited to 'src/components/smart_objects/include/smart_objects/smart_schema.h')
-rw-r--r--src/components/smart_objects/include/smart_objects/smart_schema.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/smart_objects/include/smart_objects/smart_schema.h b/src/components/smart_objects/include/smart_objects/smart_schema.h
index e9aaf2e97c..87a7d4e9a0 100644
--- a/src/components/smart_objects/include/smart_objects/smart_schema.h
+++ b/src/components/smart_objects/include/smart_objects/smart_schema.h
@@ -76,13 +76,12 @@ class CSmartSchema FINAL {
* @brief Validate smart object.
*
* @param Object Object to validate.
- * @param errorMessage string reference to be filled with an appropriate error
- *message if an error occurs
+ * @param report__ object for reporting errors during validation
*
* @return NsSmartObjects::Errors::eType
**/
Errors::eType validate(const SmartObject& Object,
- std::string& errorMessage) const;
+ rpc::ValidationReport* report__) const;
/**
* @brief Set new root schema item.