From b9cdf72ee1b34704e2095f6d59cb9d9b51118a64 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 4 Sep 1996 20:07:52 +0000 Subject: [PATCH] added defualt copy constructor fer MSVISC++ --- src/cas/example/exServer.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/cas/example/exServer.h b/src/cas/example/exServer.h index ed2af0d5c..eafb30fc2 100644 --- a/src/cas/example/exServer.h +++ b/src/cas/example/exServer.h @@ -62,6 +62,17 @@ public: { } + // + // for use when MSVC++ will not build a defualt copy constructor + // for this class + // + pvInfo (const pvInfo ©In) : + scanRate(copyIn.scanRate), name(copyIn.name), + hopr(copyIn.hopr), lopr(copyIn.lopr), + ioType(copyIn.ioType) + { + } + const double getScanRate () const { return this->scanRate; } const aitString &getName () const { return this->name; } const double getHopr () const { return this->hopr; } @@ -149,6 +160,7 @@ public: gddAppFuncTableStatus getLowLimit(gdd &value); gddAppFuncTableStatus getUnits(gdd &value); gddAppFuncTableStatus getValue(gdd &value); + gddAppFuncTableStatus getEnums(gdd &value); // //