#include <image.h>
Inheritance diagram for Image::
Public Methods | |
Image (Line &line) | |
void | set_dir (std::string cd) |
std::string | get_image () |
std::string | get_image (std::string current_dir) |
returns the new tag. More... | |
bool | operator! () const |
class not a tag?;. More... | |
std::string | get_tag () |
int | get_level () |
Private Methods | |
std::string | create_tag (std::string file_name) |
creates the tag out from the options. More... | |
bool | percentage (std::string str, unsigned int &n) |
void | delete_default_options () |
Private Attributes | |
std::string | origfile |
the original file. More... | |
std::string | alt |
std::string | src |
std::string | width |
std::string | height |
std::string | lowsrc |
std::string | border |
std::string | current_dir |
|
|
|
creates the tag out from the options.
|
|
Reimplemented from Tag. |
|
returns the new tag.
|
|
|
|
|
|
|
|
class not a tag?;.
Reimplemented from Tag. |
|
checks if the number is an percentage, eg: 90% extracts the number and returns true if there is an % and false if not |
|
|
|
these options are passed directly to the img tag |
|
|
|
|
|
|
|
|
|
the original file.
|
|
|
|
|