FVVLib  1.0.0 beta 4
Public Member Functions
FVVFileInfo Class Reference

Interface to access FVV file metadata. More...

List of all members.

Public Member Functions

virtual const wchar_t * GetPath () const =0
 Get the file path.
virtual __int64 GetFileSize () const =0
 Get the the size of the file in bytes.
virtual FVVFileVersion GetFileVersion () const =0
 Get the file version information.
virtual const char * GetFileVersionString () const =0
 Get a string description of the file version in the form 'major.minor.maintenance'.
virtual int GetNumberOfFrames () const =0
 Get the number of frames in the file.
virtual float GetFramesPerSecond () const =0
 Get the frames per second.
virtual int GetNumberOfCustomMetadata () const =0
 Get the number of custom metadata entries in the file.
virtual FVVMetadata GetCustomMetadata (int index) const =0
 Get a custom metadata entry for the given index.
virtual double GetBitrate () const =0
 Get the bitrate of the file in megabyte per second.
virtual FVVPlaytime GetPlaytime () const =0
 Get the playing time of the file.
virtual ~FVVFileInfo ()

Detailed Description

Interface to access FVV file metadata.


Constructor & Destructor Documentation

virtual ~FVVFileInfo ( ) [virtual]

Member Function Documentation

const wchar_t * GetPath ( ) const [pure virtual]

Get the file path.

Returns:
The file path used to open the file.
__int64 GetFileSize ( ) const [pure virtual]

Get the the size of the file in bytes.

Returns:
Size of the file in bytes.
FVVFileVersion GetFileVersion ( ) const [pure virtual]

Get the file version information.

Returns:
The file version.
const char * GetFileVersionString ( ) const [pure virtual]

Get a string description of the file version in the form 'major.minor.maintenance'.

Returns:
The file version string.
int GetNumberOfFrames ( ) const [pure virtual]

Get the number of frames in the file.

Returns:
The number of frames.
float GetFramesPerSecond ( ) const [pure virtual]

Get the frames per second.

Returns:
The frames per second.
int GetNumberOfCustomMetadata ( ) const [pure virtual]

Get the number of custom metadata entries in the file.

Returns:
The number of custom metadata entries.
FVVMetadata GetCustomMetadata ( int  index) const [pure virtual]

Get a custom metadata entry for the given index.

Custom metadata entries can be used by file creators to add arbitrary comments to the FVV file, like e.g. copyright information.

Note:
A file can contain multiple custom metadata values with the same key.
Returns:
The metadata entry for the given index.
Empty metadata if no valid index was given.
double GetBitrate ( ) const [pure virtual]

Get the bitrate of the file in megabyte per second.

Returns:
The bitrate in MB/s.
FVVPlaytime GetPlaytime ( ) const [pure virtual]

Get the playing time of the file.

Returns:
The playing time of the file.