VTK-m  2.0
Public Member Functions | Private Attributes | List of all members
vtkm::io::VTKDataSetWriter Struct Reference

#include <VTKDataSetWriter.h>

Public Member Functions

VTKM_CONT VTKDataSetWriter (const char *fileName)
 
VTKM_CONT VTKDataSetWriter (const std::string &fileName)
 
VTKM_CONT void WriteDataSet (const vtkm::cont::DataSet &dataSet) const
 
VTKM_CONT vtkm::io::FileType GetFileType () const
 Get whether the file will be written in ASCII or binary format. More...
 
VTKM_CONT void SetFileType (vtkm::io::FileType type)
 Set whether the file will be written in ASCII or binary format. More...
 
VTKM_CONT void SetFileTypeToAscii ()
 Set whether the file will be written in ASCII or binary format. More...
 
VTKM_CONT void SetFileTypeToBinary ()
 Set whether the file will be written in ASCII or binary format. More...
 

Private Attributes

std::string FileName
 
vtkm::io::FileType FileType = vtkm::io::FileType::ASCII
 

Constructor & Destructor Documentation

◆ VTKDataSetWriter() [1/2]

VTKM_CONT vtkm::io::VTKDataSetWriter::VTKDataSetWriter ( const char *  fileName)

◆ VTKDataSetWriter() [2/2]

VTKM_CONT vtkm::io::VTKDataSetWriter::VTKDataSetWriter ( const std::string &  fileName)

Member Function Documentation

◆ GetFileType()

VTKM_CONT vtkm::io::FileType vtkm::io::VTKDataSetWriter::GetFileType ( ) const

Get whether the file will be written in ASCII or binary format.

◆ SetFileType()

VTKM_CONT void vtkm::io::VTKDataSetWriter::SetFileType ( vtkm::io::FileType  type)

Set whether the file will be written in ASCII or binary format.

◆ SetFileTypeToAscii()

VTKM_CONT void vtkm::io::VTKDataSetWriter::SetFileTypeToAscii ( )
inline

Set whether the file will be written in ASCII or binary format.

◆ SetFileTypeToBinary()

VTKM_CONT void vtkm::io::VTKDataSetWriter::SetFileTypeToBinary ( )
inline

Set whether the file will be written in ASCII or binary format.

◆ WriteDataSet()

VTKM_CONT void vtkm::io::VTKDataSetWriter::WriteDataSet ( const vtkm::cont::DataSet dataSet) const

Member Data Documentation

◆ FileName

std::string vtkm::io::VTKDataSetWriter::FileName
private

◆ FileType

vtkm::io::FileType vtkm::io::VTKDataSetWriter::FileType = vtkm::io::FileType::ASCII
private

The documentation for this struct was generated from the following file: