• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

lt_XMLTags Class Reference

#include <XMLTags.h>

Inheritance diagram for lt_XMLTags:

Inheritance graph
[legend]

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]

Definition at line 163 of file XMLTags.cpp.

lt_XMLTags::lt_XMLTags ( const char  n[]  )  [protected]

Definition at line 165 of file XMLTags.cpp.

lt_XMLTags::~lt_XMLTags (  ) 

Non-virtual destructor.

Definition at line 161 of file XMLTags.cpp.


Member Function Documentation

void lt_XMLTags::addraw ( GUTF8String  raw  )  [inline]

Definition at line 184 of file XMLTags.h.

void lt_XMLTags::addtag ( GP< lt_XMLTags >  x  )  [inline]

Non-virtual destructor.

Definition at line 177 of file XMLTags.h.

GPosition lt_XMLTags::contains ( GUTF8String  name  )  const [inline]

Definition at line 216 of file XMLTags.h.

GP< lt_XMLTags > lt_XMLTags::create ( XMLByteStream &  xmlbs  )  [inline, static]

Create from an XML bytestream.

Definition at line 168 of file XMLTags.h.

GP< lt_XMLTags > lt_XMLTags::create ( const GP< ByteStream > &  bs  )  [inline, static]

Create from the specified bytestream.

Definition at line 160 of file XMLTags.h.

GP< lt_XMLTags > lt_XMLTags::create ( const GURL &  url  )  [inline, static]

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.

const GMap< GUTF8String, GPList< lt_XMLTags > > & lt_XMLTags::get_allTags ( void   )  const [inline]

Definition at line 213 of file XMLTags.h.

const GMap< GUTF8String, GUTF8String > & lt_XMLTags::get_args ( void   )  const [inline]

Definition at line 210 of file XMLTags.h.

const GList< lt_XMLContents > & lt_XMLTags::get_content ( void   )  const [inline]

Definition at line 207 of file XMLTags.h.

int lt_XMLTags::get_Line ( void   )  const [inline]

Definition at line 197 of file XMLTags.h.

void lt_XMLTags::get_Maps ( char const   tagname[],
char const   argn[],
GPList< lt_XMLTags >  list,
GMap< GUTF8String, GP< lt_XMLTags > > &  map 
) [static]

Definition at line 330 of file XMLTags.cpp.

const GUTF8String & lt_XMLTags::get_name ( void   )  const [inline]

Definition at line 201 of file XMLTags.h.

const GUTF8String & lt_XMLTags::get_raw ( void   )  const [inline]

Definition at line 204 of file XMLTags.h.

GPList< lt_XMLTags > lt_XMLTags::get_Tags ( char const   tagname[]  )  const

Definition at line 322 of file XMLTags.cpp.

void lt_XMLTags::init ( XMLByteStream &  xmlbs  ) 

Initialize from an XMLByteStream.

Definition at line 187 of file XMLTags.cpp.

void lt_XMLTags::init ( const GP< ByteStream > &  bs  ) 

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.

const GPList< lt_XMLTags > & lt_XMLTags::operator[] ( const GPosition &  pos  )  const [inline]

Definition at line 228 of file XMLTags.h.

const GPList< lt_XMLTags > & lt_XMLTags::operator[] ( const GUTF8String  name  )  const [inline]

Definition at line 222 of file XMLTags.h.

void lt_XMLTags::ParseValues ( char const *  t,
GMap< GUTF8String, GUTF8String > &  args,
bool  downcase = true 
) [static]

Definition at line 149 of file XMLTags.cpp.

void lt_XMLTags::set_Line ( const int  xstartline  )  [inline]

Definition at line 120 of file XMLTags.h.

void lt_XMLTags::write ( ByteStream &  bs,
bool const   top = true 
) const

Definition at line 363 of file XMLTags.cpp.


Member Data Documentation

GMap<GUTF8String,GPList<lt_XMLTags> > lt_XMLTags::allTags [protected]

Definition at line 137 of file XMLTags.h.

GMap<GUTF8String,GUTF8String> lt_XMLTags::args [protected]

Definition at line 134 of file XMLTags.h.

GList<lt_XMLContents> lt_XMLTags::content [protected]

Definition at line 135 of file XMLTags.h.

GUTF8String lt_XMLTags::name [protected]

Definition at line 133 of file XMLTags.h.

GUTF8String lt_XMLTags::raw [protected]

Definition at line 136 of file XMLTags.h.

int lt_XMLTags::startline [protected]

Definition at line 138 of file XMLTags.h.


The documentation for this class was generated from the following files:
  • XMLTags.h
  • XMLTags.cpp

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal