libt3widget
|
Class representing a single file. More...
Public Member Functions | |
file_name_entry_t (void) | |
Make a new file_name_entry_t. | |
file_name_entry_t (const char *_name, const std::string &_utf8_name, bool _is_dir) | |
Make a new file_name_entry_t. | |
file_name_entry_t (const file_name_entry_t &other) | |
Construct a copy of an existing file_name_entry_t. |
Public Attributes | |
std::string file_name_entry_t::* | display_name |
Pointer to member to the name to use for dispay purposes. | |
bool | is_dir |
Boolean indicating whether this name represents a directory. | |
std::string | name |
The name of the file as written on disk. | |
std::string | utf8_name |
The name of the file converted to UTF-8 (or empty if the same as name). |
Class representing a single file.
t3_widget::file_name_list_t::file_name_entry_t::file_name_entry_t | ( | void | ) |
Make a new file_name_entry_t.
Implemented specifically to allow use in std::vector<file_name_entry_t>.
t3_widget::file_name_list_t::file_name_entry_t::file_name_entry_t | ( | const char * | _name, |
const std::string & | _utf8_name, | ||
bool | _is_dir | ||
) |
Make a new file_name_entry_t.
t3_widget::file_name_list_t::file_name_entry_t::file_name_entry_t | ( | const file_name_entry_t & | other | ) |
Construct a copy of an existing file_name_entry_t.
std::string file_name_entry_t::* t3_widget::file_name_list_t::file_name_entry_t::display_name |
Pointer to member to the name to use for dispay purposes.
bool t3_widget::file_name_list_t::file_name_entry_t::is_dir |
Boolean indicating whether this name represents a directory.
std::string t3_widget::file_name_list_t::file_name_entry_t::name |
The name of the file as written on disk.
std::string t3_widget::file_name_list_t::file_name_entry_t::utf8_name |
The name of the file converted to UTF-8 (or empty if the same as name).