mxml::Attribute Class Reference

#include <attribute.h>

Inheritance diagram for mxml::Attribute:
zmm::Object

Public Member Functions

 Attribute (zmm::String name)
 Attribute (zmm::String name, zmm::String value)
 Attribute (zmm::String name, zmm::String value, enum mxml_value_type vtype)
void setValue (zmm::String value)
enum mxml_value_type getVType ()
void setVType (enum mxml_value_type vtype)
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

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

Data Fields

zmm::String name
zmm::String value
enum mxml_value_type vtype

Protected Attributes

mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 41 of file attribute.h.


Constructor & Destructor Documentation

Attribute::Attribute ( zmm::String  name  ) 

Definition at line 49 of file attribute.cc.

References mxml::mxml_string_type, and vtype.

Attribute::Attribute ( zmm::String  name,
zmm::String  value 
)

Definition at line 43 of file attribute.cc.

References mxml::mxml_string_type, and vtype.

Attribute::Attribute ( zmm::String  name,
zmm::String  value,
enum mxml_value_type  vtype 
)

Definition at line 54 of file attribute.cc.


Member Function Documentation

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

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

enum mxml_value_type mxml::Attribute::getVType (  )  [inline]

Definition at line 52 of file attribute.h.

References vtype.

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.

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]
void Attribute::setValue ( zmm::String  value  ) 

Definition at line 60 of file attribute.cc.

void mxml::Attribute::setVType ( enum mxml_value_type  vtype  )  [inline]

Definition at line 53 of file attribute.h.


Field Documentation

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

Definition at line 44 of file attribute.h.

Definition at line 45 of file attribute.h.

Definition at line 46 of file attribute.h.

Referenced by Attribute(), and getVType().


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