HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DOP_AutoOperator.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: DOP_AutoOperator.h ( SOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __DOP_AutoOperator_h__
12 #define __DOP_AutoOperator_h__
13 
14 #include "DOP_API.h"
15 #include "DOP_Operator.h"
16 
17 class SIM_Engine;
18 
19 /// OP_Operator subclass for operators described by a SIM_DopDescription.
21 {
22 public:
23  DOP_AutoOperator(const char *name, const char *english,
24  OP_Constructor construct, PRM_Template *templates,
25  const char *child_table_name, unsigned min_sources,
26  unsigned max_sources, CH_LocalVariable *variables,
27  unsigned flags, unsigned num_outputs);
28 
29  bool getVersion(UT_String &version) override;
30 
31 private:
32  bool getVersion(const SIM_Engine &engine, UT_String &version);
33 };
34 
35 #endif
GLbitfield flags
Definition: glcorearb.h:1596
std::function< OP_Ptr(OP_Network *, const char *, OP_Operator *)> OP_Constructor
Definition: OP_Operator.h:107
#define DOP_API
Definition: DOP_API.h:10
OP_Operator subclass for operators described by a SIM_DopDescription.
GLuint const GLchar * name
Definition: glcorearb.h:786
GT_API const UT_StringHolder version
virtual bool getVersion(UT_String &version)