ReportCreatorHtml.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Report
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2013, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeReport/Base.h"
16 
17 #include "CeeReport/Repository.h"
18 #include "CeeCore/Str.h"
19 
20 #include <string>
21 #include <vector>
22 
23 namespace cee {
24 namespace rep {
25 
26 //==================================================================================================
27 //
28 //
29 //
30 //==================================================================================================
31 class CEE_REP_EXPORT ReportCreatorHtml
32 {
33 public:
34  ReportCreatorHtml(Repository* repository, const Str& templateFile);
36 
37  bool generate(const Str& reportFile) const;
38  bool validate(Str* summary) const;
39  static bool summarize(const Str& templateFile, Str* summary);
40 
41  void setReferenceRepository(Repository* repository);
42  void setGenericSnapshotIndices(const std::vector<unsigned int>& indices);
43  void setUse3dPlugin(bool use);
44 
45 private:
46  CEE_PRIVATE_IMPL(ReportCreatorHtml);
47  CEE_DISALLOW_COPY_AND_ASSIGN(ReportCreatorHtml);
48 
49 };
50 
51 } // namespace rep
52 } // namespace cee
53 
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Collection of snapshots used in report generation.
Definition: Repository.h:33
Report creator for an HTML report.
Definition: ReportCreatorHtml.h:31