PBValidation.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5CDM_BIND_DECL2(ValidationTarget)
6CDM_BIND_DECL2(SegmentValidationTarget)
7CDM_BIND_DECL2(SegmentValidationSegment)
8CDM_BIND_DECL2(TimeSeriesValidationTarget)
9CDM_BIND_DECL2(TimeSeriesValidationTargetList)
10
11class CDM_DECL PBValidation
12{
13public:
14 static void Serialize(const CDM_BIND::ValidationTargetData& src, SEValidationTarget& dst);
15 static void Serialize(const SEValidationTarget& src, CDM_BIND::ValidationTargetData& dst);
16
17 static void Load(const CDM_BIND::SegmentValidationTargetData& src, SESegmentValidationTarget& dst);
18 static CDM_BIND::SegmentValidationTargetData* Unload(const SESegmentValidationTarget& src);
19 static void Serialize(const CDM_BIND::SegmentValidationTargetData& src, SESegmentValidationTarget& dst);
20 static void Serialize(const SESegmentValidationTarget& src, CDM_BIND::SegmentValidationTargetData& dst);
21 static void Load(const CDM_BIND::SegmentValidationSegmentData& src, std::vector<SESegmentValidationTarget*>& dst);
22 static void Serialize(const CDM_BIND::SegmentValidationSegmentData& src, std::vector<SESegmentValidationTarget*>& dst);
23 static bool SerializeFromString(const std::string& src, std::vector<SESegmentValidationTarget*>& dst, eSerializationFormat m, Logger* logger);
24 static bool SerializeFromFile(const std::string& filename, std::vector<SESegmentValidationTarget*>& dst, Logger* logger);
25 static CDM_BIND::SegmentValidationSegmentData* Unload(const std::vector<const SESegmentValidationTarget*>& src);
26 static void Serialize(const std::vector<const SESegmentValidationTarget*>& src, CDM_BIND::SegmentValidationSegmentData& dst);
27 static bool SerializeToString(const std::vector<const SESegmentValidationTarget*>& src, std::string& output, eSerializationFormat m, Logger* logger);
28 static bool SerializeToFile(const std::vector<const SESegmentValidationTarget*>& src, const std::string& filename, Logger* logger);
29
30 static void Load(const CDM_BIND::TimeSeriesValidationTargetData& src, SETimeSeriesValidationTarget& dst);
31 static CDM_BIND::TimeSeriesValidationTargetData* Unload(const SETimeSeriesValidationTarget& src);
32 static void Serialize(const CDM_BIND::TimeSeriesValidationTargetData& src, SETimeSeriesValidationTarget& dst);
33 static void Serialize(const SETimeSeriesValidationTarget& src, CDM_BIND::TimeSeriesValidationTargetData& dst);
34 static void Load(const CDM_BIND::TimeSeriesValidationTargetListData& src, std::vector<SETimeSeriesValidationTarget*>& dst);
35 static void Serialize(const CDM_BIND::TimeSeriesValidationTargetListData& src, std::vector<SETimeSeriesValidationTarget*>& dst);
36 static bool SerializeFromString(const std::string& src, std::vector<SETimeSeriesValidationTarget*>& dst, eSerializationFormat m, Logger* logger);
37 static bool SerializeFromFile(const std::string& filename, std::vector<SETimeSeriesValidationTarget*>& dst, Logger* logger);
38 static CDM_BIND::TimeSeriesValidationTargetListData* Unload(const std::vector<const SETimeSeriesValidationTarget*>& src);
39 static void Serialize(const std::vector<const SETimeSeriesValidationTarget*>& src, CDM_BIND::TimeSeriesValidationTargetListData& dst);
40 static bool SerializeToString(const std::vector<const SETimeSeriesValidationTarget*>& src, std::string& output, eSerializationFormat m, Logger* logger);
41 static bool SerializeToFile(const std::vector<const SETimeSeriesValidationTarget*>& src, const std::string& filename, Logger* logger);
42};
Definition: Logger.h:71
Definition: PBValidation.h:12
Definition: SEValidationTarget.h:45
Definition: SEValidationTarget.h:79
Definition: SEValidationTarget.h:11

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.