Thanks,
It was it. In fact I tried that casPV::bestExternalType () and it didn't
work as it suppose to.
And reason for that was that this function must be defined as const, and in
my case it wasn't, so it
wasn't overloaded properly. May be it will be interesting for others ..
Vladimir
----- Original Message -----
From: Jeff Hill <[email protected]>
To: Vladimir Sirotenko <[email protected]>; <[email protected]>
Sent: Wednesday, February 23, 2000 11:54 AM
Subject: RE: native type of gdd object
>
> Vladimir,
>
> >
> > Could someone advise me please how to control the native type of PV
created
> > in portable CA server
> > with use of gdd library ( pVV = new gddScalar(gddAppType_value,
> > aitEnumFloat32); )
> > I mean native type which can be asked using ca_field_type() function ..
> > I have two servers running with the same PV creation, but one gives
native
> > type = 2 (float) and
> > another gives 0 (string). Is there any way to change native type from 0
to
> > 2, for example? Thanks,
> >
>
> The virtual function "casPV::bestExternalType ()" determines the native
data type
> as seen by the client application. The base implementation of this virtual
> function returns type string, but you can override this behavior by
implementing a
> replacement in your derived class.
>
> Jeff
>
>
- References:
- RE: native type of gdd object Jeff Hill
- Navigate by Date:
- Prev:
Switching from a 167 to a 162 Dennis M. Reichhold
- Next:
Re: Switching from a 167 to a 162 Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: native type of gdd object Jeff Hill
- Next:
Re: native type of gdd object Kay Kasemir
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|