OTB
9.0.0
Orfeo Toolbox
|
#include <otbAttributesMapLabelObject.h>
Public Types | |
typedef LabelObjectType::AttributesValueType | AttributeValueType |
typedef TLabelObject | LabelObjectType |
Public Member Functions | |
AttributesMapLabelObjectAccessor () | |
const char * | GetAttributeName () const |
const AttributeValueType | operator() (LabelObjectType *labelObject) const |
void | SetAttributeName (const char *name) |
~AttributesMapLabelObjectAccessor () | |
Private Attributes | |
std::string | m_AttributeName |
Allows accessing a given field of an AttributesMapLabelObject.
The name of the attribute to retrieve can be set by using the SetAttributeName method.
Definition at line 54 of file otbAttributesMapLabelObject.h.
typedef LabelObjectType::AttributesValueType otb::Functor::AttributesMapLabelObjectAccessor< TLabelObject >::AttributeValueType |
Definition at line 59 of file otbAttributesMapLabelObject.h.
typedef TLabelObject otb::Functor::AttributesMapLabelObjectAccessor< TLabelObject >::LabelObjectType |
Definition at line 58 of file otbAttributesMapLabelObject.h.
|
inline |
Constructor.
Definition at line 83 of file otbAttributesMapLabelObject.h.
|
inline |
Destructor.
Definition at line 88 of file otbAttributesMapLabelObject.h.
|
inline |
Get the the name of the attribute to retrieve.
Definition at line 77 of file otbAttributesMapLabelObject.h.
|
inline |
Please note that no exception catching is done here.
labelObject | The pointer to the label object |
Definition at line 66 of file otbAttributesMapLabelObject.h.
|
inline |
Set the name of the attribute to retrieve.
Definition at line 72 of file otbAttributesMapLabelObject.h.
|
private |
Name of the attribute to retrieve.
Definition at line 94 of file otbAttributesMapLabelObject.h.