MapLink Pro 11.1.2.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Loading...
Searching...
No Matches
TSLS63SerialENCFile Class Reference

Detailed Description

This class represents the contents of a single S63 SERIAL.ENC file.

Public Member Functions

const TSLS63SerialENCRecordat (int index) const
 
void destroy ()
 
int size () const
 
const TSLS63SerialENCRecordoperator[] (int index) const
 

Static Public Member Functions

static TSLS63SerialENCFilecreate (const char *filename)
 

Member Function Documentation

◆ at()

const TSLS63SerialENCRecord * TSLS63SerialENCFile::at ( int index) const

Returns the record at the given index in the container. If the index is invalid then this method will return NULL.

Parameters
indexThe index of the record to return.

◆ create()

static TSLS63SerialENCFile * TSLS63SerialENCFile::create ( const char * filename)
static

Loads and extracts all records contained within the specified SERIAL.ENC file.

Parameters
filenameFull path including filename to the SERIAL.ENC file to load.
Returns
an instance of the TSLS63SerialENCFile class on successful parsing of the file, or NULL on error.

◆ destroy()

void TSLS63SerialENCFile::destroy ( )

Deletes this object and all records contained within. This should be called instead of using the delete keyword.

◆ operator[]()

const TSLS63SerialENCRecord * TSLS63SerialENCFile::operator[] ( int index) const

Returns the record at the given index in the container. If the index is invalid then this method will return NULL.

Parameters
indexThe index of the record to return.

◆ size()

int TSLS63SerialENCFile::size ( ) const

Returns the number of records contained within the S63 SERIAL.ENC file.