Questions tagged [abstract-factory]

The abstract factory pattern provides a way to encapsulate a group of individual factories that have a common theme without specifying their concrete classes.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
244 views

Swift Struct-based Factory Pattern

Edit: I added another configuration vector to CardView, a size attribute, which may be .small or ...
Richard Robinson's user avatar
2 votes
0 answers
791 views

Auto-registering CRTP Factory

I'm trying to write a policy based auto-registering class using the Curiously Recurring Template Pattern. I decided as design choice to not using registering macro. Factory Class ...
Moia's user avatar
  • 121
2 votes
0 answers
66 views

PDcurses clock using abstract factory design

I am currently learning how to use PDcurses and decided to make a clock with it. **NOTE: this Watch that uses the abstract factory design pattern is not the same as this question!!. This question is a ...
globalturist's user avatar
1 vote
0 answers
364 views

Caching wrapper with multi-providers and factory to detect the responsible cache provider related to Type

What I'm trying to do abstract the caching actual cache provider (memory || distributed || ...). enable a caching diversity. each cached item type has different ...
Shrembo's user avatar
  • 151
0 votes
0 answers
25 views

Python3 tokenizer abstract baseclass ( Without the permission to be instantiated directly )

Greetings. I'm a newbie python developer, and fortunately I have been introduced to the principle of Abstract base classes and they seemed pretty interesting to tackle while going forward in my python ...
KhodeNima's user avatar
  • 167
0 votes
0 answers
288 views

Abstract Factory Design Pattern implementation in C++ using Qt Creator

I am trying to make all the creational design patterns and I'm having some trouble with the abstract factory method. I normally program in Python, however, I had heard C++ was good for really having ...
joshuatvernon's user avatar