Re: [Pvmanager-devel] Data conversion from scalar to array
Brought to you by:
carcassi,
epics-jenkins
From: Marty K. <mrk...@co...> - 2010-12-07 17:50:37
|
On 12/07/2010 10:53 AM, Carcassi, Gabriele wrote: > > Hi all, > > Since Epics3 does not distinguish between scalars and array, PVManager > does and PVAcces does/will, I am wondering whether we should support > (or not) automatic conversion between them. That is: if I ask for a > VDouble, but the native type is an array VDoubleArray, should I > automatically return a VDouble with the first element or return a type > mismatch error? If I ask for a VDoubleArray, but the native type is a > VDouble, should I return a VDoubleArray with an array of size 1 or > return a type mismatch error? > > My hunch is to not make these conversions by default, but to provide > (if needed), an operation that does such conversion... this way the > user can do it but it's an explicit operation. > > Agree? Disagree? > I vote for type mismatch error. Marty > > Gabriele > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > > > _______________________________________________ > Pvmanager-devel mailing list > Pvm...@li... > https://lists.sourceforge.net/lists/listinfo/pvmanager-devel |