#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
if (argc != 3)
{
cout << "Usage: " << argv[0] << " <odimh5filesorgente> <odimh5filedestinazione>" << endl;
return -1;
}
try
{
cout << "Copia eseguita!" << endl;
}
catch (std::exception& stde)
{
cerr << "Errore di esecuzione: " << stde.what() << endl;
}
catch (...)
{
cerr << "Errore di esecuzione sconosciuto" << endl;
}
delete volume1;
delete volume2;
delete factory;
return 0;
}
OdimH5 objects factory.
Definition: odimh5v20_factory.hpp:50
virtual PolarVolume * openPolarVolume(const std::string &path)
Get a OdimH5 PVOL object from an existing file.
Definition: odimh5v20_factory.cpp:260
virtual PolarVolume * createPolarVolume(const std::string &path)
Create a new OdimH5 PVOL object and the associated file.
Definition: odimh5v20_factory.cpp:165
virtual MetadataGroup * getWhere()
Get the WHERE attributes group.
Definition: odimh5v20_classes.cpp:179
virtual MetadataGroup * getWhat()
Get the WHAT attributes group.
Definition: odimh5v20_classes.cpp:172
virtual MetadataGroup * getHow()
Get the HOW attributes group.
Definition: odimh5v20_classes.cpp:186
OdimH5 v2.0 Polar Volume.
Definition: odimh5v20_classes.hpp:846
Namespace related to ODIMH5 version 2.0.
Definition: odimh5v20.hpp:46
Main header file of the library.