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

#include <codeStream.h>

Inheritance diagram for CodeGenerator::CodeStream:

Classes

struct  CB
 A close bracket marker. More...
 
struct  OB
 An open bracket marker. More...
 
class  Scope
 

Public Member Functions

 CodeStream ()
 
 CodeStream (std::ostream &stream)
 
void setSink (std::ostream &stream)
 

Friends

GENN_EXPORT friend std::ostream & operator<< (std::ostream &s, const OB &ob)
 
GENN_EXPORT friend std::ostream & operator<< (std::ostream &s, const CB &cb)
 

Constructor & Destructor Documentation

◆ CodeStream() [1/2]

CodeGenerator::CodeStream::CodeStream ( )
inline

◆ CodeStream() [2/2]

CodeGenerator::CodeStream::CodeStream ( std::ostream &  stream)
inline

Member Function Documentation

◆ setSink()

void CodeGenerator::CodeStream::setSink ( std::ostream &  stream)
inline

Friends And Related Function Documentation

◆ operator<< [1/2]

GENN_EXPORT friend std::ostream& operator<< ( std::ostream &  s,
const OB ob 
)
friend

◆ operator<< [2/2]

GENN_EXPORT friend std::ostream& operator<< ( std::ostream &  s,
const CB cb 
)
friend

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