#include "CffInterface/CffFileIO.hpp"
Inheritance diagram for ansys::CffFileIO:

Public Member Functions
Protected Member Functions
Detailed Description
Base class that provides common function used in File providers such as ansys::CffFileProvider. Functions such as ansys::CffFileIO::setFile need to be called prior to the call to ansys::CffProvider::startReading or ansys::CffConsumer::startWriting A typical workflow would be:Constructor & Destructor Documentation
CffFileIO()
inline
~CffFileIO()
inline virtual
Member Function Documentation
getDataClasses()
protected
Get all classes of data for which file names have been set.
Returns
- all data classes that have had files set.
getFile()
protected
Get the file name of the file associated ith the class of data.
Parameters
Returns
- Associated filename.
getFileVersion() [1/2]
virtual
Get the version number of API the file was written with as three integers representing the major, minor and patch numbers.
Parameters
Returns
- true if successful, false if invalid.
getFileVersion() [2/2]
virtual
Get the version number of API the file was written with as a string.
Parameters
Returns
- true if successful, false if invalid.
setFile()
virtual
Set the file name of the file associated with a class of data.
Parameters
setFileVersion()
protected virtual
Set the version of the API the file, of the the provided data class, is written against.
Should be called at time of reading of the file by the CffConsumer.
Parameters
setFormat()
virtual
Sets the output format (VTP/VTU files only).
Sets binary (true, default) or ASCII (false) format. Does nothing for non-VTP/VTU writers.
Parameters