Panda3D
movieVideo.I
1 // Filename: movieVideo.I
2 // Created by: jyelon (02Jul07)
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: MovieVideo::get_filename
18 // Access: Published
19 // Description: Returns the movie's filename. A movie is not
20 // guaranteed to have a filename, if not, then this
21 // function returns an empty filename.
22 ////////////////////////////////////////////////////////////////////
23 INLINE const Filename &MovieVideo::
24 get_filename() const {
25  return _filename;
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: MovieVideo::get_subfile_info
30 // Access: Published
31 // Description: If the movie is to be loaded from a subfile on disk,
32 // this returns the subfile info. Check info.is_empty()
33 // to see if this is valid data.
34 ////////////////////////////////////////////////////////////////////
35 INLINE const SubfileInfo &MovieVideo::
37  return _subfile_info;
38 }
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 movie's filename.
Definition: movieVideo.I:24
const SubfileInfo & get_subfile_info() const
If the movie is to be loaded from a subfile on disk, this returns the subfile info.
Definition: movieVideo.I:36
This class records a particular byte sub-range within an existing file on disk.
Definition: subfileInfo.h:29