decompiler  1.0.0
Public Member Functions | Protected Attributes | Private Attributes | List of all members
Element Class Reference
Inheritance diagram for Element:
Document

Public Member Functions

 Element (Element *par)
 
void setName (const string &nm)
 
void addContent (const char *str, int4 start, int4 length)
 
void addChild (Element *child)
 
void addAttribute (const string &nm, const string &vl)
 
ElementgetParent (void) const
 
const string & getName (void) const
 
const List & getChildren (void) const
 
const string & getContent (void) const
 
const string & getAttributeValue (const string &nm) const
 
int4 getNumAttributes (void) const
 
const string & getAttributeName (int4 i) const
 
const string & getAttributeValue (int4 i) const
 

Protected Attributes

Elementparent
 
List children
 

Private Attributes

string name
 
string content
 
vector< string > attr
 
vector< string > value
 

The documentation for this class was generated from the following file: