VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtFileSystem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include "DtGraphicsUtilsPreReqs.h"
12 
13 #pragma warning( push )
14 #pragma warning( disable : 4251 )
15 
16 #include <string>
17 #include <set>
18 
19 namespace makVrv{
20 
24 {
25 public:
26  DtFileSystem();
27  virtual ~DtFileSystem();
28 
29  static bool fileExists(const std::string& strFileName);
30  static std::string fileFullPath(const std::string& strFileName);
31  static size_t fileSize(const std::string& strFileName);
32  static std::string readFileIntoString(const std::string& strFileName);
33 
34  // client must delete!
35  static void readFileIntoBuffer(const std::string& strFileName, unsigned char*& pData, size_t& size);
36  static void readFileIntoBuffer(const std::wstring& strFileName, unsigned char*& pData, size_t& size);
37 private:
38 };
39 
40 } //namespace makVrv
41 
42 #pragma warning ( pop )

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)