Free Electron
CatalogReaderJson.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_CatalogReaderJson_h__
8 #define __json_CatalogReaderJson_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief load catalog from json file
17 
18  @ingroup json
19 *//***************************************************************************/
20 class FE_DL_EXPORT CatalogReaderJson:
21  public CatalogReaderBase
22 {
23  public:
24 
25 virtual BWORD load(String a_filename,sp<Catalog> a_spCatalog);
26 
27  private:
28 
29  sp<JsonValue> m_spJsonRoot;
30 };
31 
32 } /* namespace ext */
33 } /* namespace fe */
34 
35 #endif /* __json_CatalogReaderJson_h__ */
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
load catalog from json file
Definition: CatalogReaderJson.h:20