Deprecate Val(double, TypeTag) ctor, add TimeVal/DoubleVal subclasses

This also updates all usages of the deprecated Val ctor to use
either IntervalVal, TimeVal, or DoubleVal ctors.  The reason for
doing away with the old constructor is that using it with TYPE_INTERVAL
isn't strictly correct since there exists a more specific subclass,
IntervalVal, with overriden ValDescribe() method that ought to be used
to print such values in a more descriptive way.
This commit is contained in:
Jon Siwek 2020-06-02 18:19:40 -07:00
parent a431f6b45d
commit 5b4313b593
76 changed files with 847 additions and 782 deletions

View file

@ -7,7 +7,7 @@ testport, 45/unknown
testportandproto, 45/udp
testaddr, 127.0.0.1
testaddr, 2607:f8b0:4005:801::200e
testinterval, 60.0
testinterval, 1.0 min
testtime, 1507321987.0
test_set, {
b,