Public Member Functions | Private Member Functions | Private Attributes | List of all members
vnl_matlab_readhdr Class Reference

#include <vnl_matlab_read.h>

Public Member Functions

 vnl_matlab_readhdr (std::istream &)
 
 ~vnl_matlab_readhdr ()
 
 operator bool () const
 
bool operator! () const
 
void read_next ()
 
bool is_single () const
 
bool is_rowwise () const
 
bool is_bigendian () const
 
long rows () const
 
long cols () const
 
bool is_complex () const
 
char const * name () const
 
 fsm_declare_methods (float)
 
 fsm_declare_methods (double)
 
 fsm_declare_methods (std::complex< float >)
 
 fsm_declare_methods (std::complex< double >)
 

Private Member Functions

void read_hdr ()
 internal. More...
 

Private Attributes

std::istream & s
 
vnl_matlab_header hdr
 
char * varname
 
bool data_read
 
bool need_swap
 

Detailed Description

Definition at line 46 of file vnl_matlab_read.h.

Constructor & Destructor Documentation

◆ vnl_matlab_readhdr()

vnl_matlab_readhdr::vnl_matlab_readhdr ( std::istream &  )

◆ ~vnl_matlab_readhdr()

vnl_matlab_readhdr::~vnl_matlab_readhdr ( )

Definition at line 62 of file vnl_matlab_read.cxx.

Member Function Documentation

◆ cols()

long vnl_matlab_readhdr::cols ( ) const
inline

Definition at line 62 of file vnl_matlab_read.h.

◆ fsm_declare_methods() [1/4]

vnl_matlab_readhdr::fsm_declare_methods ( float  )

◆ fsm_declare_methods() [2/4]

vnl_matlab_readhdr::fsm_declare_methods ( double  )

◆ fsm_declare_methods() [3/4]

vnl_matlab_readhdr::fsm_declare_methods ( std::complex< float >  )

◆ fsm_declare_methods() [4/4]

vnl_matlab_readhdr::fsm_declare_methods ( std::complex< double >  )

◆ is_bigendian()

bool vnl_matlab_readhdr::is_bigendian ( ) const

Definition at line 89 of file vnl_matlab_read.cxx.

◆ is_complex()

bool vnl_matlab_readhdr::is_complex ( ) const
inline

Definition at line 63 of file vnl_matlab_read.h.

◆ is_rowwise()

bool vnl_matlab_readhdr::is_rowwise ( ) const

Definition at line 84 of file vnl_matlab_read.cxx.

◆ is_single()

bool vnl_matlab_readhdr::is_single ( ) const

Definition at line 79 of file vnl_matlab_read.cxx.

◆ name()

char const* vnl_matlab_readhdr::name ( ) const
inline

Definition at line 64 of file vnl_matlab_read.h.

◆ operator bool()

vnl_matlab_readhdr::operator bool ( ) const
explicit

Definition at line 69 of file vnl_matlab_read.cxx.

◆ operator!()

bool vnl_matlab_readhdr::operator! ( ) const

Definition at line 74 of file vnl_matlab_read.cxx.

◆ read_hdr()

void vnl_matlab_readhdr::read_hdr ( )
private

internal.

increment 'current', record the file position and read the header.

Definition at line 96 of file vnl_matlab_read.cxx.

◆ read_next()

void vnl_matlab_readhdr::read_next ( )

Definition at line 155 of file vnl_matlab_read.cxx.

◆ rows()

long vnl_matlab_readhdr::rows ( ) const
inline

Definition at line 61 of file vnl_matlab_read.h.

Member Data Documentation

◆ data_read

bool vnl_matlab_readhdr::data_read
private

Definition at line 87 of file vnl_matlab_read.h.

◆ hdr

vnl_matlab_header vnl_matlab_readhdr::hdr
private

Definition at line 85 of file vnl_matlab_read.h.

◆ need_swap

bool vnl_matlab_readhdr::need_swap
private

Definition at line 88 of file vnl_matlab_read.h.

◆ s

std::istream& vnl_matlab_readhdr::s
private

Definition at line 84 of file vnl_matlab_read.h.

◆ varname

char* vnl_matlab_readhdr::varname
private

Definition at line 86 of file vnl_matlab_read.h.


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