You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/FITK_Interface/FITKInterfaceIOHDF5/FITKInterfaceHDF5AdaptorCoo...

85 lines
2.4 KiB
C

/**
*
* @file FITKInterfaceHDF5AdaptorCoordinateSystem.h
* @brief HDF5CoordinateSystem
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-31
*
*/
#ifndef _FITKINTERFACEHDF5ADAPTORCOORDINATESYSTEM_H__
#define _FITKINTERFACEHDF5ADAPTORCOORDINATESYSTEM_H__
#include "FITKInterfaceIOHDF5API.h"
#include "FITKAbstractHDF5Adaptor.h"
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"
//前置声明
ForwardDeclarNS(Interface, FITKCoordinateSystem)
namespace IO
{
/**
* @brief HDF5 CoordinateSystem
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-31
*/
class FITKINTERFACEHDF5IOAPI FITKInterfaceHDF5AdaptorCoordinateSystem : public FITKAbstractHDF5Adaptor
{
public:
explicit FITKInterfaceHDF5AdaptorCoordinateSystem() = default;
virtual ~FITKInterfaceHDF5AdaptorCoordinateSystem() = default;
/**
* @brief
* @return
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-31
*/
QString getAdaptorClass() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-31
*/
bool adaptR() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-31
*/
bool adaptW() override;
/**
* @brief
* @param coor
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-06-19
*/
bool readCoordinateSystem(Interface::FITKCoordinateSystem* coor, H5::Group & h5Group);
/**
* @brief
* @param coor
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-06-19
*/
bool writeCoordinateSystem(Interface::FITKCoordinateSystem* coor, H5::Group & h5Group);
};
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKCoordinateSystem, FITKInterfaceHDF5AdaptorCoordinateSystem)
}
#endif