ITS.Propagation.LFMF 1.1
Part of the NTIA/ITS Propagation Library
Loading...
Searching...
No Matches
ReturnCodes.cpp File Reference

Maps status messages to library return codes. More...

Functions

std::string ITS::Propagation::LFMF::GetReturnStatus (int code)
 Get an error message string from a return code.
 
char * ITS::Propagation::LFMF::GetReturnStatusCharArray (const int code)
 Get an error message string (as C-style string) from a return code.
 
void ITS::Propagation::LFMF::FreeReturnStatusCharArray (char *c_msg)
 Free the memory allocated by GetReturnStatusCharArray.
 

Detailed Description

Maps status messages to library return codes.

Function Documentation

◆ FreeReturnStatusCharArray()

DLLEXPORT void ITS::Propagation::LFMF::FreeReturnStatusCharArray ( char * c_msg)

Free the memory allocated by GetReturnStatusCharArray.

Parameters
[in]c_msgThe status message C-style string to delete

◆ GetReturnStatus()

std::string ITS::Propagation::LFMF::GetReturnStatus ( int code)

Get an error message string from a return code.

Parameters
[in]codeInteger return code.
Returns
A status message corresponding to the input code.

◆ GetReturnStatusCharArray()

DLLEXPORT char * ITS::Propagation::LFMF::GetReturnStatusCharArray ( const int code)

Get an error message string (as C-style string) from a return code.

Parameters
[in]codeInteger return code.
Returns
A status message corresponding to the input code.
Privacy Policy FOIA Accessibility Information Quality