Inheritance diagram for Exponent::Basics::CHtmlString:
Stores a launchable path to an html file or web page. The link can be a file or can be an internet address
Definition at line 34 of file CHtmlString.hpp.
Exponent::Basics::CHtmlString::CHtmlString | ( | const CSystemString & | string | ) |
Construction from a system string
string | The path to the html file |
Exponent::Basics::CHtmlString::CHtmlString | ( | const CHtmlString & | string | ) |
Copy construction
string | The html string to copy |
Exponent::Basics::CHtmlString::CHtmlString | ( | const char * | string = " " |
) |
Construction from a c style string
string | The path to the html file |
virtual Exponent::Basics::CHtmlString::~CHtmlString | ( | ) | [virtual] |
Destruction
void Exponent::Basics::CHtmlString::appendLocation | ( | const bool | isHttp = true |
) |
Append the location to the start of the string
isHttp | If True, CHTML_STRING_WEB_LOCATION is appended to the start If False, CHTML_STRING_FILE_LOCATION is appended to the start |
bool Exponent::Basics::CHtmlString::isFileLocation | ( | ) |
Check if the path stored points to a file
bool | True if path points to a file, false otherwise |
bool Exponent::Basics::CHtmlString::isWebLocation | ( | ) |
Check if the path stored points to a web location
bool | True if path points to a web location, false otherwise |
void Exponent::Basics::CHtmlString::loadInBrowser | ( | ) |
Load the page in the users default browser
const char* Exponent::Basics::CHtmlString::CHTML_STRING_FILE_LOCATION [static] |
Constructed to be 'file://'
Definition at line 47 of file CHtmlString.hpp.
const char* Exponent::Basics::CHtmlString::CHTML_STRING_WEB_LOCATION [static] |
Constructed to be 'http://'
Definition at line 46 of file CHtmlString.hpp.