#include <ElementaryFile.h>
The class
contains the description of a Calypso EF.
- Since
- 0.9
◆ ElementaryFile() [1/2]
keyple::calypso::transaction::ElementaryFile::ElementaryFile |
( |
const uint8_t |
sfi | ) |
|
(package-private)
Constructor
- Parameters
-
- Since
- 0.9
◆ ElementaryFile() [2/2]
keyple::calypso::transaction::ElementaryFile::ElementaryFile |
( |
const ElementaryFile & |
o | ) |
|
Copy constructor
C++ vs. Java: Copy constructor is prefereable to .clone() method
◆ getData()
std::shared_ptr< FileData > keyple::calypso::transaction::ElementaryFile::getData |
( |
| ) |
const |
Gets the file data.
- Returns
- a not null data reference.
- Since
- 0.9
◆ getHeader()
const std::shared_ptr< FileHeader > keyple::calypso::transaction::ElementaryFile::getHeader |
( |
| ) |
const |
Gets the file header.
- Returns
- a header reference or null if header is not yet set.
- Since
- 0.9
◆ getSfi()
uint8_t keyple::calypso::transaction::ElementaryFile::getSfi |
( |
| ) |
const |
Gets the associated SFI.
- Returns
- the SFI
- Since
- 0.9
◆ operator==()
bool keyple::calypso::transaction::ElementaryFile::operator== |
( |
const ElementaryFile & |
o | ) |
const |
Comparison is based on field "sfi".
- Parameters
-
- Returns
- the comparison evaluation
- Since
- 0.9
◆ setHeader()
(package-private)
Sets the file header.
- Parameters
-
header | the file header (should be not null) |
- Returns
- the current instance.
◆ operator<<
The documentation for this class was generated from the following files: