Panda3D
fileReference.I
1 // Filename: fileReference.I
2 // Created by: drose (23Jun11)
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: FileReference::Constructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE FileReference::
22 FileReference(const Filename &filename) : _filename(filename) {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: FileReference::get_filename
27 // Access: Published
28 // Description: Returns the filename of the reference.
29 ////////////////////////////////////////////////////////////////////
30 INLINE const Filename &FileReference::
31 get_filename() const {
32  return _filename;
33 }
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
const Filename & get_filename() const
Returns the filename of the reference.
Definition: fileReference.I:31