Public Member Functions | Private Member Functions | Private Attributes
vnl_matlab_readhdr Class Reference

#include <vnl_matlab_read.h>

List of all members.

Public Member Functions

 vnl_matlab_readhdr (vcl_istream &)
 ~vnl_matlab_readhdr ()
 operator safe_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 (vcl_complex< float >)
 fsm_declare_methods (vcl_complex< double >)

Private Member Functions

void read_hdr ()
 internal.

Private Attributes

 VCL_SAFE_BOOL_DEFINE
vcl_istream & s
vnl_matlab_header hdr
char * varname
bool data_read
bool need_swap

Detailed Description

Definition at line 44 of file vnl_matlab_read.h.


Constructor & Destructor Documentation

vnl_matlab_readhdr::vnl_matlab_readhdr ( vcl_istream &  )
vnl_matlab_readhdr::~vnl_matlab_readhdr ( )

Definition at line 57 of file vnl_matlab_read.cxx.


Member Function Documentation

long vnl_matlab_readhdr::cols ( ) const [inline]

Definition at line 59 of file vnl_matlab_read.h.

vnl_matlab_readhdr::fsm_declare_methods ( float  )
vnl_matlab_readhdr::fsm_declare_methods ( double  )
vnl_matlab_readhdr::fsm_declare_methods ( vcl_complex< float >  )
vnl_matlab_readhdr::fsm_declare_methods ( vcl_complex< double >  )
bool vnl_matlab_readhdr::is_bigendian ( ) const

Definition at line 84 of file vnl_matlab_read.cxx.

bool vnl_matlab_readhdr::is_complex ( ) const [inline]

Definition at line 60 of file vnl_matlab_read.h.

bool vnl_matlab_readhdr::is_rowwise ( ) const

Definition at line 79 of file vnl_matlab_read.cxx.

bool vnl_matlab_readhdr::is_single ( ) const

Definition at line 74 of file vnl_matlab_read.cxx.

char const* vnl_matlab_readhdr::name ( ) const [inline]

Definition at line 61 of file vnl_matlab_read.h.

vnl_matlab_readhdr::operator vnl_matlab_readhdr::safe_bool ( ) const

Definition at line 64 of file vnl_matlab_read.cxx.

bool vnl_matlab_readhdr::operator! ( ) const

Definition at line 69 of file vnl_matlab_read.cxx.

void vnl_matlab_readhdr::read_hdr ( ) [private]

internal.

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

Definition at line 91 of file vnl_matlab_read.cxx.

void vnl_matlab_readhdr::read_next ( )

Definition at line 150 of file vnl_matlab_read.cxx.

long vnl_matlab_readhdr::rows ( ) const [inline]

Definition at line 58 of file vnl_matlab_read.h.


Member Data Documentation

Definition at line 84 of file vnl_matlab_read.h.

Definition at line 82 of file vnl_matlab_read.h.

Definition at line 85 of file vnl_matlab_read.h.

vcl_istream& vnl_matlab_readhdr::s [private]

Definition at line 81 of file vnl_matlab_read.h.

char* vnl_matlab_readhdr::varname [private]

Definition at line 83 of file vnl_matlab_read.h.

Definition at line 46 of file vnl_matlab_read.h.


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