00001 #ifndef ELEMENT_HH 00002 #define ELEMENT_HH 00003 00004 //--------------------------------------------------------------------------- 00005 // Copyright (c) 1995-2005 Clifton Labs, Inc. All Rights Reserved. 00006 // 00007 // You may modify, distribute, and use the software contained in this package 00008 // under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE" version 2, 00009 // June 1991. A copy of this license agreement can be found in the file 00010 // "LGPL", distributed with this archive. 00011 //--------------------------------------------------------------------------- 00012 00013 #include "tyvis/ObjectBase.hh" 00014 00015 #include <string> 00016 using std::string; 00017 00018 class TypeInfo; 00019 class RValue; 00020 00021 class Element : public ObjectBase { 00022 public: 00023 Element( const TypeInfo &initTypeInfo, 00024 const string &initName ); 00025 00026 Element( const Element &that ); 00027 Element &operator=( const Element & that ); 00028 00029 bool operator==( const Element &that ) const; 00030 00031 ~Element(); 00032 00033 RValue *clone() const; 00034 00035 private: 00036 }; 00037 00038 #endif
1.4.6