GNU Octave  8.1.0
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 "gzfstream.h"

Collaboration diagram for gzomanip2< T1, T2 >:

Public Member Functions

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

Private Attributes

gzofstream &(* fcn )(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 456 of file gzfstream.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 490 of file gzfstream.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

◆ fcn

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

Definition at line 471 of file gzfstream.h.

◆ val1

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

Definition at line 475 of file gzfstream.h.

◆ val2

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

Definition at line 476 of file gzfstream.h.


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