VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions | Private Member Functions
makArchives::DtBinaryFileIo Class Reference

A DtBinaryFileIo has the static functions for reading and writing to an Binary archive.

Static Public Member Functions

template<typename T >
static bool write (const std::string &filePath, const T &t, const std::string &tagName="Record")
 
template<typename T >
static bool read (const std::string &filePath, T &t, const std::string &tagName="Record")
 

Private Member Functions

 DtBinaryFileIo ()
 

Constructor & Destructor Documentation

makArchives::DtBinaryFileIo::DtBinaryFileIo ( )
private

Private CTOR. Cannot be constructed.

Member Function Documentation

template<typename T >
static bool makArchives::DtBinaryFileIo::write ( const std::string &  filePath,
const T &  t,
const std::string &  tagName = "Record" 
)
inlinestatic
Return values
trueif the file was opened and the record was written
falseif the file was unable to be opened, and the record was not written this function will not throw an exception.
template<typename T >
static bool makArchives::DtBinaryFileIo::read ( const std::string &  filePath,
T &  t,
const std::string &  tagName = "Record" 
)
inlinestatic
Return values
trueif the file was opened and the record was filled.
falseif the file was unable to be opened, and the record was not modified. this function will not throw an exception.

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)