/*
Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGStreams_NGBufferedStream_H__
#define __NGStreams_NGBufferedStream_H__
}
+ (id)filterWithSource:(id<NGStream>)_source bufferSize:(unsigned)_size;
-- (id)initWithSource:(id<NGStream>)_source bufferSize:(unsigned)_size;
+- (id)initWithSource:(id<NGStream>)_source bufferSize:(unsigned)_size;
- (id)initWithSource:(id<NGStream>)_source;
/* accessors */
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGStreams_NGCTextStream_H__
#define __NGStreams_NGCTextStream_H__
7bit ASCII set.
NGCTextStream never returns a character value above 255.
- To retrieve correctly converted unicode characters use the NGTextStream class.
+ To retrieve correctly converted unicode characters use the NGTextStream
+ class.
*/
@interface NGCTextStream : NGTextStream
/*
Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGStreams_NGFilterStream_H__
#define __NGStreams_NGFilterStream_H__
#include <NGStreams/NGStream.h>
+/*
+ NGFilterStream
+
+ This is an abstract superclass for streams which just operate on 'basic'
+ streams like sockets or file streams. As an example subclass take the
+ buffered stream which performs buffered IO on any given stream.
+*/
+
@interface NGFilterStream : NGStream
{
@protected
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGStreams_NGStringTextStream_H__
#define __NGStreams_NGStringTextStream_H__
#include <NGStreams/NGTextStream.h>
#include <NGStreams/NGTextStreamProtocols.h>
+/*
+ NGStringTextStream
+
+ A text stream which navigates inside an NSString or NSMutableString object.
+*/
+
@interface NGStringTextStream : NGTextStream
{
@private
#import <Foundation/NSObject.h>
#include <NGStreams/NGTextStreamProtocols.h>
+/*
+ NGTextStream
+
+ Abstract superclass for 'text streams'. Text streams are streams which
+ are based on unichars and NSStrings instead of bytes and byte buffers.
+*/
+
@class NSException;
@interface NGTextStream : NSObject < NGExtendedTextStream >