|
| 1 | +// Copyright (c) Lawrence Livermore National Security, LLC and other Conduit |
| 2 | +// Project developers. See top-level LICENSE AND COPYRIGHT files for dates and |
| 3 | +// other details. No copyright assignment is required to contribute to Conduit. |
| 4 | + |
| 5 | +//----------------------------------------------------------------------------- |
| 6 | +/// |
| 7 | +/// file: conduit_relay_io_cgns.hpp |
| 8 | +/// |
| 9 | +//----------------------------------------------------------------------------- |
| 10 | + |
| 11 | +#ifndef CONDUIT_RELAY_IO_CGNS_HPP |
| 12 | +#define CONDUIT_RELAY_IO_CGNS_HPP |
| 13 | + |
| 14 | +//----------------------------------------------------------------------------- |
| 15 | +// conduit lib include |
| 16 | +//----------------------------------------------------------------------------- |
| 17 | +#include "conduit.hpp" |
| 18 | +#include "conduit_relay_config.h" |
| 19 | +#include "conduit_relay_exports.h" |
| 20 | + |
| 21 | +//----------------------------------------------------------------------------- |
| 22 | +// -- begin conduit:: -- |
| 23 | +//----------------------------------------------------------------------------- |
| 24 | +namespace conduit { |
| 25 | + |
| 26 | +//----------------------------------------------------------------------------- |
| 27 | +// -- begin conduit::relay -- |
| 28 | +//----------------------------------------------------------------------------- |
| 29 | +namespace relay { |
| 30 | + |
| 31 | +//----------------------------------------------------------------------------- |
| 32 | +// -- begin conduit::relay::io -- |
| 33 | +//----------------------------------------------------------------------------- |
| 34 | +namespace io { |
| 35 | + |
| 36 | +//----------------------------------------------------------------------------- |
| 37 | +/// Save node data to a given path. |
| 38 | +/// |
| 39 | +/// Save Semantics: Existing file will be overwritten |
| 40 | +//----------------------------------------------------------------------------- |
| 41 | +void CONDUIT_RELAY_API cgns_save(const Node &node, |
| 42 | + const std::string &path); |
| 43 | +} |
| 44 | +//----------------------------------------------------------------------------- |
| 45 | +// -- end conduit::relay::io -- |
| 46 | +//----------------------------------------------------------------------------- |
| 47 | + |
| 48 | +} |
| 49 | + // namespace relay |
| 50 | +//----------------------------------------------------------------------------- |
| 51 | +// -- end conduit::relay -- |
| 52 | +//----------------------------------------------------------------------------- |
| 53 | + |
| 54 | +} // namespace conduit |
| 55 | +//----------------------------------------------------------------------------- |
| 56 | +// -- end conduit:: -- |
| 57 | +//----------------------------------------------------------------------------- |
| 58 | + |
| 59 | +#endif |
0 commit comments