Michael Davidsaver
3cd2bfdef0
shared_vector implementation
...
Shared ownership of a single C array.
Tracks offset and length for each instance
allowing each owner to "view" a different
piece of the array.
Parts of shared_vector<T> which can work
for T=void are in shared_vector_base<T>.
Specializations shared_vector<void>
and shared_vector<const void> handle
un-typed arrays.
Allow casting to/from typed vector
Offsets and sizes of untyped vectors are tracked in
bytes. Therefore casting to types where sizeof(T)>1
is undefined if the offset is not a multiple of
sizeof(T).
2013-05-08 18:21:34 -04:00
Michael Davidsaver
461dbdf0f8
remove Convert pointer from PVField
...
Allow inline construction of Convert
2013-05-08 17:46:31 -04:00
Michael Davidsaver
9e8a6b6304
fix const-ness in PVField compare
2013-05-08 17:46:31 -04:00
Michael Davidsaver
fd5ea89340
typo
2013-05-01 14:27:00 -04:00
Michael Davidsaver
1d1d2b31cd
remove remaining state from Convert
2013-05-01 14:20:01 -04:00
Michael Davidsaver
d75656dad7
testTypeCast use epicsUnitTest
2013-05-01 12:41:19 -04:00
Michael Davidsaver
f0aa2fe0e0
fix printer
...
Don't overflow the stack for deep structures!
2013-05-01 12:18:21 -04:00
Michael Davidsaver
ae847aea2b
allow putFrom to implicitly resize
2013-05-01 12:18:21 -04:00
Michael Davidsaver
00ac5bf64f
PVStructure::getNumberFields != Structure::getNumberFields
...
Apparently PVStructure::getNumberFields is one indexed???
2013-05-01 12:18:21 -04:00
Michael Davidsaver
61e8024c65
fix mapping between int* and epicsInt* types
2013-04-30 18:14:05 -04:00
Michael Davidsaver
ee5a370c01
misc
2013-04-30 18:14:05 -04:00
Michael Davidsaver
659ce13e98
replace vector to/from in Convert
2013-04-30 18:14:04 -04:00
Michael Davidsaver
a7fde21300
replace scalar to/from in Convert
2013-04-30 18:14:04 -04:00
Michael Davidsaver
a6bfab2d74
replace copyScalarArray with PVScalarArray::assign
2013-04-30 18:14:04 -04:00
Michael Davidsaver
e948af1851
PVScalar::assign and PVScalarArray::assign
2013-04-30 18:14:04 -04:00
Michael Davidsaver
2062cc5d10
Convert::toStringArray with castUnsafe
2013-04-30 18:14:02 -04:00
Michael Davidsaver
e85d10c6d9
Convert::fromStringArray with castUnsafe
2013-04-30 18:14:02 -04:00
Michael Davidsaver
0e0ab66d45
add PVScalarArray::getAs and PVScalarArray::putFrom
2013-04-30 18:14:02 -04:00
Michael Davidsaver
f2635c7fdc
Convert::fromString with castUnsafe
2013-04-30 18:14:02 -04:00
Michael Davidsaver
4d92bbe541
Use PrinterPlain in Convert
2013-04-30 18:14:01 -04:00
Michael Davidsaver
e6e1434fc1
Add PrinterPlain
2013-04-30 18:13:32 -04:00
Michael Davidsaver
5e689f94f4
add PVScalar::getAs and PVScalar::putFrom
...
Allow get/put to a scalar without knowledge of ScalarType
Currently won't work correctly for PVBoolean
2013-04-26 15:44:05 -04:00
Michael Davidsaver
c1b6d26b8e
Convert::equals: move to operator==(PVField&,PVField&)
2013-04-22 16:12:03 -04:00
Michael Davidsaver
f72c5dba84
PVStructure compare typo
2013-04-22 15:47:51 -04:00
Michael Davidsaver
704007092c
Convert::getFullName becomes PVField::getFullName
...
Compatibility wrapper using current Convert API
Allow PVField::getFieldName to be inline'd
Avoid multiple resize and copy operations
on result String.
2013-04-22 14:48:59 -04:00
Michael Davidsaver
2f8c434429
add castUnsafeV
...
non-template version of castUnsafe<TO>(FROM v)).
2013-04-22 11:59:20 -04:00
Michael Davidsaver
b0c57e7ae3
test castUnsafe w/ transform()
2013-04-22 11:59:20 -04:00
Michael Davidsaver
0e57391b4d
vxWorks compatibility
2013-04-22 11:59:20 -04:00
Michael Davidsaver
7ff1a93e72
parseToPOD: fix 64-bit
...
Try again to detect if uint16_t is long or long long.
2013-04-18 13:54:04 -04:00
Michael Davidsaver
d7eada7216
type casting with castUnsafe<TO>(FROM val)
2013-04-15 14:39:42 -04:00
Michael Davidsaver
c435f71592
testOperators: avoid warning
2013-04-15 14:34:45 -04:00
Matej Sekoranja
0dd6f01ef6
direct, i.e. no-copy, de/serialization support
2013-04-12 21:54:11 +02:00
Matej Sekoranja
cd95b75563
gcc 4.7+ compiler warnings removed
2013-02-27 11:44:00 +01:00
Ralph Lange
4122e772c1
merge SF changes
2013-02-26 17:22:16 +01:00
Ralph Lange
2fbe99909c
documentation: update Doxyfile
2013-02-26 17:21:28 +01:00
Ralph Lange
d4f3d6209c
jenkins: fix URLs for dependencies
2013-02-26 17:20:52 +01:00
Ralph Lange
641a51aa4f
Fix .hgignore to use patterns
2013-02-26 17:20:28 +01:00
Matej Sekoranja
67afe84593
mb moved to pvCommonCPP
2013-02-25 10:29:34 +01:00
Matej Sekoranja
66f7c90c51
merge
2013-02-22 21:30:01 +01:00
Matej Sekoranja
959117c391
mb portability, still to be ported to boost atomic
2013-02-22 21:27:26 +01:00
5e810c704f
Missing library reference in Makefile
2013-02-21 15:50:57 +01:00
Matej Sekoranja
675243061d
-Wextra compiler warnings fixed
2013-02-16 12:50:36 +01:00
Matej Sekoranja
246825d672
base 3.14 fix
2013-02-13 14:29:38 +01:00
Matej Sekoranja
aa1a67d6c1
added micro-benchmark
2013-02-13 14:18:42 +01:00
Matej Sekoranja
97b1848ba3
added array_at manip test
2013-02-11 10:30:30 +01:00
Matej Sekoranja
c4f6132aca
added simple operators 'test', added <<= >>= operators to PVScalar
2013-02-08 22:45:04 +01:00
Matej Sekoranja
a0de4f126f
operator<< for all PVField, indent and array_at manipulator
2013-02-07 22:52:16 +01:00
Ralph Lange
a8a96def97
jenkins: Publish documentation to .../tip in CloudBees build
2013-01-18 15:19:37 +01:00
Ralph Lange
eaddc30def
Add doxygen to Cloudbees build (as local dependency)
2013-01-14 12:22:15 +01:00
Ralph Lange
aa17639e20
Comment out doxygen (which does not work on CloudBees)
2013-01-13 18:32:09 +01:00