summaryrefslogtreecommitdiff
path: root/src/components/formatters/include/formatters/meta_formatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/formatters/include/formatters/meta_formatter.h')
-rw-r--r--src/components/formatters/include/formatters/meta_formatter.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/components/formatters/include/formatters/meta_formatter.h b/src/components/formatters/include/formatters/meta_formatter.h
index 36e39301f6..b2ff546bfc 100644
--- a/src/components/formatters/include/formatters/meta_formatter.h
+++ b/src/components/formatters/include/formatters/meta_formatter.h
@@ -44,35 +44,35 @@ namespace ns_json_handler {
namespace formatters {
/**
- * @brief Formats to string the smart object against given schema for given
- *formatter
- *
- * Sample usage:
- * CSmartFactory factory;
- * SmartObject object;
- * CSmartSchmema schema;
- *
- */
+ * @brief Formats to string the smart object against given schema for given
+ *formatter
+ *
+ * Sample usage:
+ * CSmartFactory factory;
+ * SmartObject object;
+ * CSmartSchmema schema;
+ *
+ */
class CMetaFormatter {
public:
/**
- * @brief Creates smart object by the given schema having copied
- * matched tree elements from original object.
- *
- * @param object Original smart object which macthed tree elements
- * will be copied from
- * @param schema Smart schema which describes result smart object
- * @param result_object createdsmart object
- * @return true if successful, false - otherwise
- */
+ * @brief Creates smart object by the given schema having copied
+ * matched tree elements from original object.
+ *
+ * @param object Original smart object which macthed tree elements
+ * will be copied from
+ * @param schema Smart schema which describes result smart object
+ * @param result_object createdsmart object
+ * @return true if successful, false - otherwise
+ */
static bool CreateObjectByPattern(
const ns_smart_device_link::ns_smart_objects::SmartObject& object,
const ns_smart_device_link::ns_smart_objects::CSmartSchema& schema,
ns_smart_device_link::ns_smart_objects::SmartObject& result_object);
};
+} // namespace formatters
+} // namespace ns_json_handler
} // namespace ns_smart_device_link
-} // namespace ns_smart_device_link::ns_json_handler
-} // namespace ns_smart_device_link::ns_json_handler::formatters
#endif // SRC_COMPONENTS_FORMATTERS_INCLUDE_FORMATTERS_META_FORMATTER_H_