00001 #ifndef ELEMENT_DECLARATION_HH 00002 #define ELEMENT_DECLARATION_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 ElementDeclaration : public ObjectBase { 00022 public: 00023 ElementDeclaration( const TypeInfo &initTypeInfo, 00024 const string &initIdentifier ); 00025 00026 ElementDeclaration( const ElementDeclaration &that ); 00027 ElementDeclaration &operator=( const ElementDeclaration & that ); 00028 00029 bool operator==( const ElementDeclaration &that ) const; 00030 00031 ~ElementDeclaration(); 00032 00036 const string &getIdentifier() const; 00037 00038 private: 00039 string myIdentifier; 00040 }; 00041 00042 #endif
1.4.6