OGS
GocadAsciiReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <memory>
7#include <string>
8#include <vector>
9
11
12namespace MeshLib
13{
14 class Mesh;
15}
16
17namespace FileIO
18{
19namespace Gocad
20{
21namespace GocadAsciiReader
22{
23
25bool readFile(std::string const& file_name,
26 std::vector<std::unique_ptr<MeshLib::Mesh>>& meshes,
27 DataType const export_type = DataType::ALL);
28
29} // namespace GocadAsciiReader
30} // end namespace Gocad
31} // end namespace FileIO
bool readFile(std::string const &file_name, std::vector< std::unique_ptr< MeshLib::Mesh > > &meshes, DataType const export_type)
Reads the specified file and writes data into internal mesh vector.