HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
HOM_ScriptEvalContext.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
* COMMENTS:
7
*
8
*/
9
10
#ifndef __HOM_ScriptEvalContext_h__
11
#define __HOM_ScriptEvalContext_h__
12
13
#include "
HOM_API.h
"
14
#include "
HOM_Module.h
"
15
16
#include <string>
17
18
19
SWIGOUT
(%
rename
(ScriptEvalContext)
HOM_ScriptEvalContext
;)
20
SWIGOUT
(%feature(
"notabstract"
)
HOM_ScriptEvalContext
;)
21
22
23
class
HOM_API
HOM_ScriptEvalContext
24
{
25
public
:
26
#ifdef SWIG
27
%extend {
28
HOM_ScriptEvalContext
(
HOM_Node
&node)
29
{
return
HOM
().
newScriptEvalContext
(node); }
30
HOM_ScriptEvalContext
(
HOM_Parm
&parm)
31
{
return
HOM
().
newScriptEvalContext
(parm); }
32
};
33
#else
34
HOM_ScriptEvalContext
()
35
{
HOM_CONSTRUCT_OBJECT
(
this
) }
36
#endif
37
38
virtual
~HOM_ScriptEvalContext
()
39
{
HOM_DESTRUCT_OBJECT
(
this
) }
40
41
// Let swig know we're overriding __repr__ for this class so it doesn't
42
// provide its own __repr__.
43
virtual
std::string
__repr__
() = 0;
44
45
SWIGOUT
(%newobject node;)
46
virtual
HOM_Node
*node() = 0;
47
48
SWIGOUT
(%newobject parm;)
49
virtual
HOM_Parm
*parm() = 0;
50
51
virtual
HOM_ScriptEvalContext
*__enter__() = 0;
52
53
SWIGOUT
(%
ignore
opaqueExit;)
54
virtual
void
opaqueExit() = 0;
55
56
#ifdef SWIG
57
%extend
58
{
59
// We can ignore the type, value, and traceback Python objects.
60
SWIGOUT
(
virtual
void
__exit__(
61
InterpreterObject
type
, InterpreterObject
value
,
62
InterpreterObject traceback)
63
{
self
->opaqueExit(); };)
64
}
65
#endif
66
67
};
68
69
#endif
HOM_ScriptEvalContext::HOM_ScriptEvalContext
HOM_ScriptEvalContext()
Definition:
HOM_ScriptEvalContext.h:34
HOM_DESTRUCT_OBJECT
#define HOM_DESTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1303
HOM_Module.h
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:814
SWIGOUT
#define SWIGOUT(x)
Definition:
HOM_Defines.h:24
Vt_WrapArray::__repr__
string __repr__(VtArray< T > const &self)
Definition:
wrapArray.h:349
HOM_Parm
Definition:
HOM_Parm.h:31
HOM_API.h
HOM_ScriptEvalContext
Definition:
HOM_ScriptEvalContext.h:23
HOM_API
#define HOM_API
Definition:
HOM_API.h:13
VULKAN_HPP_NAMESPACE::ignore
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition:
vulkan.hpp:6508
HOM_ScriptEvalContext::~HOM_ScriptEvalContext
virtual ~HOM_ScriptEvalContext()
Definition:
HOM_ScriptEvalContext.h:38
HOM_CONSTRUCT_OBJECT
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1302
HOM_Node
Definition:
HOM_Node.h:43
Filesystem::rename
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
value
Definition:
core.h:1131
HOM
HOM_API HOM_Module & HOM()
type
type
Definition:
core.h:1059
HOM_Module::newScriptEvalContext
virtual HOM_ScriptEvalContext * newScriptEvalContext(HOM_Node &node)=0
HOM
HOM_ScriptEvalContext.h
Generated on Thu Nov 21 2024 02:43:42 for HDK by
1.8.6