Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | List of all members
keyple::core::command::AbstractApduResponseParser::StatusProperties Class Referencefinal

#include <AbstractApduResponseParser.h>

Public Member Functions

 StatusProperties (const std::string &information)
 
 StatusProperties (const std::string &information, const std::type_info &exceptionClass)
 
bool isSuccessful () const
 
const std::string & getInformation () const
 
const std::type_info & getExceptionClass () const
 

Detailed Description

Status code properties

Constructor & Destructor Documentation

◆ StatusProperties() [1/2]

keyple::core::command::StatusProperties::StatusProperties ( const std::string &  information)

Create a successful status.

Parameters
informationthe status information

◆ StatusProperties() [2/2]

keyple::core::command::StatusProperties::StatusProperties ( const std::string &  information,
const std::type_info &  exceptionClass 
)

Create an error status.
If

exceptionClass

is null, then a successful status is created.

Parameters
informationthe status information
exceptionClassthe associated exception class

Member Function Documentation

◆ getExceptionClass()

const std::type_info & keyple::core::command::StatusProperties::getExceptionClass ( ) const
Returns
the nullable exception class

◆ getInformation()

const std::string & keyple::core::command::StatusProperties::getInformation ( ) const
Returns
the status information

◆ isSuccessful()

bool keyple::core::command::StatusProperties::isSuccessful ( ) const

Gets the successful.

Returns
the successful

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