SDIterFieldCopier.h

Classes

SDIterFieldCopier -- (full description)

class SDIterFieldCopier

Interface

Public Members
SDIterFieldCopier(Bool isOtherRecord = False)
~SDIterFieldCopier()
void addField(const Record& in, Record& out, const String& fieldName, const String &parentName = "")
void copy(uInt rec, const Record &otherRecord = Record())
void store()
Private Members
SDIterFieldCopier(const SDIterFieldCopier &)
SDIterFieldCopier &operator=(const SDIterFieldCopier &)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Member Description

SDIterFieldCopier(Bool isOtherRecord = False)

set isOtherRecord when copying the "other" record

~SDIterFieldCopier()

void addField(const Record& in, Record& out, const String& fieldName, const String &parentName = "")

Add the indicated fieldName to the copier. It must exist in both in and out. parentName must be supplied if this is copying the "other" record. In that case, no caching can be done be the contents of that record aren't fixed.

void copy(uInt rec, const Record &otherRecord = Record())

Copy all of the fields from the input record to the output record. The actual current other record must be supplied if this is copying the other record.

void store()

Actually store the copied arrays back to the output record. This should be invoked after all calls to copy have been done.

SDIterFieldCopier(const SDIterFieldCopier &)

undefined and inaccessible

SDIterFieldCopier &operator=(const SDIterFieldCopier &)