11#ifndef __BE_DATA_INTERCHANGE_AN2K__
12#define __BE_DATA_INTERCHANGE_AN2K__
29 namespace DataInterchange
164 const std::string filename);
240 std::vector<Latent::AN2KView>
261 std::vector<Finger::AN2KViewCapture>
309 std::vector<Finger::AN2KViewFixedResolution>
330 std::vector<Finger::AN2KViewFixedResolution>
357 std::vector<Palm::AN2KView>
368 std::vector<Finger::AN2KMinutiaeDataRecord>
417 std::vector<CharacterSet>
435 const std::string &filename);
457 std::string _version;
473 std::vector<CharacterSet> _dcs;
476 std::vector<Finger::AN2KViewFixedResolution>>
477 _fingerFixedResolutionCaptures;
478 std::vector<Latent::AN2KView> _fingerLatents;
479 std::vector<Finger::AN2KViewCapture> _fingerCaptures;
480 std::vector<Palm::AN2KView> _palmCaptures;
482 std::vector<Finger::AN2KMinutiaeDataRecord>
483 _minutiaeDataRecordSet;
A class to represent an entire ANSI/NIST record.
std::vector< Finger::AN2KViewCapture > getFingerCaptures() const
Obtain all capture (Type-14) finger views.
std::vector< Latent::AN2KView > getFingerLatents() const
Obtain all latent (Type-13) finger views.
DomainName getDomainName() const
Obtain the idntifier of the domain name for the user-defined Type-2 logical record implementation.
std::vector< Finger::AN2KMinutiaeDataRecord > getMinutiaeDataRecordSet() const
Obtain all minutiae (Type-9) data.
uint32_t getFingerLatentCount() const
Obtain the count of latent (Type-13) finger views.
std::string getVersionNumber() const
static bool isAN2KRecord(BiometricEvaluation::Memory::uint8Array &buf)
Determine if file appears to be an ANSI/NIST record.
std::string getNativeScanningResolution() const
std::string getTransactionControlNumber() const
struct tm getGreenwichMeanTime() const
Obain the date and time of encoding in terms of GMT units.
std::string getNominalTransmittingResolution() const
uint32_t getFingerFixedResolutionCaptureCount() const
Obtain the count of all fixed resolution (Type 3-6) views.
std::string getDate() const
uint8_t getPriority() const
Obtain the urgency with which a response is required.
static std::set< int > recordLocations(const ANSI_NIST *an2k, const View::AN2KView::RecordType recordType)
Find the position within an ANSI_NIST struct of all Records of a particular type.
std::vector< Palm::AN2KView > getPalmCaptures() const
Obtain all capture (Type-15) palm views.
std::string getOriginatingAgency() const
uint32_t getPalmCaptureCount() const
Obtain the count of capture (Type-15) palm views.
uint32_t getFingerCaptureCount() const
Obtain the count of capture (Type-14) finger views.
std::vector< Finger::AN2KViewFixedResolution > getFingerFixedResolutionCaptures() const
Obtain all fixed resolution (Type 3-6) views.
std::vector< Finger::AN2KViewFixedResolution > getFingerFixedResolutionCaptures(const View::AN2KView::RecordType type) const
Obtain all fixed resolution (Type 3-6) views of a particular type.
std::string getDestinationAgency() const
static bool isAN2KRecord(const std::string &filename)
Determine if file appears to be an ANSI/NIST record.
static std::set< int > recordLocations(Memory::uint8Array &buf, const View::AN2KView::RecordType recordType)
Find the position within a buffer of all Records of a particular type.
uint32_t getFingerFixedResolutionCaptureCount(const View::AN2KView::RecordType type) const
Obtain the count of fixed resolution (Type 3-6) views.
AN2KRecord(Memory::uint8Array &buf)
Constructor taking an AN2K record from a buffer.
AN2KRecord(const std::string filename)
Constructor taking an AN2K record from a file.
DomainName DomainName
Convenience alias for struct DomainName.
std::vector< CharacterSet > getDirectoryOfCharacterSets() const
Obtain the list of character sets other than 7-bit ASCII that may appear in the transaction.
RecordType
The type of AN2K record.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...
uint16_t identifier
Identifier (000-999)
std::string commonName
Common name of the character set.
std::string version
Optional version of the character set.
CharacterSet(uint16_t identifier=0, std::string commonName="", std::string version="")
Create a new CharacterSet struct.
Representation of a domain name for the user-defined Type-2 logical record implementation.
std::string version
Optional version of the implementation.
DomainName(std::string identifier="", std::string version="")
Create a DomainName struct.
std::string identifier
Unique identifier for agency, entity, or implementation.