mxml::Node Class Reference

#include <node.h>

Inheritance diagram for mxml::Node:
zmm::Object mxml::Comment mxml::Document mxml::Element mxml::Text

Public Member Functions

enum mxml_node_types getType ()
virtual zmm::String print ()
virtual void print_internal (zmm::Ref< zmm::StringBuffer > buf, int indent)=0
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static void * operator new (size_t size)
static void operator delete (void *ptr)

Static Protected Member Functions

static zmm::String escape (zmm::String str)

Protected Attributes

zmm::Ref< zmm::Array< Node > > children
zmm::Ref< Contextcontext
enum mxml_node_types type
mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 52 of file node.h.


Member Function Documentation

String Node::escape ( zmm::String  str  )  [static, protected]
int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

References zmm::Object::_ref_count, and atomic_get().

enum mxml_node_types mxml::Node::getType (  )  [inline]

Definition at line 60 of file node.h.

References type.

void Object::operator delete ( void *  ptr  )  [static, inherited]

Definition at line 87 of file object.cc.

References FREE.

void * Object::operator new ( size_t  size  )  [static, inherited]

Definition at line 83 of file object.cc.

References MALLOC.

String Node::print (  )  [virtual]

Definition at line 43 of file node.cc.

References print_internal().

virtual void mxml::Node::print_internal ( zmm::Ref< zmm::StringBuffer buf,
int  indent 
) [pure virtual]

Implemented in mxml::Comment, mxml::Document, mxml::Element, and mxml::Text.

Referenced by print().

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]

Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]

Definition at line 56 of file node.h.

pthread_mutex_t zmm::Object::mutex [protected, inherited]

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

Generated on Fri Mar 26 20:16:58 2010 for MediaTomb by  doxygen 1.6.1