Panda3D
fileReference.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file fileReference.I
10  * @author drose
11  * @date 2011-06-23
12  */
13 
14 /**
15  *
16  */
17 INLINE FileReference::
18 FileReference(const Filename &filename) : _filename(filename) {
19 }
20 
21 /**
22  * Returns the filename of the reference.
23  */
24 INLINE const Filename &FileReference::
25 get_filename() const {
26  return _filename;
27 }
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:39
const Filename & get_filename() const
Returns the filename of the reference.
Definition: fileReference.I:25