Qt IOC Container 3.5


qic::ApplicationContext Class Reference

#include <ApplicationContext.h>

Inheritance diagram for qic::ApplicationContext:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ApplicationContext ()
virtual QObject * getObject (QString id)=0
virtual bool containsObject (QString id)=0

Detailed Description

Application Context is where all objects are assembled.

Author:
Zhihong "John" Wang

Definition at line 17 of file ApplicationContext.h.


Constructor & Destructor Documentation

virtual qic::ApplicationContext::~ApplicationContext  )  [inline, virtual]
 

Definition at line 20 of file ApplicationContext.h.


Member Function Documentation

virtual bool qic::ApplicationContext::containsObject QString  id  )  [pure virtual]
 

Test if object id is in the container.

Implemented in qic::XmlApplicationContext, and qic::DefaultApplicationContext.

virtual QObject* qic::ApplicationContext::getObject QString  id  )  [pure virtual]
 

Get object pointer indicated by the id of the object.

Parameters:
id id of the object.
Exceptions:
ObjectNotFoundException 

Implemented in qic::XmlApplicationContext, and qic::DefaultApplicationContext.


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