gensrc.addins.loop.Loop Class Reference
Inheritance diagram for gensrc.addins.loop.Loop:
Collaboration diagram for gensrc.addins.loop.Loop:
Public Member Functions | |
def | generate (self, categoryList, enumerationList) |
public interface More... | |
def | generateLoop (self, func) |
def | generateLoops (self, cat) |
Public Member Functions inherited from gensrc.addins.addin.Addin | |
def | objectIdSuffix (self) |
public interface More... | |
def | bufferLoop (self) |
def | unchanged (self) |
def | updated (self) |
def | created (self) |
def | incrementUnchanged (self) |
def | incrementUpdated (self) |
def | incrementCreated (self) |
def | voCall (self) |
def | libraryCall (self) |
def | libraryReturnType (self) |
def | loopInputs (self) |
def | loopReturnType (self) |
def | idStrip (self, parameterList) |
def | relativePath (self) |
def | repositoryClass (self) |
def | overwriteVariable (self) |
def | serialize (self, serializer) |
serializer interface More... | |
def | postSerialize (self) |
def | __init__ (self) |
private member functions More... | |
Static Public Attributes | |
string | FUNC_BIND |
class variables More... | |
string | FUNC_SIG |
string | BUF_LOOP |
Static Public Attributes inherited from gensrc.addins.addin.Addin | |
string | objectIdSuffix_ = '' |
class variables | |
string | repositoryClass_ = 'Repository' |
string | overwriteVariable_ = 'Overwrite' |
Additional Inherited Members | |
Public Attributes inherited from gensrc.addins.addin.Addin | |
rootPath_ | |
unchanged_ | |
updated_ | |
created_ | |
Detailed Description
Generate source code for loop functions.
Member Function Documentation
◆ generate()
def gensrc.addins.loop.Loop.generate | ( | self, | |
categoryList, | |||
enumerationList | |||
) |
public interface
Generate source code for Loops.
◆ generateLoop()
def gensrc.addins.loop.Loop.generateLoop | ( | self, | |
func | |||
) |
Generate loop typedefs for given function.
◆ generateLoops()
def gensrc.addins.loop.Loop.generateLoops | ( | self, | |
cat | |||
) |
Generate type definitions required for source code for loop functions.
Member Data Documentation
◆ BUF_LOOP
|
static |
Initial value:
= '''
// %(functionName)s
%(functionBind)s
%(functionSignature)s
'''
◆ FUNC_BIND
|
static |
Initial value:
= '''\
typedef boost::_bi::bind_t<
%(returnType)s,
%(bindPointer)s,
%(bindList)s
%(functionName)sBind;'''
class variables
◆ FUNC_SIG
|
static |
Initial value:
= '''\
typedef %(returnType)s
(%(functionType)s::* %(functionSignature)s)(%(signatureArguments)s)%(const)s;'''
The documentation for this class was generated from the following file:
- loop.py