Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 8th, 2008, 11:03 PM
suresh_rai@ymail.com
Guest
 
Posts: n/a
Default C++ Abstract Factory Implementation

Hello
I am hoping someone can give me very needed help. I am wanting some C+
+ code for 'C++ Abstract Factory'. I need code to be free. I am been
learning Design patterns.
I found some code on web but dont know which is one is ok.

http://programmerjoe.com/2007/03/18/...-pattern-in-c/
http://www.codeproject.com/KB/archit...gnPattern.aspx
Loki :in text book
http://sourceforge.net/projects/papafactory
http://sourceforge.net/projects/austria/

My colleague said I should look at boost library or use a standard
'factory' in C++. but I cannot find it.
I have read text book on Design Patterns and understand 'Abstract
Factory'.

Much thanks in adnace for help

Suresh

  #2  
Old July 9th, 2008, 02:15 AM
Daniel T.
Guest
 
Posts: n/a
Default Re: C++ Abstract Factory Implementation

suresh_rai@ymail.com wrote:
Quote:
I am hoping someone can give me very needed help. I am wanting some C+
+ code for 'C++ Abstract Factory'. I need code to be free. I am been
learning Design patterns.
There is sample code in the book, why don't you use that?
Quote:
I found some code on web but dont know which is one is ok.
>
http://programmerjoe.com/2007/03/18/...-pattern-in-c/
http://www.codeproject.com/KB/archit...gnPattern.aspx
Loki :in text book
also at:
http://loki-lib.sourceforge.net/
It depends on the situation.
Quote:
My colleague said I should look at boost library or use a standard
'factory' in C++. but I cannot find it.
That's because there isn't one.
  #3  
Old July 9th, 2008, 02:15 AM
Eric Pruneau
Guest
 
Posts: n/a
Default Re: C++ Abstract Factory Implementation


<suresh_rai@ymail.coma écrit dans le message de news:
800000b7-744c-4231-aeb4-e9146f381703...oglegroups.com...
Quote:
Hello
I am hoping someone can give me very needed help. I am wanting some C+
+ code for 'C++ Abstract Factory'. I need code to be free. I am been
learning Design patterns.
I found some code on web but dont know which is one is ok.
>
http://programmerjoe.com/2007/03/18/...-pattern-in-c/
http://www.codeproject.com/KB/archit...gnPattern.aspx
Loki :in text book
http://sourceforge.net/projects/papafactory
http://sourceforge.net/projects/austria/
>
My colleague said I should look at boost library or use a standard
'factory' in C++. but I cannot find it.
I have read text book on Design Patterns and understand 'Abstract
Factory'.
>
Much thanks in adnace for help
>
Suresh
>
Loki has one.
If you are learning desing pattern, you should read Modern C++ Desing by
Andrei Alexandrecu.

http://loki-lib.sourceforge.net/

---------------------

Eric Pruneau


  #4  
Old July 9th, 2008, 04:35 AM
Gianni Mariani
Guest
 
Posts: n/a
Default Re: C++ Abstract Factory Implementation

suresh_rai@ymail.com wrote:
....
yes - Austria has a generic factory system. It's quite robust.

Afact, there is no "standard" library factory system. Austria is using
standard C++ so I suppose you can say it's "standard".

The unit tests in Austria C++ give you a number of different ways of
using the factory system.

The Austria C++ unit test framework also uses the factory framework as a
way of registering unit tests.

G
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles