libimage  0.25.4
 All Classes Namespaces Files Functions Variables Enumerations Macros Pages
Enumerations | Functions | Variables
ExtraSample Namespace Reference

Manage informations in connection with extra samples. More...

Enumerations

enum  eExtraSample { UNKNOWN = 0, ALPHA_ASSOC = 1, ALPHA_UNASSOC = 2 }
 Available extra samples type enumeration.

Functions

eExtraSample fromString (std::string strES)
 Convert a string to a extra sample type enumeration member.
std::string toString (eExtraSample es)
 Convert a extra sample type to a string.

Variables

const char * extraSample_name []
const int extraSample_size = 2
 Number of extra sample type compressions.

Detailed Description

Manage informations in connection with extra samples.

Author
Institut national de l'information géographique et forestière

Function Documentation

eExtraSample ExtraSample::fromString ( std::string  strES)

Convert a string to a extra sample type enumeration member.

Parameters
[in]strCompstring to convert
Returns
the binding extra sample type, UNKNOWN (0) if string is not recognized
std::string ExtraSample::toString ( eExtraSample  es)

Convert a extra sample type to a string.

Parameters
[in]compextra sample type to convert
Returns
string namming the extra sample type

Variable Documentation

const char* ExtraSample::extraSample_name[]
Initial value:
{
"UNKNOWN",
"ASSOCIATED ALPHA",
"UNASSOCIATED ALPHA"
}