Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Servers/ServerManager/vtkSMDataTypeDomain.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMDataTypeDomain.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00031 #ifndef __vtkSMDataTypeDomain_h
00032 #define __vtkSMDataTypeDomain_h
00033 
00034 #include "vtkSMDomain.h"
00035 
00036 class vtkSMSourceProxy;
00037 //BTX
00038 struct vtkSMDataTypeDomainInternals;
00039 //ETX
00040 
00041 class VTK_EXPORT vtkSMDataTypeDomain : public vtkSMDomain
00042 {
00043 public:
00044   static vtkSMDataTypeDomain* New();
00045   vtkTypeRevisionMacro(vtkSMDataTypeDomain, vtkSMDomain);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00052   virtual int IsInDomain(vtkSMProperty* property);
00053 
00055   int IsInDomain(vtkSMSourceProxy* proxy);
00056 
00058   unsigned int GetNumberOfDataTypes();
00059 
00061   const char* GetDataType(unsigned int idx);
00062 
00063 protected:
00064   vtkSMDataTypeDomain();
00065   ~vtkSMDataTypeDomain();
00066 
00069   virtual int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element);
00070 
00071   virtual void SaveState(const char* name, ostream* file, vtkIndent indent);
00072 
00073   vtkSMDataTypeDomainInternals* DTInternals;
00074 
00075   int CompositeDataSupported;
00076   vtkSetMacro(CompositeDataSupported, int);
00077   vtkGetMacro(CompositeDataSupported, int);
00078 
00079 private:
00080   vtkSMDataTypeDomain(const vtkSMDataTypeDomain&); // Not implemented
00081   void operator=(const vtkSMDataTypeDomain&); // Not implemented
00082 };
00083 
00084 #endif

Generated on Tue May 30 12:31:48 2006 for ParaView by doxygen 1.3.5