From c521f9299d33087d3fa96aa63cf04b13a9d27cd1 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 23 Jun 2015 08:24:54 -0400 Subject: [PATCH] document new PVStructure::getAs method --- documentation/RELEASE_NOTES.html | 20 + documentation/RELEASE_NOTES.md | 7 + documentation/pvDataCPP.html | 40 +- documentation/pvDataCPP_20150623.html | 5472 +++++++++++++++++++++++++ 4 files changed, 5522 insertions(+), 17 deletions(-) create mode 100644 documentation/pvDataCPP_20150623.html diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index a4d6997..b1a8edb 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -1,10 +1,26 @@

Release 4.1 IN DEVELOPMENT

The main changes since release 4.0 are:

+

Convert copy methods and equals operators

+

Convert copy methods where moved and replaced with methods +on PVField classes, i.e.

+
PVField::copy(const PVField& from)
+
+

Methods

+
PVField::copyUnchecked(const PVField& from)
+
+

where added to allow unchecked copies, to gain performance +where checked are not needed (anymore).

+

In addition: +- isCompatibleXXX methods were removed in favour of Field::operator==. +- equals methods were remove in favour of PVField::operator==. +- operator== methods where moved to pvIntrospect.h and pvData.h

Convert::copyUnion

Before this method, depending on types for to and from, sometimes did a shallow cppy, i. e. just made to shared_ptr for to @@ -39,6 +55,10 @@ it was necessary to have code like:

cout << pv << endl; } +

New method getAs that is like getSubField except that it throws exception

+

PVStructure has a new template member getAs(const char *name) +that is like getSubField except that it throws a runtime_error +instead of returning null.

Release 4.0

The main changes since release 3.0.2 are: