Panda3D
virtualFileMountSystem.I
1 // Filename: virtualFileMountSystem.I
2 // Created by: drose (03Aug02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: VirtualFileMountSystem::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE VirtualFileMountSystem::
22 VirtualFileMountSystem(const Filename &physical_filename) :
23  _physical_filename(physical_filename)
24 {
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: VirtualFileMountSystem::get_physical_filename
29 // Access: Public
30 // Description: Returns the name of the source file on the OS
31 // filesystem of the directory or file that is mounted.
32 ////////////////////////////////////////////////////////////////////
35  return _physical_filename;
36 }
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
const Filename & get_physical_filename() const
Returns the name of the source file on the OS filesystem of the directory or file that is mounted...