VR-Forces 4.0.4 Class Documentation
Static Public Member Functions | Private Member Functions
makArchives::DtXmlFileIo Class Reference

A DtXmlFileIo has the static functions for reading and writing to an XML archive. More...

List of all members.

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

 DtXmlFileIo ()
 Private CTOR. Cannot be constructed.

Detailed Description

A DtXmlFileIo has the static functions for reading and writing to an XML archive.


Constructor & Destructor Documentation

Private CTOR. Cannot be constructed.


Member Function Documentation

template<typename T >
static bool makArchives::DtXmlFileIo::write ( const std::string &  filePath,
const T &  t,
const std::string &  tagName = "Record" 
) [inline, static]
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::DtXmlFileIo::read ( const std::string &  filePath,
T &  t,
const std::string &  tagName = "Record" 
) [inline, static]
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 Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)