HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_BlockBeginFor.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: SOP_BlockBeginFor.h ( SOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __SOP_BlockBeginFor__
12 #define __SOP_BlockBeginFor__
13 
14 #include "SOP_API.h"
15 #include "SOP_BlockBegin.h"
16 
18 {
19 public:
20  SOP_BlockBeginFor(OP_Network *net, const char *name, OP_Operator *entry);
21  virtual ~SOP_BlockBeginFor();
22 
23  virtual bool updateParmsFlags();
24 
25  static OP_Node *myConstructor(OP_Network *net,
26  const char *name,
27  OP_Operator *entry);
28  static PRM_Template myTemplateList[];
29 
30  int NEXTMETHOD(fpreal t) const
31  { return evalInt("method", 0, t); }
32  virtual void FORPATH(UT_String &str, fpreal t) const
33  { evalString(str, "blockpath", 0, t); }
34 
35  static int buildMetaBlockStatic(void *op, int idx,
36  fpreal t, const PRM_Template *);
37 protected:
38  virtual OP_ERROR cookMySop(OP_Context &context);
39 
40  virtual const char *inputLabel(unsigned idx) const;
41  virtual void getDescriptiveName(UT_String &name) const;
42 
43  // Id of the forsop we were last registered to so we can
44  // unregister.
46 
47 private:
48 };
49 
50 
51 #endif
52 
virtual bool updateParmsFlags()
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
void evalString(UT_String &val, int pi, int vi, fpreal t) const
int NEXTMETHOD(fpreal t) const
virtual void getDescriptiveName(UT_String &str) const
GLuint const GLchar * name
Definition: glcorearb.h:785
double fpreal
Definition: SYS_Types.h:269
virtual void FORPATH(UT_String &str, fpreal t) const
#define SOP_API
Definition: SOP_API.h:10
exint evalInt(int pi, int vi, fpreal t) const
virtual OP_ERROR cookMySop(OP_Context &context)=0