From efbdb722e7eb31fde60374beeaff0663ed4c47e7 Mon Sep 17 00:00:00 2001 From: dhickin Date: Sat, 4 Oct 2014 01:28:19 +0100 Subject: [PATCH] Made sub-field/subfield consistent by changing to subfield. --- documentation/pvDataCPP.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/pvDataCPP.html b/documentation/pvDataCPP.html index 46d6f3e..f081a8d 100644 --- a/documentation/pvDataCPP.html +++ b/documentation/pvDataCPP.html @@ -287,7 +287,7 @@ ev4:nt/NTScalarArray:1.0 0x607188

enumerated structure

-

An enumerated structure is a structure with two sub-fields: +

An enumerated structure is a structure with two subfields: index, which is an int, and choices, which is an array of string. The following examples create a structure which has a field names value, which is an enumerated structure and additional fields. @@ -2481,10 +2481,10 @@ PVDoublePtr pvDouble = getPVDataCreate()->createPVScalar<PVDouble>();

createPVStructure
Create an instance of a PVStructure. Three methods are provided. - The first uses an array of field names and an array of PVFields to initialize the sub-fields. + The first uses an array of field names and an array of PVFields to initialize the subfields. The second initializes the subfields by cloning the fields contained in - structToClone. The newly created sub-fields will have the same values as the original. - If structToClone is null then the new structure is initialized to have 0 sub-fields. + structToClone. The newly created subfields will have the same values as the original. + If structToClone is null then the new structure is initialized to have 0 subfields. The third method uses a previously created structure introspection interface.
createPVUnion