MrSID Decode SDK for Raster Reference Manual  9.5.4.4709
MrSIDSimplePasswordDelegate Class Reference

simple concrete delegate for locked MrSID images More...

#include <MrSIDPasswordDelegate.h>

Inheritance diagram for MrSIDSimplePasswordDelegate:
MrSIDPasswordDelegate

Public Member Functions

 MrSIDSimplePasswordDelegate (const char *password)
 constructor More...
 
LT_STATUS reportIncorrectPassword ()
 failure user notification More...
 
LT_STATUS getPassword ()
 get the password More...
 
- Public Member Functions inherited from MrSIDPasswordDelegate
 MrSIDPasswordDelegate ()
 constructor More...
 
virtual ~MrSIDPasswordDelegate ()
 destructor More...
 

Additional Inherited Members

- Protected Member Functions inherited from MrSIDPasswordDelegate
char * getPasswordBuffer ()
 get password buffer More...
 
lt_uint32 getPasswordBufferLength ()
 get password buffer length More...
 

Detailed Description

This class is a concrete password delegate class which just takes a fixed string in its ctor.

Definition at line 110 of file MrSIDPasswordDelegate.h.

Constructor & Destructor Documentation

§ MrSIDSimplePasswordDelegate()

MrSIDSimplePasswordDelegate::MrSIDSimplePasswordDelegate ( const char *  password)

Create a password delegate, using the given string.

Parameters
passwordthe password to use to unlock the image

Member Function Documentation

§ getPassword()

LT_STATUS MrSIDSimplePasswordDelegate::getPassword ( )
virtual

This function does nothing, as the password is fixed (determined by parameter to constructor).

Returns
always LT_STS_Success

Implements MrSIDPasswordDelegate.

§ reportIncorrectPassword()

LT_STATUS MrSIDSimplePasswordDelegate::reportIncorrectPassword ( )
virtual

This function just returns LT_STS_Failure.

Returns
always LT_STS_Failure

Implements MrSIDPasswordDelegate.


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

LizardTech