VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFileSystem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
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 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)