#include <read_lnk.h>
Collaboration diagram for Lnk:
Public Methods | |
Lnk (const std::string &filename_) | |
Examine a .lnk file. More... | |
virtual | ~Lnk () |
bool | points_to_file_or_directory () const |
return if link points to a target (may be non-existing). More... | |
bool | is_valid () const |
return if link points to an existing target. More... | |
bool | points_to_directory () const |
return true if link points to a directory (may be a non-existing directory). More... | |
bool | points_to_file () const |
return true if link points to a file (may be a non-existing file). More... | |
const std::string & | get_target () const |
return the full pathname of the target. More... | |
Private Attributes | |
std::string | filename |
std::string | target |
bool | points_to_file_or_directory_ |
bool | target_is_directory |
Definition at line 32 of file read_lnk.h.
|
Examine a .lnk file.
Definition at line 89 of file read_lnk.cpp. |
|
Definition at line 45 of file read_lnk.h. |
|
return if link points to a target (may be non-existing).
Definition at line 48 of file read_lnk.h. Referenced by rs::file::isLink(), Lnk::Lnk(), Lnk::points_to_directory(), and Lnk::points_to_file(). |
|
return if link points to an existing target.
Definition at line 271 of file read_lnk.cpp. |
|
return true if link points to a directory (may be a non-existing directory).
Definition at line 54 of file read_lnk.h. Referenced by Lnk::is_valid(). |
|
return true if link points to a file (may be a non-existing file).
Definition at line 57 of file read_lnk.h. Referenced by Lnk::is_valid(). |
|
return the full pathname of the target.
Definition at line 60 of file read_lnk.h. Referenced by Lnk::is_valid(), and rs::file::isLink(). |
|
Definition at line 34 of file read_lnk.h. Referenced by Lnk::Lnk(). |
|
Definition at line 35 of file read_lnk.h. Referenced by Lnk::get_target(), and Lnk::Lnk(). |
|
Definition at line 37 of file read_lnk.h. Referenced by Lnk::Lnk(), and Lnk::points_to_file_or_directory(). |
|
Definition at line 38 of file read_lnk.h. Referenced by Lnk::Lnk(), Lnk::points_to_directory(), and Lnk::points_to_file(). |
Contact me in case of errors or questions. This documentation is powered by ![]() |
(C) 2000-2002 ![]() |