[Qt-interest] OT: What is a "value class"
KC Jones
kc at asperasoft.com
Thu Nov 19 23:29:44 CET 2009
Sorry to be taking up so much bandwidth on this list today, but I am
very interested in the term "value class" found in the QSqlDatabase
documentation:
"QSqlDatabase is a value class. Changes made to a database connection
via one instance of QSqlDatabase will affect other instances of
QSqlDatabase that represent the same connection."
Googling this term is hard because it collides with use of the term in
C# and elsewhere. So I'm hoping someone can provide a link to a good
explanation of the term / pattern. It *sounds* like a singleton-like
pattern that is both easy to use and easier to make thread safe. It
also sounds like it applies to a table modeling class I've built for
my app, the design of which I'm having to defend/explain to my peers.
Any info about this term would be most appreciated.
KC
More information about the Qt-interest-old
mailing list