Panda3D
movieVideo.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 movieVideo.I
10  * @author jyelon
11  * @date 2007-07-02
12  */
13 
14 /**
15  * Returns the movie's filename. A movie is not guaranteed to have a
16  * filename, if not, then this function returns an empty filename.
17  */
18 INLINE const Filename &MovieVideo::
19 get_filename() const {
20  return _filename;
21 }
22 
23 /**
24  * If the movie is to be loaded from a subfile on disk, this returns the
25  * subfile info. Check info.is_empty() to see if this is valid data.
26  */
27 INLINE const SubfileInfo &MovieVideo::
28 get_subfile_info() const {
29  return _subfile_info;
30 }
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:39
This class records a particular byte sub-range within an existing file on disk.
Definition: subfileInfo.h:26