OGS
GocadAsciiReader.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <memory>
13#include <string>
14#include <vector>
15
17
18namespace MeshLib
19{
20 class Mesh;
21}
22
23namespace FileIO
24{
25namespace Gocad
26{
27namespace GocadAsciiReader
28{
29
31bool readFile(std::string const& file_name,
32 std::vector<std::unique_ptr<MeshLib::Mesh>>& meshes,
33 DataType const export_type = DataType::ALL);
34
35} // namespace GocadAsciiReader
36} // end namespace Gocad
37} // 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.