|
| RHTMLFile (void) |
|
| RHTMLFile (const RURI &uri, RXMLStruct *xmlstruct, const RCString &encoding="Latin1") |
|
| RHTMLFile (RIOFile &file, RXMLStruct *xmlstruct, const RCString &encoding="Latin1") |
|
void | Open (RIO::ModeType mode) |
|
void | Open (const RURI &uri, RXMLStruct *xmlstruct, RIO::ModeType mode=RIO::Read, const RCString &encoding="UTF-8") |
|
virtual void | SetDocType (const RString &docType) |
|
virtual void | BeginTag (const RString &namespaceURI, const RString &lName, const RString &name) |
|
virtual void | EndTag (const RString &namespaceURI, const RString &lName, const RString &name) |
|
virtual void | Text (const RString &text) |
|
virtual bool | OnlyQuote (void) |
|
virtual | ~RHTMLFile (void) |
|
| RXMLFile (void) |
|
| RXMLFile (const RURI &uri, RXMLStruct *xmlstruct, const RCString &encoding="UTF-8") |
|
| RXMLFile (RIOFile &file, RXMLStruct *xmlstruct, const RCString &encoding="UTF-8") |
|
bool | MustCompressTags (void) const |
|
void | SetCompressTags (bool compress) |
|
void | SetEncoding (const RCString &name) |
|
void | Open (const RURI &uri, RXMLStruct *xmlstruct, RIO::ModeType mode=RIO::Read, const RCString &encoding="UTF-8") |
|
virtual void | Close (void) |
|
virtual | ~RXMLFile (void) |
|
| RXMLParser (void) |
|
| RXMLParser (const RURI &uri, const RCString &encoding="UTF-8") |
|
| RXMLParser (RIOFile &file, const RCString &encoding="UTF-8") |
|
void | StopAnalysis (void) |
|
void | SetAvoidSpaces (bool as) |
|
size_t | GetCurrentDepth (void) const |
|
size_t | GetLastTokenPos (void) const |
|
void | SetHTMLMode (bool html) |
|
void | Open (const RURI &uri, RIO::ModeType mode=RIO::Read, const RCString &encoding="UTF-8") |
|
SectionType | GetSection (void) const |
|
HeaderAttributeType | GetHeaderAttribute (void) const |
|
bool | AcceptHTMLCodes (void) |
|
void | SetAcceptHTMLCodes (bool accepted) |
|
virtual | ~RXMLParser (void) |
|
void | InitParser (void) |
|
void | SetSection (SectionType section) |
|
void | ResetDepth (void) |
|
bool | MustAvoidSpaces (void) const |
|
bool | HasFoundClosingHTML (void) const |
|
RString | GetDocType (void) const |
|
virtual void | HeaderAttribute (const RString &namespaceURI, const RString &lName, const RString &name) |
|
virtual void | BeginTagParsed (const RString &namespaceURI, const RString &lName, const RString &name) |
|
| RTextFile (void) |
|
| RTextFile (const RURI &uri, const RCString &encoding="Latin1") |
|
| RTextFile (RIOFile &file, const RCString &encoding="Latin1") |
|
void | Open (const RURI &uri, RIO::ModeType mode=RIO::Read, const RCString &encoding="Latin1") |
|
virtual void | Seek (off_t pos) |
|
virtual void | SeekRel (off_t pos) |
|
RChar | GetNextChar (void) const |
|
RChar | GetChar (void) |
|
const RChar | GetCur (void) const |
|
RString | GetChars (size_t size) |
|
RString | GetUntilEnd (void) |
|
void | SkipEol (void) |
|
bool | CurString (const RString &str, bool CaseSensitive=true, bool skip=true) |
|
void | SkipComments (void) |
|
void | SkipSpaces (void) |
|
size_t | SkipCountSpaces (RChar car) |
|
RCString | GetEncoding (void) const |
|
void | SetRemStyle (RemType style) |
|
void | SetParseSpace (ParseSpaceType parse) |
|
ParseSpaceType | GetParseSpace (void) const |
|
void | SetRem (const RString &c) |
|
void | SetRem (const RString &b, const RString &e) |
|
bool | MustAddSeparator (void) const |
|
void | SetAddSeparator (bool add) |
|
RString | GetWord (void) |
|
RString | GetToken (const RString &endingchar) |
|
RString | GetTokenString (const RString &endingstr) |
|
RString | GetLine (bool skipempty=true) |
|
long | GetInt (void) |
|
unsigned long | GetUInt (void) |
|
RTextFile & | operator>> (RString &str) |
|
RTextFile & | operator>> (char &nb) |
|
RTextFile & | operator>> (unsigned char &nb) |
|
RTextFile & | operator>> (short &nb) |
|
RTextFile & | operator>> (unsigned short &nb) |
|
RTextFile & | operator>> (int &nb) |
|
RTextFile & | operator>> (unsigned int &nb) |
|
RTextFile & | operator>> (long &nb) |
|
RTextFile & | operator>> (unsigned long &nb) |
|
RTextFile & | operator>> (float &nb) |
|
RTextFile & | operator>> (double &nb) |
|
RTextFile & | operator>> (long double &nb) |
|
void | WriteLine (void) |
|
void | WriteStr (const RString &str, bool invalid=false) |
|
void | WriteStr (const char *c, bool invalid=false) |
|
void | WriteStr (const char *c, size_t l, bool invalid=false) |
|
RTextFile & | operator<< (const char *c) |
|
RTextFile & | operator<< (const RString &str) |
|
void | WriteLong (const long nb) |
|
RTextFile & | operator<< (const char nb) |
|
RTextFile & | operator<< (const short nb) |
|
RTextFile & | operator<< (const int nb) |
|
RTextFile & | operator<< (const long nb) |
|
void | WriteULong (const unsigned long nb) |
|
RTextFile & | operator<< (const unsigned char nb) |
|
RTextFile & | operator<< (const unsigned int nb) |
|
RTextFile & | operator<< (const unsigned long nb) |
|
void | WriteBool (const bool b) |
|
RTextFile & | operator<< (const bool b) |
|
void | WriteChar (const char c) |
|
void | WriteFloat (const float nb) |
|
RTextFile & | operator<< (const float nb) |
|
void | WriteDouble (const double nb) |
|
RTextFile & | operator<< (const double nb) |
|
void | WriteLongDouble (const long double nb) |
|
RTextFile & | operator<< (const long double nb) |
|
void | WriteTime (void) |
|
void | WriteLog (const RString &entry, bool invalid) |
|
unsigned long | GetLineNb (void) const |
|
unsigned long | GetLastLine (void) const |
|
void | SetSeparator (const RString &str) |
|
void | SetSeparator (const char *str) |
|
virtual | ~RTextFile (void) |
|
| RIOFile (void) |
|
| RIOFile (const RURI &uri) |
|
| RIOFile (RIOFile &file) |
|
RURI | GetRealName (void) const |
|
void | Open (const RURI &uri, RIO::ModeType mode) |
|
bool | IsOpen (void) const |
|
size_t | Read (char *buffer, size_t nb, bool move=true) |
|
void | Write (const char *buffer, size_t nb) |
|
virtual void | SeekToEnd (void) |
|
void | Truncate (off_t newsize) |
|
bool | End (void) const |
|
off_t | GetSize (void) const |
|
off_t | GetPos (void) const |
|
virtual | ~RIOFile (void) |
|
| RFile (void) |
|
| RFile (const RURI &uri) |
|
| RFile (const RFile &file) |
|
void | Open (const RURI &uri, RIO::ModeType mode) |
|
int | Compare (const RFile &file) const |
|
int | Compare (const RFile *file) const |
|
int | Compare (const RString &uri) const |
|
const RURI & | GetURI (void) const |
|
void | SetURI (const RURI &uri) |
|
const RString | GetFileName (void) const |
|
virtual | ~RFile (void) |
|
|
enum | SectionType { Header,
StyleSheet,
DOCTYPE,
Body
} |
|
enum | HeaderAttributeType { Encoding,
Version,
Unknown
} |
|
enum | RemType { NoComment,
SingleLineComment,
MultiLineComment,
SingleMultiLineComment
} |
|
enum | ParseSpaceType { LeaveSpaces,
SkipAllSpaces
} |
|
static RChar | CodeToChar (const RString &code, bool html) |
|
static RString | CharToCode (RChar car, bool strict=true) |
|
static RString | XMLToString (const RString &str, bool html) |
|
static RString | StringToXML (const RString &str, bool strict=true) |
|
static bool | Eol (RChar car) |
|
static RChar | GetDirSeparator (void) |
|
static void | RemoveFile (const RURI &uri) |
|
static void | RenameFile (const RURI &olduri, const RURI &newuri) |
|
static RURI | GetTempFile (void) |
|
static bool | Exists (const RURI &uri) |
|
static bool | IsDir (const RURI &uri) |
|
virtual void | AddEntity (const RString &name, const RString &value) |
|
virtual void | HeaderValue (const RString &value) |
|
virtual void | ResolveNamespace (const RString &namespaceURI) |
|
virtual void | AddAttribute (const RString &namespaceURI, const RString &lName, const RString &name) |
|
virtual void | Value (const RString &value) |
|
virtual void | SetDTD (const RString &dtd) |
|
RString | XMLToString (const RString &str) |
|
const HTMLTag * | GetCurHTMLTag (void) const |
|
const HTMLTag * | GetHTMLTag (const RString &name) const |
|
bool | IsCurTagClosing (void) const |
|
void | Next (void) |
|
RString | GetRealNb (void) |
|
void | WriteSeparator (void) |
|
RXMLStruct * | XMLStruct |
|
bool | NewStruct |
|
RXMLTag * | CurTag |
|
RXMLAttr * | CurAttr |
|
RString | AttrName |
|
bool | CompressTags |
|
bool | CanWrite |
|
bool | CanRead |
|
RIO::ModeType | Mode |
|
RURI | URI |
|
HTML File.
This class represents a HTML file. The file is loaded in a XML structure that should be compatible with XHTML.