FileTypeInfo.hh

Go to the documentation of this file.
00001 #ifndef FILE_TYPE_INFO_HH
00002 #define FILE_TYPE_INFO_HH
00003 
00004 //---------------------------------------------------------------------------
00005 // Copyright (c) 2004-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 
00014 #include "tyvis/TypeInfo.hh"
00015 
00016 class SubElementFactory;
00017 
00018 class FileTypeInfo : public TypeInfo {
00019 public:
00020   FileTypeInfo( const TypeInfo &elementTypeInfo );
00021   FileTypeInfo( const FileTypeInfo &that );
00022   ~FileTypeInfo();
00023 
00024   TypeInfo *clone() const;
00025   bool operator==( const TypeInfo &that ) const;
00026 
00027   RValue *create( const SubElementFactory *parent ) const;
00028 
00033   string writeToString( const RValue &value ) const;
00034 
00035   const TypeInfo &getElementTypeInfo() const;
00036 
00037 private:
00038   const TypeInfo *myElementTypeInfo;
00039 };
00040 
00041 #endif

Generated on Fri Mar 31 11:05:08 2006 for Tyvis by  doxygen 1.4.6