Michael Davidsaver
2814c779bd
StandardField::getStandardField safety
2019-01-15 21:01:38 -08:00
Michael Davidsaver
4c73607799
cleanup StandardField
2019-01-15 21:01:38 -08:00
Michael Davidsaver
00c62cbd67
Fix deprecation message w/ gcc < 4.5
...
Apparently deprecated(msg) is newer than I thought.
2018-11-26 12:05:34 -08:00
Michael Davidsaver
727153e965
deprecate BoundedString, BoundedScalarArray, and FixedScalarArray
...
https://github.com/epics-base/pvDataCPP/issues/52
2018-11-26 10:13:08 -08:00
Michael Davidsaver
6171cd6867
escape and quote PVString(Array)::dumpValue()
...
Escaping for both. quote array values,
but not scalar.
Also move remaining template virtuals out of line.
2018-10-29 13:12:01 -07:00
Michael Davidsaver
818fce324c
Add PVStructure::stream()
2018-10-29 13:12:01 -07:00
Michael Davidsaver
f54602dead
update doc
2018-10-18 16:43:56 -07:00
Michael Davidsaver
c3b0b49e3f
use FieldBuilder::begin() and Field::build()
2018-10-16 20:52:38 -07:00
Michael Davidsaver
45265b4f9b
Add FieldBuilder::begin() and Field::build()
...
Boilerplate reduction in structure
definition and instanciation.
2018-10-16 20:52:24 -07:00
Michael Davidsaver
a02a60c658
Field::m_hash friends
...
Avoid additional access of m_hash by FieldCreate::Helper
which has an unclear (though I think correct) friend
relationship with Field.
Attempt to placate old gcc 3.4.4
2018-09-19 11:04:02 -07:00
Michael Davidsaver
64158376f5
PVStructure inline access to member variables
2018-07-31 16:55:15 -07:00
Michael Davidsaver
f66d277918
msvc 9 compat
2018-07-12 19:05:12 -07:00
Michael Davidsaver
e1216dfa76
move PVValueArray dtor out of line
...
This class has out of line members, and explicit
instanciations. Move the dtor out of line as
well to maybe avoid emitting duplicate
typeinfo.
2018-07-12 15:38:49 -07:00
Michael Davidsaver
0406a2f614
Field de-duplication
...
add a global cache of Field instances to
allow O(0) comparison of types.
2018-07-06 12:01:14 -07:00
Michael Davidsaver
57e57d9e43
de-virtualize PVValueArray<T> methods append(), remove(), and compress()
...
These were never members of a common base class,
nor overridden by a sub-class.
2018-06-07 09:53:38 -07:00
Michael Davidsaver
e4e4188eaf
some more FINAL
2018-06-07 09:53:38 -07:00
Michael Davidsaver
f1553cc90e
Move NOMINMAX to configure/CONFIG_SITE
...
The macro must be defined before MS system headers are
included.
This rev. remove #define NOMINMAX from public headers,
but no public headers use min()/max() and this was
never the correct way to use this macro as by convention
library headers are included after system headers,
which is too late to have an effect.
2018-05-28 11:24:49 -07:00
Michael Davidsaver
25663d9a7b
additional EPICS_NOT_COPYABLE
...
attempt to pacify, or at least clarify, msvc
link error.
2018-05-21 21:02:32 -07:00
Michael Davidsaver
c43486791e
prevent Field/PVField from being copied
...
I don't think this was ever intended to be possible,
but it was...
2018-05-21 11:19:42 -07:00
Michael Davidsaver
f2ad6292f5
cleanup
2018-02-06 13:12:06 -08:00
Michael Davidsaver
337e13b72e
pvIntrospect.h mark OVERRIDE/FINAL
2018-02-06 10:12:38 -08:00
Michael Davidsaver
2ab2fc62dc
move FINAL/OVERRIDE defs to pvIntrospect.h
2018-02-06 10:12:38 -08:00
Michael Davidsaver
786575c3de
a little bit of cleanup and minor opt
2018-02-06 10:02:08 -08:00
Michael Davidsaver
4cca194000
drop *HashFunction
...
not really implemented
2018-02-06 10:02:08 -08:00
Michael Davidsaver
43ee4b9cb6
thread safe getFieldCreate() and getPVDataCreate()
...
Fully thread safe and ctor order safe on all targets
(not just c++11). Never destroyed to avoid global
dtor order issues.
2017-12-28 11:52:47 -06:00
Michael Davidsaver
5bc081a3af
skip unnecessary inclusion of localStaticLock.h
2017-12-11 21:08:59 -06:00
Andrew Johnson
7136098c3c
Suppress unnecessary deprecation warnings
...
Disable warnings when compiling the implementations of
deprecated classes and functions.
Removes the unused USAGE_DEPRECATED and USAGE_ERROR macros
from pvData.h which aren't visible outside of it anyway.
2017-11-07 22:19:56 -06:00
Michael Davidsaver
c590204cf9
add epics::auto_ptr<T> and epics::swap()
...
Avoid the flood of auto_ptr deprecation warnings
in the common cases of using auto_ptr
to automatically delete.
2017-11-06 12:30:40 -06:00
Michael Davidsaver
284e49c807
add EPICS_NOT_COPYABLE()
...
More localize (my preference), and avoids
warning spam with windows builds.
2017-11-06 11:29:59 -06:00
Michael Davidsaver
215e3aab7b
one more attempt to appease win64
2017-10-05 15:32:31 +02:00
Michael Davidsaver
6b0af421dd
another attempt to appease msvc win64
2017-10-05 11:24:23 +02:00
Michael Davidsaver
9aeb4f2a96
attempt to fix win64 linking error
2017-10-05 10:39:47 +02:00
Michael Davidsaver
9b1e789e62
PVUnion: get() const propagation, add guess(), and inline trival
2017-09-30 13:43:50 -05:00
Michael Davidsaver
406b163bcc
factory methods avoid creating unnecessary temporaries
...
Avoid some ref. counter activity (still have global mutex...)
2017-09-30 11:09:52 -05:00
Michael Davidsaver
6f2cae95e1
PVField: getParent() const propagation and inline trival
2017-09-30 11:00:37 -05:00
Michael Davidsaver
594a29b2db
add PVScalar::putFrom/getAs variants for AnyScalar
2017-09-30 10:04:31 -05:00
Michael Davidsaver
27f2f87e29
reftrack class Field
2017-09-29 15:30:50 -05:00
Michael Davidsaver
822173979c
FieldBuilder::add() ignore exact duplicates
2017-09-21 13:41:11 -05:00
Michael Davidsaver
9bce66f307
FieldBuilder edit union/structureArray/unionArray
...
Allow appending fields to existing types
to allow structure-like types
2017-09-21 13:41:11 -05:00
Michael Davidsaver
8f98d9792b
add typemap.h
...
helper for switch() over DBF or PVD scalar type codes
2017-09-07 15:53:40 -05:00
Michael Davidsaver
1cb490039f
remove another broken no-arg ctors
2017-08-30 17:55:04 -05:00
Michael Davidsaver
9ae221ca0c
apply reftrack to PVField
2017-08-30 11:13:10 -05:00
Michael Davidsaver
aca8da5891
remove broken no-arg ctors
...
Non-useful bypass of factory which leaves
private pointers undefined (eg. parent field).
2017-08-30 11:11:47 -05:00
Michael Davidsaver
78b51ebe59
c++98 compatible, but still reduced, number of getSubField() specializations
2017-08-16 11:22:42 +02:00
Michael Davidsaver
08a92468fe
PVStructure::getSubField() const propagation
2017-08-15 18:35:54 +02:00
Michael Davidsaver
b84ed964f9
reduce # of PVStructure::getSubField overloads
2017-08-15 18:35:54 +02:00
Michael Davidsaver
4d4dbcda4d
expose const void* form of PVScalar::putFrom()
2017-07-18 14:28:11 +02:00
Michael Davidsaver
dccf6193da
more doc
2017-07-13 18:25:25 +02:00
Michael Davidsaver
ee4fdf3f39
json print/parse from/to PVStructure
2017-07-13 18:02:10 +02:00
Michael Davidsaver
918b7f96db
valueBuilder: support scalar array fields
2017-07-12 18:33:20 +02:00