00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Mark Elendt 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: DOP_Operator.h ( DOP Library, C++) 00015 * 00016 * COMMENTS: Special class which has additional knowledge about the operator 00017 * being described. 00018 */ 00019 00020 #ifndef __DOP_Operator__ 00021 #define __DOP_Operator__ 00022 00023 #include "DOP_API.h" 00024 #include <OP/OP_Operator.h> 00025 #include "DOP_OperatorInfo.h" 00026 00027 class DOP_API DOP_Operator : public OP_Operator { 00028 public: 00029 DOP_Operator(const char *name, 00030 const char *english, 00031 OP_Constructor construct, 00032 PRM_Template *templates, 00033 unsigned min_sources, 00034 unsigned max_sources, 00035 CH_LocalVariable *variables, 00036 unsigned flags, 00037 unsigned num_outputs); 00038 00039 virtual ~DOP_Operator(); 00040 00041 virtual OP_SpecificData *getOpSpecificData() 00042 { return &myOperatorInfo; } 00043 virtual const OP_SpecificData *getOpSpecificData() const 00044 { return &myOperatorInfo; } 00045 00046 virtual void getOperatorSpecificInfoText( 00047 int verbose, 00048 UT_WorkBuffer &text); 00049 00050 virtual unsigned maxOutputs(); 00051 00052 private: 00053 DOP_OperatorInfo myOperatorInfo; 00054 }; 00055 00056 #endif
1.5.9