GEOS
OutputManager.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2024 TotalEnergies
7  * Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8  * Copyright (c) 2023-2024 Chevron
9  * Copyright (c) 2019- GEOS/GEOSX Contributors
10  * All rights reserved
11  *
12  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13  * ------------------------------------------------------------------------------------------------------------
14  */
15 
20 #ifndef GEOS_FILEIO_OUTPUTS_OUTPUTMANAGER_HPP_
21 #define GEOS_FILEIO_OUTPUTS_OUTPUTMANAGER_HPP_
22 
23 #include "dataRepository/Group.hpp"
24 
25 
26 namespace geos
27 {
28 namespace dataRepository
29 {
30 namespace keys
31 {}
32 }
33 
40 {
41 public:
43  OutputManager( string const & name,
44  Group * const parent );
45 
47  virtual ~OutputManager() override;
48 
50  virtual Group * createChild( string const & childKey, string const & childName ) override;
51 
53  virtual void expandObjectCatalogs() override;
54 
56  struct viewKeyStruct
57  {
58  dataRepository::ViewKey time = { "time" };
59  } viewKeys;
61 };
62 
63 
64 } /* namespace geos */
65 
66 #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:1662
Structure to hold scoped key names.
Definition: Group.hpp:1442