lt_XMLTags Class Reference
#include <XMLTags.h>
List of all members.
|
Public Member Functions |
void | addraw (GUTF8String raw) |
void | addtag (GP< lt_XMLTags > x) |
GPosition | contains (GUTF8String name) const |
const GMap< GUTF8String,
GPList< lt_XMLTags > > & | get_allTags (void) const |
const GMap< GUTF8String,
GUTF8String > & | get_args (void) const |
const GList< lt_XMLContents > & | get_content (void) const |
int | get_Line (void) const |
const GUTF8String & | get_name (void) const |
const GUTF8String & | get_raw (void) const |
GPList< lt_XMLTags > | get_Tags (char const tagname[]) const |
void | init (XMLByteStream &xmlbs) |
void | init (const GP< ByteStream > &bs) |
void | init (const GURL &url) |
const GPList< lt_XMLTags > & | operator[] (const GPosition &pos) const |
const GPList< lt_XMLTags > & | operator[] (const GUTF8String name) const |
void | set_Line (const int xstartline) |
void | write (ByteStream &bs, bool const top=true) const |
| ~lt_XMLTags () |
Static Public Member Functions |
static GP< lt_XMLTags > | create (XMLByteStream &xmlbs) |
static GP< lt_XMLTags > | create (const GP< ByteStream > &bs) |
static GP< lt_XMLTags > | create (const GURL &url) |
static GP< lt_XMLTags > | create (const char n[]) |
static GP< lt_XMLTags > | create (void) |
static void | get_Maps (char const tagname[], char const argn[], GPList< lt_XMLTags > list, GMap< GUTF8String, GP< lt_XMLTags > > &map) |
static void | ParseValues (char const *t, GMap< GUTF8String, GUTF8String > &args, bool downcase=true) |
Protected Member Functions |
| lt_XMLTags (const char n[]) |
| lt_XMLTags () |
Protected Attributes |
GMap< GUTF8String, GPList
< lt_XMLTags > > | allTags |
GMap< GUTF8String, GUTF8String > | args |
GList< lt_XMLContents > | content |
GUTF8String | name |
GUTF8String | raw |
int | startline |
Detailed Description
Definition at line 86 of file XMLTags.h.
Constructor & Destructor Documentation
lt_XMLTags::lt_XMLTags |
( |
void |
|
) |
[protected] |
lt_XMLTags::lt_XMLTags |
( |
const char |
n[] |
) |
[protected] |
lt_XMLTags::~lt_XMLTags |
( |
|
) |
|
Member Function Documentation
Non-virtual destructor.
Definition at line 177 of file XMLTags.h.
Create from an XML bytestream.
Definition at line 168 of file XMLTags.h.
Create from the specified bytestream.
Definition at line 160 of file XMLTags.h.
Create from the specified URL.
Definition at line 152 of file XMLTags.h.
static GP<lt_XMLTags> lt_XMLTags::create |
( |
const char |
n[] |
) |
[inline, static] |
Default the specified tag.
Definition at line 96 of file XMLTags.h.
static GP<lt_XMLTags> lt_XMLTags::create |
( |
void |
|
) |
[inline, static] |
Empty creator.
Definition at line 94 of file XMLTags.h.
int lt_XMLTags::get_Line |
( |
void |
|
) |
const [inline] |
const GUTF8String & lt_XMLTags::get_name |
( |
void |
|
) |
const [inline] |
const GUTF8String & lt_XMLTags::get_raw |
( |
void |
|
) |
const [inline] |
Initialize from the specified bytestream.
Definition at line 173 of file XMLTags.cpp.
void lt_XMLTags::init |
( |
const GURL & |
url |
) |
|
Initialize from the specified URL.
Definition at line 180 of file XMLTags.cpp.
void lt_XMLTags::set_Line |
( |
const int |
xstartline |
) |
[inline] |
void lt_XMLTags::write |
( |
ByteStream & |
bs, |
|
|
bool const |
top = true | |
|
) |
| | const |
Member Data Documentation
The documentation for this class was generated from the following files: