|
From: | Cyril ADRIAN |
Subject: | Re: [Liberty-eiffel] [libertyeiffel] VARIANT and G_VALUE |
Date: | Fri, 9 Aug 2013 12:43:38 +0200 |
I liked Cyril idea on VARIANT and TYPED_VARIANT and I'm implementing it into database wrappers.Do you think it would be necessary to add several TYPED_VARIANT heirs to G_VALUE, such as G_STRING_VALUE (...) which are heirs of both TYPED_VARIANT[STRING], G_VALUE ?
Then I read gobject's G_VALUE discovering that GObject's variant would not fit in that design, as they have just one "polymorphic" class offering all kind of creation clauses.
Of course the untyped parent/typed heirs fits better in a proper OO design as it's naturally extensible.
[Prev in Thread] | Current Thread | [Next in Thread] |