zipios::GZIPOutputStreambuf(3) Library Functions Manual zipios::GZIPOutputStreambuf(3)NAME
zipios::GZIPOutputStreambuf -
GZIPOutputStreambuf is a zip output streambuf filter.
SYNOPSIS
#include <gzipoutputstreambuf.h>
Inherits zipios::DeflateOutputStreambuf.
Public Member Functions
GZIPOutputStreambuf (streambuf *outbuf, bool del_outbuf=false)
GZIPOutputStreambuf constructor.
void setFilename (const string &filename)
void setComment (const string &comment)
void close ()
Calls finish.
void finish ()
Finishes the compression.
virtual ~GZIPOutputStreambuf ()
Destructor.
Protected Member Functions
virtual int overflow (int c=EOF)
virtual int sync ()
Detailed Description
GZIPOutputStreambuf is a zip output streambuf filter.
Definition at line 15 of file gzipoutputstreambuf.h.
Constructor & Destructor Documentation
zipios::GZIPOutputStreambuf::GZIPOutputStreambuf (streambuf *outbuf, booldel_outbuf = false) [explicit]
GZIPOutputStreambuf constructor. A newly constructed GZIPOutputStreambuf is ready to accept data.
Parameters:
outbuf the streambuf to use for output.
del_outbuf if true is specified outbuf will be deleted, when the GZIPOutputStreambuf is destructed.
Definition at line 19 of file gzipoutputstreambuf.cpp.
zipios::GZIPOutputStreambuf::~GZIPOutputStreambuf () [virtual]
Destructor.
Definition at line 47 of file gzipoutputstreambuf.cpp.
Member Function Documentation
void zipios::GZIPOutputStreambuf::close ()
Calls finish.
Definition at line 33 of file gzipoutputstreambuf.cpp.
void zipios::GZIPOutputStreambuf::finish ()
Finishes the compression.
Definition at line 37 of file gzipoutputstreambuf.cpp.
Author
Generated automatically by Doxygen for Zipios++ from the source code.
Zipios++ Mon Oct 10 2011 zipios::GZIPOutputStreambuf(3)
Check Out this Related Man Page
zipios::FilterOutputStreambuf(3) Library Functions Manual zipios::FilterOutputStreambuf(3)NAME
zipios::FilterOutputStreambuf -
A FilterOutputStreambuf is a streambuf that filters the data that is written to it before it passes it on to the output streambuf it is
connected to.
SYNOPSIS
#include <filteroutputstreambuf.h>
Inherits streambuf.
Inherited by zipios::DeflateOutputStreambuf.
Public Member Functions
FilterOutputStreambuf (streambuf *outbuf, bool del_outbuf=false)
Constructor.
virtual ~FilterOutputStreambuf ()
Destructor.
Protected Attributes
streambuf * _outbuf
bool _del_outbuf
Detailed Description
A FilterOutputStreambuf is a streambuf that filters the data that is written to it before it passes it on to the output streambuf it is
connected to.
Definition at line 14 of file filteroutputstreambuf.h.
Constructor & Destructor Documentation
zipios::FilterOutputStreambuf::FilterOutputStreambuf (streambuf *outbuf, booldel_outbuf = false) [explicit]
Constructor. Parameters:
outbuf the streambuf to pass the filtered data on to.
del_outbuf if true is specified outbuf will be deleted, when the FilterOutputStreambuf is destructed.
Definition at line 8 of file filteroutputstreambuf.cpp.
zipios::FilterOutputStreambuf::~FilterOutputStreambuf () [virtual]
Destructor.
Definition at line 18 of file filteroutputstreambuf.cpp.
Author
Generated automatically by Doxygen for Zipios++ from the source code.
Zipios++ Mon Oct 10 2011 zipios::FilterOutputStreambuf(3)
i tried to build a command to replaces the word "include" with
"exclude"
in each *.h type of file in a certain directory
and to display the lines in which the switch happened.
i did a command and i dont know why its not working
find /usr -name "*.h" -exec sed 's/include/exclude/g' {} \;... (2 Replies)
Hi,
I have strange problem executing some command on solaris 5.9
ps command does not finish(hangs) and runs forever without any result.
same with cc command too.Please suggest (1 Reply)
File: A.h
class A
{
public:
struct x X;
int show()
{
x.member_variable ? 0: -1;
}
};
Now if A.cpp is complied which includes A.h (which is actually in a huge project space) we see that x.member_variable value is not as expected. But if remove the show() method and place... (4 Replies)
I have the code below and cannot decide if to put it in a .h file or in a .cpp file
#ifndef VERBOSE_H
#define VERBOSE_H
#include "sstring.h"
enum Verbose { none = 0, low = 1, medium = 2, high = 3, diag = 4 };
bool GetVerbose(String& S, Verbose& V) {
S.ToUpper();
if (S ==... (3 Replies)
Hi,
I have some files as below.
Temp6001_5025.cpp
Temp6002_5025.cpp
Temp6003_5025.cpp
Temp6004_5025.cpp
Temp6005_5025.cpp
Temp6006_5025.cpp
Temp6007_5025.cpp
.
.
Temp6100_5025.cpp
i want to replace 5025 to 5026 in all files and the result should be
Temp6001_5026.cpp
.
.... (3 Replies)
I get this error,
defaults.cpp: In member function ‘int Defaults::GetIntDefault(const std::string&)’:
defaults.cpp:68: error: ‘atoi’ was not declared in this scope
defaults.cpp: In member function ‘real_t Defaults::GetRealDefault(const std::string&)’:
defaults.cpp:76: error: ‘atof’ was not... (1 Reply)