changeset 8:ae71dacad48e

[rot13] removed old files
author Zoltan K
date Sat, 20 Mar 2010 00:37:39 +0100
parents 0c2a143b5076
children da81cc7c2590
files src/examples/rot13/Buffer.cpp src/examples/rot13/Buffer.hpp
diffstat 2 files changed, 0 insertions(+), 55 deletions(-) [+]
line wrap: on
line diff
--- a/src/examples/rot13/Buffer.cpp	Sat Mar 20 00:36:10 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-#include <iostream>
-
-#include "Buffer.hpp"
-
-Buffer::Buffer(void)
-    : _rawBuffer()
-{
-    char                *s;
-    std::streamsize     n = 1024;
-
-    this->_rawBuffer.resize(n, 0);
-    s = &_rawBuffer[0];
-    this->setg(s, s, s + n);
-    this->setp(s, s + n);
-}
-
-int	Buffer::sync(void)
-{
-    std::cout << "Buffer is being sync." << std::endl;
-    return (0);
-}
-
-int     Buffer::underflow(void)
-{
-    return (EOF);
-}
--- a/src/examples/rot13/Buffer.hpp	Sat Mar 20 00:36:10 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#ifndef _BUFFER_HPP_
-# define _BUFFER_HPP_
-
-#include <streambuf>
-#include <vector>
-
-class	Buffer : public std::streambuf
-{
-
-public:
-
-    Buffer(void);
-    virtual ~Buffer(void) { }
-
-protected:
-
-    virtual int		sync(void);
-    virtual int		underflow(void);
-
-private:
-    Buffer(const Buffer & cpy);
-
-private:
-
-    std::vector<char>   _rawBuffer;
-
-};
-
-#endif	// ! _BUFFER_HPP_