00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 * 00003 * $Id: vtkPaletteColorParser.h,v 1.1 2004/06/02 11:35:08 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2004 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkextensions.sourceforge.net/Copyright.html 00009 * for details. 00010 * 00011 * This software is distributed WITHOUT ANY WARRANTY; without even 00012 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 * PURPOSE. See the above copyright notice for more information. 00014 * 00015 */ 00016 #ifndef VTK_PALETTE_COLOR_PARSER_H_ 00017 # define VTK_PALETTE_COLOR_PARSER_H_ 00018 # include "vtkPaletteColorBaseParser.h" 00019 00020 VTK_EXTENSIONS_PALETTE_NAMESPACE_BEGIN 00021 00022 class vtkPaletteColor; 00023 00034 class VTK_EXTENSIONS_PALETTE_EXPORT vtkPaletteColorParser 00035 : public vtkPaletteColorBaseParser 00036 { 00037 public: 00038 static vtkPaletteColorParser* New (void); 00039 vtkTypeRevisionMacro (vtkPaletteColorParser, vtkPaletteColorBaseParser); 00040 00041 protected: 00042 vtkPaletteColorParser (void) {} 00043 ~vtkPaletteColorParser() {} 00044 00045 //BTX 00046 friend class vtkPaletteParser; 00047 00049 vtkPaletteColorParser (vtkPaletteElementParser* parent, 00050 const XML_Char** attrs); 00051 //ETX 00052 00053 private: 00060 vtkPaletteColorParser (vtkPaletteElementParser* a); 00061 vtkPaletteColorParser (const vtkPaletteColorParser&); 00062 void operator= (const vtkPaletteColorParser&); 00064 }; 00065 00066 VTK_EXTENSIONS_PALETTE_NAMESPACE_END 00067 00068 #endif /* VTK_PALETTE_COLOR_PARSER_H_ */ 00069 /* 00070 * End of: $Id: vtkPaletteColorParser.h,v 1.1 2004/06/02 11:35:08 xpxqx Exp $. 00071 * 00072 */