GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
codeStream.h File Reference
#include <ostream>
#include <streambuf>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  CodeStream
 Helper class for generating code - automatically inserts brackets, indents etc. More...
 
struct  CodeStream::OB
 An open bracket marker. More...
 
struct  CodeStream::CB
 A close bracket marker. More...
 
class  CodeStream::Scope
 

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

◆ operator<<() [2/2]

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