Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Need new attribute type

I could implement this as a BigInteger (i.e. arbitrary precision integer). When the attribute definition is created, you would specify the precision which would be fixed from then on. That might help with the validation?

Greg

On Jun 20, 2007, at 2:48 PM, Dave Wootton wrote:

On second thought, I may not really need this. The 64 bit value is an
optional part of an attribute which I am treating as a string attribute (since it's in the form ATTR=nnn,mmm). As long as I treat it as a string, with the possible exception of some validation code, I think I don't need
the additional attribute types,
Dave



Dave Wootton/Poughkeepsie/IBM@IBMUS
Sent by: ptp-dev-bounces@xxxxxxxxxxx
06/20/2007 04:33 PM
Please respond to
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>


To
ptp-dev@xxxxxxxxxxx
cc

Subject
[ptp-dev] Need new attribute type






I found out that I have one case where I have an attribute that should be
defined as a 64 bit integer. Is it possible to define a
LongIntegerAttribute and LongIntegerAttributeDefinition, along with
supporting events, etc?

Thanks
Dave
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top