GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
CodeGenerator::SupportCodeMerged Class Reference

#include <supportCodeMerged.h>

Public Member Functions

 SupportCodeMerged (const std::string &namespacePrefix)
 
void addSupportCode (const std::string &code)
 Add support code string. More...
 
const std::string & getSupportCodeNamespace (const std::string &code) const
 Gets the name of the support code namespace which should be 'used' to provide this support code. More...
 
void gen (CodeStream &os, const std::string &ftype, const bool supportsNamespace=true) const
 Generate support code. More...
 
size_t getNumSupportCodeString () const
 Gets the number of support code strings hence namespaces which will be generated. More...
 

Constructor & Destructor Documentation

◆ SupportCodeMerged()

CodeGenerator::SupportCodeMerged::SupportCodeMerged ( const std::string &  namespacePrefix)
inline

Member Function Documentation

◆ addSupportCode()

void CodeGenerator::SupportCodeMerged::addSupportCode ( const std::string &  code)
inline

Add support code string.

◆ gen()

void CodeGenerator::SupportCodeMerged::gen ( CodeStream os,
const std::string &  ftype,
const bool  supportsNamespace = true 
) const
inline

Generate support code.

◆ getNumSupportCodeString()

size_t CodeGenerator::SupportCodeMerged::getNumSupportCodeString ( ) const
inline

Gets the number of support code strings hence namespaces which will be generated.

◆ getSupportCodeNamespace()

const std::string& CodeGenerator::SupportCodeMerged::getSupportCodeNamespace ( const std::string &  code) const
inline

Gets the name of the support code namespace which should be 'used' to provide this support code.


The documentation for this class was generated from the following file: