Option Class Reference

#include <config_options.h>

Inheritance diagram for Option:
ConfigOption zmm::Object

Public Member Functions

 Option (zmm::String option)
virtual zmm::String getOption ()
virtual int getIntOption ()
virtual bool getBoolOption ()
virtual zmm::Ref< DictionarygetDictionaryOption ()
virtual zmm::Ref< AutoscanListgetAutoscanListOption ()
virtual zmm::Ref< zmm::Array
< zmm::StringBase > > 
getStringArrayOption ()
virtual zmm::Ref
< ObjectDictionary
< zmm::Object > > 
getObjectDictionaryOption ()
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

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

Protected Attributes

zmm::String option
mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 105 of file config_options.h.

Constructor & Destructor Documentation

Option::Option ( zmm::String  option  )  [inline]

Definition at line 108 of file config_options.h.

Member Function Documentation

virtual zmm::Ref<AutoscanList> ConfigOption::getAutoscanListOption (  )  [inline, virtual, inherited]

Reimplemented in AutoscanListOption.

Definition at line 73 of file config_options.h.

References _, and _Exception.

virtual bool ConfigOption::getBoolOption (  )  [inline, virtual, inherited]

Reimplemented in BoolOption.

Definition at line 60 of file config_options.h.

References _, and _Exception.

virtual zmm::Ref<Dictionary> ConfigOption::getDictionaryOption (  )  [inline, virtual, inherited]

Reimplemented in DictionaryOption.

Definition at line 67 of file config_options.h.

References _, and _Exception.

virtual int ConfigOption::getIntOption (  )  [inline, virtual, inherited]

Reimplemented in IntOption.

Definition at line 54 of file config_options.h.

References _, and _Exception.

virtual zmm::Ref<ObjectDictionary<zmm::Object> > ConfigOption::getObjectDictionaryOption (  )  [inline, virtual, inherited]

Reimplemented in ObjectDictionaryOption.

Definition at line 98 of file config_options.h.

References _, and _Exception.

virtual zmm::String Option::getOption (  )  [inline, virtual]

Reimplemented from ConfigOption.

Definition at line 110 of file config_options.h.

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

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

virtual zmm::Ref<zmm::Array<zmm::StringBase> > ConfigOption::getStringArrayOption (  )  [inline, virtual, inherited]

Reimplemented in StringArrayOption.

Definition at line 79 of file config_options.h.

References _, and _Exception.

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]

Field Documentation

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

Definition at line 110 of file config_options.h.

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

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