Subversion Repositories DIN Is Noise

Rev

Rev 2097 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
964 jag 1
/*
2
* console_iterator.cc
2302 jag 3
* DIN Is Noise is copyright (c) 2006-2025 Jagannathan Sampath
1713 jag 4
* DIN Is Noise is released under GNU Public License 2.0
1479 jag 5
* For more information, please visit https://dinisnoise.org/
964 jag 6
*/
7
 
8
#include "console_iterator.h"
9
 
10
console_iterator::console_iterator (console& c, char dl) : con (c), delim (dl) {}
11
 
12
console_iterator& console_iterator::operator++ () {
13
  con << delim;
14
  return *this;
15
}
16
 
17
console_iterator& console_iterator::operator++ (int) {
18
  con << delim;
19
  return *this;
20
}
21
 
22
console_iterator& console_iterator::operator* () {
23
  return *this;
24
}