GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gzomanip2< T1, T2 > Class Template Reference

Gzipped file output stream manipulator class. More...

#include "zfstream.h"

Collaboration diagram for gzomanip2< T1, T2 >:

Public Member Functions

 gzomanip2 (gzofstream &(*f)(gzofstream &, T1, T2), T1 v1, T2 v2)
 

Private Attributes

gzofstream &(* func )(gzofstream &, T1, T2)
 
T1 val1
 
T2 val2
 

Friends

template<typename Ta , typename Tb >
gzofstreamoperator<< (gzofstream &, const gzomanip2< Ta, Tb > &)
 

Detailed Description

template<typename T1, typename T2>
class gzomanip2< T1, T2 >

Gzipped file output stream manipulator class.

This class defines a two-argument manipulator for gzofstream. It is used as base for the setcompression(int,int) manipulator.

Definition at line 453 of file zfstream.h.

Constructor & Destructor Documentation

◆ gzomanip2()

template<typename T1 , typename T2 >
gzomanip2< T1, T2 >::gzomanip2 ( gzofstream &(*)(gzofstream &, T1, T2)  f,
T1  v1,
T2  v2 
)
inline

Definition at line 487 of file zfstream.h.

Friends And Related Function Documentation

◆ operator<<

template<typename T1, typename T2>
template<typename Ta , typename Tb >
gzofstream& operator<< ( gzofstream ,
const gzomanip2< Ta, Tb > &   
)
friend

Member Data Documentation

◆ func

template<typename T1, typename T2>
gzofstream&(* gzomanip2< T1, T2 >::func) (gzofstream &, T1, T2)
private

Definition at line 469 of file zfstream.h.

◆ val1

template<typename T1, typename T2>
T1 gzomanip2< T1, T2 >::val1
private

Definition at line 472 of file zfstream.h.

◆ val2

template<typename T1, typename T2>
T2 gzomanip2< T1, T2 >::val2
private

Definition at line 473 of file zfstream.h.


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