Qt IOC Container 3.5


qic::DefaultObjectDefinition Class Reference

#include <DefaultObjectDefinition.h>

Inheritance diagram for qic::DefaultObjectDefinition:

Inheritance graph
[legend]
Collaboration diagram for qic::DefaultObjectDefinition:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DefaultObjectDefinition ()
virtual ~DefaultObjectDefinition ()
virtual QHash< QString, QVariant > * getPropertyValues ()
virtual void setPropertyValue (QString, QVariant)
virtual QString getInitMethodName ()
virtual void setInitMethodName (QString name)
virtual QString getDestroyMethodName ()
virtual void setDestroyMethodName (QString name)
virtual QString getFactoryMethodName ()
virtual void setFactoryMethodName (QString name)
virtual QString getFactoryObjectId ()
virtual void setFactoryObjectId (QString id)
virtual void setPluginPath (QString path)
virtual QString getPluginPath ()
virtual QString getId ()
virtual void setId (QString id)

Protected Attributes

QHash< QString, QVariant > _property
QString _id
QString _plugin_path
QString _init_method
QString _destroy_method
QString _factory_method
QString _factory_object_id

Detailed Description

Implements ObjectDefiniton interface.

Author:
Zhihong "John" Wang

Definition at line 20 of file DefaultObjectDefinition.h.


Constructor & Destructor Documentation

DefaultObjectDefinition::DefaultObjectDefinition  ) 
 

Definition at line 8 of file DefaultObjectDefinition.cpp.

DefaultObjectDefinition::~DefaultObjectDefinition  )  [virtual]
 

Definition at line 11 of file DefaultObjectDefinition.cpp.


Member Function Documentation

QString DefaultObjectDefinition::getDestroyMethodName  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 59 of file DefaultObjectDefinition.cpp.

References _destroy_method.

QString DefaultObjectDefinition::getFactoryMethodName  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 71 of file DefaultObjectDefinition.cpp.

References _factory_method.

QString DefaultObjectDefinition::getFactoryObjectId  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 83 of file DefaultObjectDefinition.cpp.

References _factory_object_id.

QString DefaultObjectDefinition::getId  )  [virtual]
 

Get object id.

Implements qic::ObjectDefinition.

Definition at line 107 of file DefaultObjectDefinition.cpp.

References _id.

QString DefaultObjectDefinition::getInitMethodName  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 47 of file DefaultObjectDefinition.cpp.

References _init_method.

QString DefaultObjectDefinition::getPluginPath  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 101 of file DefaultObjectDefinition.cpp.

References _plugin_path.

QHash< QString, QVariant > * DefaultObjectDefinition::getPropertyValues  )  [virtual]
 

Get all the property values indexed by property names.

Implements qic::ObjectDefinition.

Definition at line 15 of file DefaultObjectDefinition.cpp.

References _property.

void DefaultObjectDefinition::setDestroyMethodName QString  name  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 65 of file DefaultObjectDefinition.cpp.

References _destroy_method.

Referenced by qic::XmlObjectDefinitionReader::parseObjectTag().

void DefaultObjectDefinition::setFactoryMethodName QString  name  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 77 of file DefaultObjectDefinition.cpp.

References _factory_method.

void DefaultObjectDefinition::setFactoryObjectId QString  id  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 89 of file DefaultObjectDefinition.cpp.

References _factory_object_id.

void DefaultObjectDefinition::setId QString  id  )  [virtual]
 

Set object id.

Implements qic::ObjectDefinition.

Definition at line 113 of file DefaultObjectDefinition.cpp.

References _id.

Referenced by qic::XmlObjectDefinitionReader::parseObjectTag().

void DefaultObjectDefinition::setInitMethodName QString  name  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 53 of file DefaultObjectDefinition.cpp.

References _init_method.

Referenced by qic::XmlObjectDefinitionReader::parseObjectTag().

void DefaultObjectDefinition::setPluginPath QString  path  )  [virtual]
 

Implements qic::ObjectDefinition.

Definition at line 95 of file DefaultObjectDefinition.cpp.

References _plugin_path.

void DefaultObjectDefinition::setPropertyValue QString  ,
QVariant 
[virtual]
 

Get all the reference objects indexed by property names.

Implements qic::ObjectDefinition.

Definition at line 27 of file DefaultObjectDefinition.cpp.

References _property.


Member Data Documentation

QString qic::DefaultObjectDefinition::_destroy_method [protected]
 

Destroy method name.

Definition at line 82 of file DefaultObjectDefinition.h.

Referenced by getDestroyMethodName(), and setDestroyMethodName().

QString qic::DefaultObjectDefinition::_factory_method [protected]
 

Factory method name.

Definition at line 87 of file DefaultObjectDefinition.h.

Referenced by getFactoryMethodName(), and setFactoryMethodName().

QString qic::DefaultObjectDefinition::_factory_object_id [protected]
 

Definition at line 88 of file DefaultObjectDefinition.h.

Referenced by getFactoryObjectId(), and setFactoryObjectId().

QString qic::DefaultObjectDefinition::_id [protected]
 

Object id.

Definition at line 72 of file DefaultObjectDefinition.h.

Referenced by getId(), and setId().

QString qic::DefaultObjectDefinition::_init_method [protected]
 

Init method name.

Definition at line 78 of file DefaultObjectDefinition.h.

Referenced by getInitMethodName(), and setInitMethodName().

QString qic::DefaultObjectDefinition::_plugin_path [protected]
 

Definition at line 73 of file DefaultObjectDefinition.h.

Referenced by getPluginPath(), and setPluginPath().

QHash<QString, QVariant> qic::DefaultObjectDefinition::_property [protected]
 

Property name => value

Definition at line 63 of file DefaultObjectDefinition.h.

Referenced by getPropertyValues(), and setPropertyValue().


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