Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_InRangeProfile.cpp

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_InRangeProfile.cpp 00005 // 00006 // Version 1.1 00007 // Date 17.01.03 (Version 1.0) 00008 // 01.10.03 (Version 1.1) 00009 // Author A. Pasetti (P&P Software), R. Totaro 00010 // 00011 // Change Record: 00012 // Version 1.1: replaced double and int with TD_Float and TD_Integer 00013 00014 #include "../GeneralInclude/CompilerSwitches.h" 00015 #include "../GeneralInclude/DebugSupport.h" 00016 #include "../GeneralInclude/Constants.h" 00017 #include "../GeneralInclude/ClassId.h" 00018 #include "RangeProfile.h" 00019 #include "DC_InRangeProfile.h" 00020 00021 DC_InRangeProfile::DC_InRangeProfile(void) { 00022 setClassId(ID_INRANGEPROFILE); 00023 } 00024 00025 bool DC_InRangeProfile::doProfileCheck(TD_Float value) { 00026 assert(getLowerBound()<getUpperBound()); 00027 00028 return (value>getLowerBound() && value<getUpperBound()); 00029 }
Copyright 2003 P&P Software GmbH - All Rights Reserved