Dave Hickin
52bc6d060d
Move getSubFieldT definitions out of class body
...
Move definitions of 2 getSubFieldT overloads:
shared_ptr<PVT> PVStructure::getSubFieldT(const char *name) const
shared_ptr<PVT> PVStructure::getSubFieldT(size_t fieldOffset) const
out of class body so not implicitly inlined.
2015-07-15 11:34:44 +01:00
Dave Hickin
ac2b6ea8db
Make getSubFieldT return shared pointer
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 12:48:05 +01:00
Dave Hickin
9827caa3e3
Make overloads of getSubField and getSubFieldT match
...
For each getSubField overload a throwing getSubFieldT has been added and
vice versa. These have been documented in doxygen and in the module
documentation.
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 12:41:47 +01:00
Dave Hickin
ebe2d6196c
Rename getAs getSubFieldT
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 12:34:15 +01:00
Dave Hickin
1dba611b8e
Improve exception messages when getting PVStructure subfield
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 11:47:21 +01:00
Dave Hickin
97cbea6f4d
Implement getSubField functions without using exceptions
...
Implementation of getSubField (and getScalarArrayField) introduced in
the getAs pull request throws an exception then catches it to return a
null pointer. Implement without throwing.
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 02:16:08 +01:00
Dave Hickin
4f2c51c480
Correct spelling and typos in doxygen and comments
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-08 18:18:37 +01:00
Michael Davidsaver
9ad725a272
remove unused PrinterPlain
2015-06-25 16:51:04 -04:00
Marty Kraimer
1e646f8df1
Merge pull request #4 from mdavidsaver/getasfield
...
Add PVStructure::getAs<>()
2015-06-23 07:24:30 -04:00
Michael Davidsaver
eadb8ff65b
add PVStructure::getAs<>() for field access w/o NULL
2015-06-22 18:14:23 -04:00
Michael Davidsaver
7fc9b42b3a
PVStructure: compiler warning when deprecated methods are used
2015-06-22 14:27:44 -04:00
Dave Hickin
0d857999bf
Make default type ID strings const.
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-06-17 14:51:07 +01:00
dhickin
e72dbaabe1
Add some doxygen
2015-06-08 10:06:06 +01:00
dhickin
b39662450f
Fix for windows static build static initialisation errors.
2015-06-08 04:58:04 +01:00
dhickin
98da0c0bec
Add template getField member functions which return specific field types to Structure and Union.
2015-03-30 09:05:59 +01:00
dhickin
2967a8f798
Declare the one argument constructors of PVField and its derived classes explicit.
2015-03-06 21:05:50 +00:00
Matej Sekoranja
332c2f959b
added copy() method back to convert, since it is usually used by external modules; marked as DEPRECATED
2015-02-17 22:36:28 +01:00
Matej Sekoranja
a1b89c9a3b
PVScalar::copy made public; copy tests
2015-02-17 21:54:35 +01:00
Matej Sekoranja
d6921fdac0
removal of some methods from convert
2015-02-17 20:22:37 +01:00
Matej Sekoranja
4cb3c22221
update code to the new method, removed copy from convert
2015-02-17 18:56:56 +01:00
Matej Sekoranja
cc1536b6e1
moved operators to pvData/pvIntrospect, added copy/copyUnchecked methods
2015-02-17 13:59:15 +01:00
Matej Sekoranja
bb505b8ed9
win32: new operators were missing exports
2015-02-11 15:41:12 +01:00
Marty Kraimer
6cb95c5cfc
fixed possible SEGFAULT in ceateRequest; new stream operator for Field and PVField
2015-02-11 07:26:04 -05:00
Marty Kraimer
0fa2f2c2ff
merge branch release/4.0
2014-12-11 14:11:54 -05:00
Marty Kraimer
9efce46fff
work on doxygen
2014-12-11 09:47:20 -05:00
Matej Sekoranja
2e4a8b2e23
Structure/Union: bound check access for getFieldName(int)/getField(int)
2014-11-13 18:32:50 +01:00
Matej Sekoranja
4e671a1c21
win32 indent problem: local static DLL saga
2014-11-06 22:18:58 +01:00
Matej Sekoranja
c86e31ad99
vxWorks: type cast fixes
2014-11-06 12:38:01 +01:00
Matej Sekoranja
554dc06eda
ScalarTypeID mapping fixed in case 'int' == 'long', e.g. RTEMS-i386
2014-11-05 13:52:10 +01:00
Matej Sekoranja
435ca63d1b
ev4 to epics URI
2014-10-28 18:53:11 +01:00
Marty Kraimer
19a181b38f
change ev4:nt: to 3v4:nt/
2014-09-30 15:26:23 -04:00
Marty Kraimer
36faf8c2ea
change URI naming
2014-09-30 15:05:18 -04:00
Marty Kraimer
a208171250
change uri:ev4:nt/2012 to uri:ev4:nt/2014
2014-09-23 14:34:21 -04:00
Marty Kraimer
15d85c2f87
fix misspelled field names: nanoSecond => nanosecond; hystersis=>hysteresis
2014-08-20 06:27:24 -04:00
Matej Sekoranja
37f6dff065
bounded string
2014-08-19 20:42:15 +02:00
Matej Sekoranja
57e33c8f7d
clang porting
2014-08-13 09:36:37 +02:00
Matej Sekoranja
6535c075f3
fixed sized arrays
2014-08-12 13:17:17 +02:00
Matej Sekoranja
622e140622
Fixed/bounded scalar array impl.
2014-07-30 21:41:08 +02:00
Marty Kraimer
a4954c3825
fixed bug in createRequest.cpp
2014-07-30 06:50:22 -04:00
Marty Kraimer
c72297020b
update documentation
2014-07-10 13:17:26 -04:00
Matej Sekoranja
c6eed12139
String -> std::string, toString methods removed
2014-06-19 14:27:48 +02:00
Matej Sekoranja
5e3159f800
completed merge
2014-06-09 23:15:57 +02:00
Andrew Johnson
88aabb41e7
Replace USAGE_DEPRECATED with EPICS_DEPRECATED
...
Also make USAGE_ERROR conditional on the GCC version,
to remove warnings from VxWorks 6.8 builds.
2014-04-21 11:11:09 -05:00
Andrew Johnson
95b7a04041
Makefile fixups
2014-03-28 11:53:39 -05:00
Andrew Johnson
19269735ae
Rename pvDataApp to src, adjust Makefiles.
2014-03-28 10:20:24 -05:00