MISB 0601 Converter Library  Version 1.0.1.8
Public Member Functions | List of all members
IEG0102Converter Class Referenceabstract

IEG0102Converter helper class. More...

Public Member Functions

virtual bool DecodeLDS (const char *buffer, size_t length, SecurityMetadataSetItem *decodedItem)=0
 Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec. More...
 
virtual bool DecodeLDSBuffer (const char *buffer, size_t length, SecurityMetadataSetItem *decodedItem)=0
 Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec. More...
 
virtual bool DecodeUDS (const char *buffer, size_t length, SecurityMetadataSetItem *decodedItem)=0
 Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec. More...
 
virtual bool DecodeUDSBuffer (const char *buffer, size_t length, SecurityMetadataSetItem *decodedItem)=0
 Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec. More...
 
virtual char * EncodeMetadataSet (SecurityMetadataSetItem *item, size_t &length, bool UDSKey=false)=0
 EncodeMetadataSet method encodes the supplied SecurityMetadataSetItem and returns the encoded buffer. More...
 
virtual bool FillSecurityMetadataSetItem (IKlvItem **itemArray, int itemCount, SecurityMetadataSetItem *decodedItem, bool getByUDSKey=false)=0
 FillSecurityMetadataSetItem method fills the supplied SecurityMetadataSetItem with the data from KlvItem Array. More...
 
virtual char * ToString (SECURITY_CLASSIFICATION classification)=0
 ToString(SECURITY_CLASSIFICATION classification ) method returns an ASCII representation of the SECURITY_CLASSIFICATION enum. More...
 
virtual char * ToString (CLASS_COUNTRY_RELEASE_INSTR classCountryReleaseInstr)=0
 ToString(CLASS_COUNTRY_RELEASE_INSTR classCountryReleaseInstr ) method returns an ASCII representation of the CLASS_COUNTRY_RELEASE_INSTR enum. More...
 
virtual char * ToString (OBJ_COUNTRY_CODING_METHOD objCountryCodingMethod)=0
 ToString(OBJ_COUNTRY_CODING_METHOD objCountryCodingMethod ) method returns an ASCII representation of the OBJ_COUNTRY_CODING_METHOD enum. More...
 
virtual ~IEG0102Converter ()
 Virtual destructor.
 

Detailed Description


MISB 0102.9 Standard details the Security Metadata Universal and Local Sets for Digital Motion Imagery for UAS platforms. Primarily intended for use by developers working on the UAV related appications, IEG01029Converter provides the following functionality:

Member Function Documentation

virtual bool IEG0102Converter::DecodeLDS ( const char *  buffer,
size_t  length,
SecurityMetadataSetItem decodedItem 
)
pure virtual

Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec.

Parameters
buffera char*. Data buffer
lengtha size_t. buffer length.
decodedItema SecurityMetadataSetItem*. Value
Returns
bool.
virtual bool IEG0102Converter::DecodeLDSBuffer ( const char *  buffer,
size_t  length,
SecurityMetadataSetItem decodedItem 
)
pure virtual

Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec.

Parameters
buffera char*. Data buffer
lengtha size_t. buffer length.
decodedItema SecurityMetadataSetItem*. Value
Returns
bool.
virtual bool IEG0102Converter::DecodeUDS ( const char *  buffer,
size_t  length,
SecurityMetadataSetItem decodedItem 
)
pure virtual

Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec.

Parameters
buffera char*. Data buffer
lengtha size_t. buffer length.
decodedItema SecurityMetadataSetItem*. Value
Returns
bool.
virtual bool IEG0102Converter::DecodeUDSBuffer ( const char *  buffer,
size_t  length,
SecurityMetadataSetItem decodedItem 
)
pure virtual

Decoder method decodes the supplied buffer and fills the SecurityMetadataSetItem structure as defined in the MISB 0102.9 spec.

Parameters
buffera char*. Data buffer
lengtha size_t. buffer length.
decodedItema SecurityMetadataSetItem*. Value
Returns
bool.
virtual char* IEG0102Converter::EncodeMetadataSet ( SecurityMetadataSetItem item,
size_t &  length,
bool  UDSKey = false 
)
pure virtual

EncodeMetadataSet method encodes the supplied SecurityMetadataSetItem and returns the encoded buffer.

Parameters
itema SecurityMetadataSetItem*. SecurityMetadataSet Item
lengtha size_t. Encoded buffer length.
UDSKeya bool. LDS / UDSKey
Returns
char* buffer.
virtual bool IEG0102Converter::FillSecurityMetadataSetItem ( IKlvItem **  itemArray,
int  itemCount,
SecurityMetadataSetItem decodedItem,
bool  getByUDSKey = false 
)
pure virtual

FillSecurityMetadataSetItem method fills the supplied SecurityMetadataSetItem with the data from KlvItem Array.

Parameters
itemArraya IKlvItem**. Items array
itemCounta int. A number of item in array.
decodedItema SecurityMetadataSetItem*. A pointer to the target Metadata Set
UDSKeya bool. Use LDS or UDSKey.
Returns
bool.
virtual char* IEG0102Converter::ToString ( SECURITY_CLASSIFICATION  classification)
pure virtual
Parameters
classificationa SECURITY_CLASSIFICATION. Enum value
Returns
char*. ASCII representation
virtual char* IEG0102Converter::ToString ( CLASS_COUNTRY_RELEASE_INSTR  classCountryReleaseInstr)
pure virtual
Parameters
classCountryReleaseInstra CLASS_COUNTRY_RELEASE_INSTR. Enum value
Returns
char*. ASCII representation
virtual char* IEG0102Converter::ToString ( OBJ_COUNTRY_CODING_METHOD  objCountryCodingMethod)
pure virtual
Parameters
objCountryCodingMethoda OBJ_COUNTRY_CODING_METHOD. Enum value
Returns
char*. ASCII representation
Untitled 1




 Copyright 2010,    IMPLEOTV SYSTEMS LTD