FFmpegfs Fuse Multi Media Filesystem 2.16
|
#include <vcdinfo.h>
Public Member Functions | |
VcdInfo () | |
Construct VcdInfo object. More... | |
virtual | ~VcdInfo ()=default |
Destruct VcdInfo object. | |
void | clear () |
Reset this object. More... | |
int | load_file (const std::string &path) |
Load VCD from path. More... | |
const time_t & | get_file_date () const |
Date of disk (of INFO.VCD or SVD) More... | |
const std::string & | get_id () const |
Get disk ID. More... | |
VCDTYPE | get_type () const |
Get disk type. More... | |
std::string | get_type_str () const |
Get disk type as string. More... | |
VCDPROFILETAG | get_profile_tag () const |
Get disk profile tag. More... | |
std::string | get_profile_tag_str () const |
Get disk profile tag as string. More... | |
const std::string & | get_album_id () const |
Get album ID. More... | |
int | get_number_of_cds () const |
Get number of CDs in set. More... | |
int | get_cd_number () const |
Get CD number in set. More... | |
Protected Attributes | |
std::string | m_disk_path |
Path to disk. More... | |
time_t | m_file_date |
File date. More... | |
std::string | m_id |
ID of this CD. More... | |
VCDTYPE | m_type |
Type of CD. More... | |
VCDPROFILETAG | m_profile_tag |
System profile tag. More... | |
std::string | m_album_id |
Album ID. More... | |
int | m_number_of_cds |
Number of CDs in set. More... | |
int | m_cd_number |
Number of this CD in set. More... | |
|
explicit |
void VcdInfo::clear | ( | ) |
Reset this object.
Definition at line 117 of file vcdinfo.cc.
References m_album_id, m_cd_number, m_disk_path, m_file_date, m_id, m_number_of_cds, m_profile_tag, m_type, and UNKNOWN.
Referenced by load_file(), and VcdInfo().
const std::string & VcdInfo::get_album_id | ( | ) | const |
int VcdInfo::get_cd_number | ( | ) | const |
const time_t & VcdInfo::get_file_date | ( | ) | const |
Date of disk (of INFO.VCD or SVD)
Definition at line 190 of file vcdinfo.cc.
References m_file_date.
const std::string & VcdInfo::get_id | ( | ) | const |
int VcdInfo::get_number_of_cds | ( | ) | const |
VCDPROFILETAG VcdInfo::get_profile_tag | ( | ) | const |
std::string VcdInfo::get_profile_tag_str | ( | ) | const |
Get disk profile tag as string.
Definition at line 215 of file vcdinfo.cc.
References VCDUTILS::get_profile_tag_str(), and m_profile_tag.
VCDTYPE VcdInfo::get_type | ( | ) | const |
std::string VcdInfo::get_type_str | ( | ) | const |
Get disk type as string.
Definition at line 205 of file vcdinfo.cc.
References VCDUTILS::get_type_str(), and m_type.
int VcdInfo::load_file | ( | const std::string & | path | ) |
Load VCD from path.
[in] | path | - path to locate VCD in |
Definition at line 129 of file vcdinfo.cc.
References clear(), VCDUTILS::convert_txt2string(), VCDUTILS::get_directory(), VCDUTILS::locate_file(), m_album_id, VCDINFO::m_albumid, VCDINFO::m_cd_number, m_cd_number, m_disk_path, m_file_date, VCDINFO::m_ID, m_id, m_number_of_cds, VCDINFO::m_numberof_cds, VCDINFO::m_profile_tag, m_profile_tag, VCDINFO::m_type, and m_type.
|
protected |
Album ID.
Definition at line 79 of file vcdinfo.h.
Referenced by clear(), get_album_id(), and load_file().
|
protected |
Number of this CD in set.
Definition at line 81 of file vcdinfo.h.
Referenced by clear(), get_cd_number(), and load_file().
|
protected |
|
protected |
File date.
Definition at line 74 of file vcdinfo.h.
Referenced by clear(), get_file_date(), and load_file().
|
protected |
ID of this CD.
Definition at line 75 of file vcdinfo.h.
Referenced by clear(), get_id(), and load_file().
|
protected |
Number of CDs in set.
Definition at line 80 of file vcdinfo.h.
Referenced by clear(), get_number_of_cds(), and load_file().
|
protected |
System profile tag.
Definition at line 77 of file vcdinfo.h.
Referenced by clear(), get_profile_tag(), get_profile_tag_str(), and load_file().
|
protected |
Type of CD.
Definition at line 76 of file vcdinfo.h.
Referenced by clear(), get_type(), get_type_str(), and load_file().