OutputCharStream.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef OutputCharStream_INCLUDED
#define OutputCharStream_INCLUDED 1
#include "types.h"
#include <stddef.h>
#include "StringC.h"
#include "Owner.h"
#include "CodingSystem.h"
#include "OutputByteStream.h"
#ifdef SP_NAMESPACE
#endif
OutputCharStream &operator<<(char);
OutputCharStream &operator<<(const char *);
OutputCharStream &operator<<(unsigned long);
OutputCharStream &operator<<(int);
};
// the OutputByteStream will not be deleted
void flush();
void setEscaper(Escaper);
void allocBuf(int bytesPerChar);
};
void extractString(StringC &);
void flush();
};
void flush();
void setEscaper(Escaper);
void outputBuf();
enum { bufSize_ = 1024 };
};
inline
{
*ptr_++ = c;
else
flushBuf(c);
return *this;
}
inline
{
}
inline
{
#ifdef SP_LINE_TERM2
#endif
return *this;
}
inline
{
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not OutputCharStream_INCLUDED */