Tatooine
|
Namespaces | |
namespace | xml |
Classes | |
class | legacy_file |
struct | legacy_file_listener |
class | legacy_file_writer |
Enumerations | |
enum class | cell_type : std::uint8_t { vertex = 1 , poly_vertex = 2 , line = 3 , poly_line = 4 , triangle = 5 , triangle_strip = 6 , polygon = 7 , pixel = 8 , quad = 9 , tetra = 10 , voxel = 11 , hexahedron = 12 , wedge = 13 , pyramid = 14 , unknown_cell_type = 0 } |
enum class | reader_data { point_data , cell_data , unknown } |
enum class | dataset_type { structured_points , structured_grid , unstructured_grid , polydata , rectilinear_grid , field , unknown } |
enum class | format { ascii , binary , unknown } |
Functions | |
constexpr auto | to_string_view (cell_type const ct) -> std::string_view |
auto | parse_cell_type (std::string const &) -> cell_type |
auto | read_until (std::istream &stream, char const terminator_char, char *buffer) -> std::string |
auto | read_binaryline (std::istream &stream, char *buffer) -> std::string |
reads stream until a linebreak was found. buffer will not contain the break More... | |
auto | read_word (std::istream &stream, char *buffer) -> std::string |
auto | write_binary (std::ostream &stream, std::string const &str) -> void |
auto | write_binary (std::ostream &stream, char const c) -> void |
constexpr auto | to_string_view (dataset_type type) -> std::string_view |
auto | parse_dataset_type (std::string const &) -> dataset_type |
constexpr auto | to_string_view (format f) -> std::string_view |
auto | parse_format (std::string const &) -> format |
|
strong |
|
strong |
|
strong |
|
strong |
auto tatooine::vtk::parse_cell_type | ( | std::string const & | ) | -> cell_type |
auto tatooine::vtk::parse_dataset_type | ( | std::string const & | ) | -> dataset_type |
auto tatooine::vtk::parse_format | ( | std::string const & | ) | -> format |
auto tatooine::vtk::read_binaryline | ( | std::istream & | stream, |
char * | buffer | ||
) | -> std::string |
reads stream until a linebreak was found. buffer will not contain the break
auto tatooine::vtk::read_until | ( | std::istream & | stream, |
char const | terminator_char, | ||
char * | buffer | ||
) | -> std::string |
reads until terminator_char was found. buffer will containg the terminator_char
auto tatooine::vtk::read_word | ( | std::istream & | stream, |
char * | buffer | ||
) | -> std::string |
reads stream until a whitespace was found and consumes any whitespace until another character was found. buffer will not contain any whitespace
|
constexpr |
|
constexpr |
|
constexpr |
auto tatooine::vtk::write_binary | ( | std::ostream & | stream, |
char const | c | ||
) | -> void |
auto tatooine::vtk::write_binary | ( | std::ostream & | stream, |
std::string const & | str | ||
) | -> void |