steghide 0.5.1
BinaryInputError Class Reference

#include <error.h>

Inheritance diagram for BinaryInputError:
SteghideError MessageBase

Public Types

enum  TYPE { FILE_ERR , FILE_EOF , STDIN_ERR , STDIN_EOF }

Public Member Functions

 BinaryInputError (std::string fn, FILE *s)
TYPE getType (void)
Public Member Functions inherited from SteghideError
 SteghideError (void)
 SteghideError (std::string msg)
 SteghideError (const char *msgfmt,...)
virtual void printMessage (void) const
Public Member Functions inherited from MessageBase
 MessageBase (void)
 MessageBase (std::string msg)
 MessageBase (const char *msgfmt,...)
virtual ~MessageBase ()
const std::string & getMessage (void) const
void setMessage (std::string msg)
void setNewline (bool prnl)
const std::string getNewline (void) const
void setMessage (const char *msgfmt,...)

Protected Member Functions

void setType (TYPE t)
Protected Member Functions inherited from MessageBase
std::string compose (const char *msgfmt,...) const
std::string vcompose (const char *msgfmt, va_list ap) const

Private Attributes

TYPE type

Additional Inherited Members

Static Protected Attributes inherited from MessageBase
static const unsigned int MsgMaxSize = 512

Member Enumeration Documentation

◆ TYPE

Enumerator
FILE_ERR 
FILE_EOF 
STDIN_ERR 
STDIN_EOF 

Constructor & Destructor Documentation

◆ BinaryInputError()

BinaryInputError::BinaryInputError ( std::string fn,
FILE * s )

Member Function Documentation

◆ getType()

BinaryInputError::TYPE BinaryInputError::getType ( void )

◆ setType()

void BinaryInputError::setType ( BinaryInputError::TYPE t)
protected

Member Data Documentation

◆ type

TYPE BinaryInputError::type
private

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