ipstreamHelper Class Reference

#include <ifzstream.h>

Inheritance diagram for ipstreamHelper:
ipstream ifzstream

List of all members.

Public Member Functions

 ipstreamHelper (const char *command)
 ~ipstreamHelper ()

Protected Attributes

FILE * stdio_fp
__gnu_cxx::stdio_filebuf< char > stdio_fb

Detailed Description

Definition at line 24 of file ifzstream.h.


Constructor & Destructor Documentation

ipstreamHelper::ipstreamHelper ( const char *  command  )  [inline]

Definition at line 27 of file ifzstream.h.

00027                                       :
00028     stdio_fp(popen(command,"r")), stdio_fb(stdio_fp,std::ios_base::in) { }

ipstreamHelper::~ipstreamHelper (  )  [inline]

Definition at line 30 of file ifzstream.h.

References stdio_fp.

00030 { pclose(stdio_fp); } // close the popen'd stream


Member Data Documentation

__gnu_cxx::stdio_filebuf<char> ipstreamHelper::stdio_fb [protected]

Definition at line 34 of file ifzstream.h.

FILE* ipstreamHelper::stdio_fp [protected]

Definition at line 33 of file ifzstream.h.

Referenced by ~ipstreamHelper().


The documentation for this class was generated from the following file:

Generated on 18 Oct 2018 for loon by  doxygen 1.6.1