![]() |
The Simons
|
00001 00002 // 00003 // SCL : Simons Component Library 00004 // 00006 // 00007 // Filename: ValueID.h 00008 // Contents: ValueID pointer 00009 // Author: Anthony J H Simons 00010 // Revised: 9 November 2005 00011 00012 // This software is distributed free in the hope that others will 00013 // find it useful. However, it comes WITHOUT ANY WARRANTY. No 00014 // liability can be accepted for software failure, merchantability 00015 // or fitness for a particular purpose. You can redistribute this 00016 // software in its original form, or in a modified form, provided 00017 // that this disclaimer is retained in the file banner. 00018 00019 #ifndef SCL_VALUE_ID 00020 #define SCL_VALUE_ID 00021 00022 #include "ObjectID.h" 00023 00024 class Value; 00025 00039 00040 class ValueID : public ObjectID { 00041 public: 00042 ValueID(); 00043 ~ValueID(); 00044 ValueID(const Null*); 00045 ValueID(const Value*); 00046 ValueID(const ValueID&); 00047 ValueID(Boolean); 00048 ValueID(Character); 00049 ValueID(Natural); 00050 ValueID(Integer); 00051 ValueID(Decimal); 00052 ValueID& operator=(const Value*); 00053 ValueID& operator=(const ValueID&); 00054 Value* operator->() const; 00055 }; 00056 00057 #endif