CFileItemList is a class in C++ used for managing a list of files. IsVideoDb is a member function of CFileItemList which returns a boolean value indicating whether the file list contains video files or not.
Example 1:
CFileItemList fileList;
fileList.addFile(“movie.mp4”);
fileList.addFile(“document.txt”);
bool isVideo = fileList.IsVideoDb();
The above code creates an instance of CFileItemList named fileList and adds two files to the list, one video file “movie.mp4” and one text file “document.txt”. The IsVideoDb function is then called on fileList which will return true since there is a video file in the list.
Example 2:
CFileItemList fileList;
fileList.addFile(“picture.jpeg”);
bool isVideo = fileList.IsVideoDb();
This code creates an instance of CFileItemList named fileList and adds one file to the list, “picture.jpeg”. The IsVideoDb function is then called on fileList which will return false since there are no video files in the list.
Package library: CFileItemList is not a built-in class in C++. It would need to be defined and implemented by the programmer or may be included in a third party library.
C++ (Cpp) CFileItemList::IsVideoDb - 16 examples found. These are the top rated real world C++ (Cpp) examples of CFileItemList::IsVideoDb extracted from open source projects. You can rate examples to help us improve the quality of examples.