Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
gen2.FuncVariant Class Reference
Inheritance diagram for gen2.FuncVariant:

Public Member Functions

 __init__ (self, classname, name, decl, isconstructor)
 init_pyproto (self)

Public Attributes

 classname = classname
 name = name
 isconstructor = isconstructor
 docstring = decl[5]
str rettype = decl[4] or handle_ptr(decl[1])
list args = []
dict array_counters = {}
 py_arg_str = argstr
 py_return_str = outstr
str py_prototype = "%s(%s) -> %s" % (self.wname, argstr, outstr)
 py_noptargs = noptargs
 py_arglist = arglist
 py_outlist = outlist

Detailed Description

Definition at line 412 of file gen2.py.

Constructor & Destructor Documentation

◆ __init__()

gen2.FuncVariant.__init__ ( self,
classname,
name,
decl,
isconstructor )

Definition at line 413 of file gen2.py.

Member Function Documentation

◆ init_pyproto()

gen2.FuncVariant.init_pyproto ( self)

Definition at line 437 of file gen2.py.

References args, array_counters, classname, isconstructor, and rettype.

Member Data Documentation

◆ args

list gen2.FuncVariant.args = []

Definition at line 423 of file gen2.py.

Referenced by gen_java.FuncInfo.__eq__(), and init_pyproto().

◆ array_counters

dict gen2.FuncVariant.array_counters = {}

Definition at line 424 of file gen2.py.

Referenced by init_pyproto().

◆ classname

gen2.FuncVariant.classname = classname

◆ docstring

gen2.FuncVariant.docstring = decl[5]

Definition at line 418 of file gen2.py.

Referenced by gen_java.ClassInfo.generateJavaCode().

◆ isconstructor

gen2.FuncVariant.isconstructor = isconstructor

◆ name

◆ py_arg_str

gen2.FuncVariant.py_arg_str = argstr

Definition at line 509 of file gen2.py.

◆ py_arglist

gen2.FuncVariant.py_arglist = arglist

Definition at line 513 of file gen2.py.

◆ py_noptargs

gen2.FuncVariant.py_noptargs = noptargs

Definition at line 512 of file gen2.py.

◆ py_outlist

gen2.FuncVariant.py_outlist = outlist

Definition at line 519 of file gen2.py.

◆ py_prototype

str gen2.FuncVariant.py_prototype = "%s(%s) -> %s" % (self.wname, argstr, outstr)

Definition at line 511 of file gen2.py.

◆ py_return_str

gen2.FuncVariant.py_return_str = outstr

Definition at line 510 of file gen2.py.

◆ rettype

str gen2.FuncVariant.rettype = decl[4] or handle_ptr(decl[1])

Definition at line 420 of file gen2.py.

Referenced by init_pyproto().