GEOSX
OutputManager.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2020 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2020 TotalEnergies
8  * Copyright (c) 2019- GEOSX Contributors
9  * All rights reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
19 #ifndef GEOS_FILEIO_OUTPUTS_OUTPUTMANAGER_HPP_
20 #define GEOS_FILEIO_OUTPUTS_OUTPUTMANAGER_HPP_
21 
22 #include "dataRepository/Group.hpp"
23 
24 
25 namespace geos
26 {
27 namespace dataRepository
28 {
29 namespace keys
30 {}
31 }
32 
39 {
40 public:
42  OutputManager( string const & name,
43  Group * const parent );
44 
46  virtual ~OutputManager() override;
47 
49  virtual Group * createChild( string const & childKey, string const & childName ) override;
50 
52  virtual void expandObjectCatalogs() override;
53 
55  struct viewKeyStruct
56  {
57  dataRepository::ViewKey time = { "time" };
58  } viewKeys;
60 };
61 
62 
63 } /* namespace geos */
64 
65 #endif /* GEOS_FILEIO_OUTPUTS_OUTPUTMANAGER_HPP_ */
virtual ~OutputManager() override
Destructor.
virtual Group * createChild(string const &childKey, string const &childName) override
Creates a new sub-Group using the ObjectCatalog functionality.
OutputManager(string const &name, Group *const parent)
Constructor.
virtual void expandObjectCatalogs() override
This function is used to expand any catalogs in the data structure.
Group::wrapperMap::KeyIndex ViewKey
Type alias for KeyIndexT type used for wrapper lookups.
Definition: Group.hpp:1625