Click here to Skip to main content
15,915,093 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: icons for navigation and buttons Pin
Hasan Jaffal23-May-07 0:10
Hasan Jaffal23-May-07 0:10 
GeneralRe: icons for navigation and buttons Pin
Hamid_RT23-May-07 1:00
Hamid_RT23-May-07 1:00 
QuestionPlugin inheritance architecture Pin
Adam Crawford15-May-07 1:47
Adam Crawford15-May-07 1:47 
AnswerRe: Plugin inheritance architecture Pin
Joseph Guadagno15-May-07 10:51
Joseph Guadagno15-May-07 10:51 
GeneralRe: Plugin inheritance architecture Pin
Adam Crawford22-May-07 1:19
Adam Crawford22-May-07 1:19 
AnswerRe: Plugin inheritance architecture [modified] Pin
Moak16-May-07 5:59
Moak16-May-07 5:59 
GeneralRe: Plugin inheritance architecture Pin
Adam Crawford22-May-07 1:25
Adam Crawford22-May-07 1:25 
GeneralRe: Plugin inheritance architecture Pin
Moak25-May-07 2:36
Moak25-May-07 2:36 
NamelessParanoia wrote:
main issue that I'm trying to store a list of EmailProcessors that would all have different types.


I think the solution could be using polymorphism in your design. I understand from your description that your serialiser needs to get the appropriate data from each EmailProcessor (each processor could be internally handle a different type). In C++ language I would suggest to derive EmailProcessor from an interface that has a pure virtual method such as virtual void GetEmailData(buffer) = 0, in different EmailProcessors you would specialise this method differently. Now, the serialiser can collect data from any EmailProcessor in (step one), then convert the collected data into a valid XML tree (step two).

Hope it helps,
Mark
QuestionDistributed SingleTon Instance class and Deriving from SingleTon Instance class. Pin
Chetan Kudalkar14-May-07 22:19
Chetan Kudalkar14-May-07 22:19 
QuestionDesigning a ledger system Pin
Rocky#13-May-07 22:47
Rocky#13-May-07 22:47 
Answer[Message Deleted] Pin
#12314-May-07 13:02
#12314-May-07 13:02 
GeneralRe: Designing a ledger system Pin
led mike14-May-07 18:22
led mike14-May-07 18:22 
GeneralRe: Designing a ledger system Pin
led mike14-May-07 20:05
led mike14-May-07 20:05 
GeneralRe: Designing a ledger system Pin
Rocky#15-May-07 21:03
Rocky#15-May-07 21:03 
GeneralRe: Designing a ledger system Pin
Rocky#15-May-07 22:14
Rocky#15-May-07 22:14 
GeneralRe: Designing a ledger system Pin
Rocky#15-May-07 22:43
Rocky#15-May-07 22:43 
General[Message Deleted] Pin
#12315-May-07 23:02
#12315-May-07 23:02 
GeneralRe: Designing a ledger system Pin
Rocky#15-May-07 23:22
Rocky#15-May-07 23:22 
GeneralRe: Designing a ledger system Pin
Rocky#18-May-07 1:24
Rocky#18-May-07 1:24 
GeneralRe: Designing a ledger system Pin
Rocky#22-May-07 2:13
Rocky#22-May-07 2:13 
Questiondatabase dependencies Pin
kindd8-May-07 19:36
kindd8-May-07 19:36 
GeneralRe: database dependencies Pin
kindd11-May-07 19:09
kindd11-May-07 19:09 
General[Message Deleted] Pin
#12311-May-07 19:53
#12311-May-07 19:53 
GeneralRe: database dependencies Pin
kindd11-May-07 22:31
kindd11-May-07 22:31 
GeneralRe: database dependencies Pin
kindd13-May-07 21:30
kindd13-May-07 21:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.