soma-io
5.0.5
|
Properties translator. More...
#include <soma-io/utilities/headertranslator.h>
Public Member Functions | |
virtual | ~HeaderTranslator () |
virtual void | translate (carto::Object srcheader, carto::Object dstheader=carto::none()) const =0 |
if dstheader is given, srcheader is copied to dstheader while it is translated. More... | |
Properties translator.
The translator transforms some specific properties into others. It is useful for instance to transform Aims 2.x .minf headers or AimsFileInfo output to cartodata-style headers
Definition at line 50 of file headertranslator.h.
|
inlinevirtual |
Definition at line 53 of file headertranslator.h.
References carto::none(), and translate().
|
pure virtual |
if dstheader
is given, srcheader
is copied to dstheader
while it is translated.
If dstheader
is left to none
, srcheader
is modified instead.
Referenced by ~HeaderTranslator().