Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

ELEM Class Reference

List of all members.

Public Member Functions

 ELEM (const Xml_string &n)
void setName (const Xml_string &n)
const Xml_stringname ()
void setAttribute (const Xml_string &key, const Xml_string &val)
void addElem (ELEM *child)
void addText (const Xml_string &txt)
void print ()

Private Attributes

Xml_string name_
Xml_attr attributes
std::vector< ELEM * > children
Xml_string text


Detailed Description

Definition at line 20 of file desaxe_test.cpp.


Constructor & Destructor Documentation

ELEM::ELEM ( const Xml_string n  )  [inline]

Definition at line 22 of file desaxe_test.cpp.


Member Function Documentation

void ELEM::setName ( const Xml_string n  )  [inline]

Definition at line 24 of file desaxe_test.cpp.

References name_.

const Xml_string& ELEM::name (  )  [inline]

Definition at line 29 of file desaxe_test.cpp.

References name_.

void ELEM::setAttribute ( const Xml_string key,
const Xml_string val 
) [inline]

Definition at line 34 of file desaxe_test.cpp.

References attributes.

Referenced by main().

void ELEM::addElem ( ELEM child  )  [inline]

Definition at line 39 of file desaxe_test.cpp.

References children.

Referenced by main().

void ELEM::addText ( const Xml_string txt  )  [inline]

Definition at line 45 of file desaxe_test.cpp.

References text.

Referenced by main().

void ELEM::print (  )  [inline]

Definition at line 50 of file desaxe_test.cpp.

References attributes, children, name_, text, Xml_data(), and Xml_key().


Member Data Documentation

Definition at line 64 of file desaxe_test.cpp.

Referenced by name(), print(), and setName().

Definition at line 65 of file desaxe_test.cpp.

Referenced by print(), and setAttribute().

std::vector<ELEM*> ELEM::children [private]

Definition at line 66 of file desaxe_test.cpp.

Referenced by addElem(), and print().

Definition at line 67 of file desaxe_test.cpp.

Referenced by addText(), and print().


The documentation for this class was generated from the following file:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.