rllib
1
|
#include <rlhtmldir.h>
Public Types | |
enum | { list_files_and_directories = 1, list_directories_only = 2, list_files_only = 3 } |
Public Member Functions | |
rlHtmlDir () | |
virtual | ~rlHtmlDir () |
int | cd (const char *dir, int is_initial_dir=0) |
const char * | getHtml (int generate_html_header_and_trailer=1) |
int | getFilenames (rlSpreadsheetRow *row) |
Public Member Functions inherited from rlHtml | |
rlHtml () | |
virtual | ~rlHtml () |
const char * | htmlHeader () |
const char * | htmlTrailer () |
int | textFile (const char *filename, rlString &text) |
int | hexdumpFile (const char *filename, rlString &text) |
Public Attributes | |
enum rlHtmlDir:: { ... } | WHAT_TO_LIST |
rlString | initialPath |
rlString | currentPath |
rlString | pattern |
int | recursive |
int | list_what |
int | hide_hidden_files |
rlString | textHome |
rlString | textPath |
rlString | textrlHtmlDirCSS |
rlString | startHtml |
rlString | endHtml |
Private Attributes | |
rlString | html |
class for a file selector with html
Definition at line 25 of file rlhtmldir.h.
anonymous enum |
Enumerator | |
---|---|
list_files_and_directories | |
list_directories_only | |
list_files_only |
Definition at line 28 of file rlhtmldir.h.
rlHtmlDir::rlHtmlDir | ( | ) |
Definition at line 19 of file rlhtmldir.cpp.
|
virtual |
Definition at line 33 of file rlhtmldir.cpp.
int rlHtmlDir::cd | ( | const char * | dir, |
int | is_initial_dir = 0 |
||
) |
dir := ".." | "absolute_path" | "relative_path"
Definition at line 37 of file rlhtmldir.cpp.
int rlHtmlDir::getFilenames | ( | rlSpreadsheetRow * | row | ) |
list of filenames found return: number of files found
Definition at line 177 of file rlhtmldir.cpp.
const char * rlHtmlDir::getHtml | ( | int | generate_html_header_and_trailer = 1 | ) |
html can be configured with rlhtml.css
Definition at line 75 of file rlhtmldir.cpp.
rlString rlHtmlDir::currentPath |
Definition at line 55 of file rlhtmldir.h.
rlString rlHtmlDir::endHtml |
Definition at line 65 of file rlhtmldir.h.
int rlHtmlDir::hide_hidden_files |
Definition at line 59 of file rlhtmldir.h.
|
private |
Definition at line 67 of file rlhtmldir.h.
rlString rlHtmlDir::initialPath |
Definition at line 54 of file rlhtmldir.h.
int rlHtmlDir::list_what |
Definition at line 58 of file rlhtmldir.h.
rlString rlHtmlDir::pattern |
Definition at line 56 of file rlhtmldir.h.
int rlHtmlDir::recursive |
Definition at line 57 of file rlhtmldir.h.
rlString rlHtmlDir::startHtml |
Definition at line 64 of file rlhtmldir.h.
rlString rlHtmlDir::textHome |
Definition at line 60 of file rlhtmldir.h.
rlString rlHtmlDir::textPath |
Definition at line 61 of file rlhtmldir.h.
rlString rlHtmlDir::textrlHtmlDirCSS |
Definition at line 62 of file rlhtmldir.h.
enum { ... } rlHtmlDir::WHAT_TO_LIST |