Free Electron
CatalogWriterJson.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __json_CatalogWriterJson_h__
8 #define __json_CatalogWriterJson_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief save catalog to json file
17 
18  @ingroup json
19 *//***************************************************************************/
20 class FE_DL_EXPORT CatalogWriterJson:
21  virtual public CatalogWriterI
22 {
23  public:
24 
25 virtual BWORD save(String a_filename, sp<Catalog> spCatalog);
26 
27  private:
28 
29  sp<JsonValue> m_spJsonRoot;
30 };
31 
32 } /* namespace ext */
33 } /* namespace fe */
34 
35 #endif /* __json_CatalogWriterJson_h__ */
kernel
Definition: namespace.dox:3
save catalog to json file
Definition: CatalogWriterJson.h:20
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53