VR-Forces 4.7 Class Documentation
 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. More...

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 ()
 Private CTOR. Cannot be constructed.

Detailed Description

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

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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)