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/FITKInterfaceHDF5AdaptorAss...

71 lines
2.0 KiB
C

/**
*
* @file FITKInterfaceHDF5AdaptorAssElement.h
* @brief HDF5AssElement
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-01
*
*/
#ifndef _FITKINTERFACEHDF5ADAPTORASSELEMENT_H__
#define _FITKINTERFACEHDF5ADAPTORASSELEMENT_H__
#include "FITKInterfaceIOHDF5API.h"
#include "FITKAbstractHDF5Adaptor.h"
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"
//前置声明
ForwardDeclarNS(Interface, FITKAbstractAssemblyElement)
ForwardDeclarNS(Interface, FITKAssemblyElementLine)
namespace IO
{
/**
* @brief HDF5 AssElement
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-01
*/
class FITKINTERFACEHDF5IOAPI FITKInterfaceHDF5AdaptorAssemblyElementLine : public FITKAbstractHDF5Adaptor
{
public:
explicit FITKInterfaceHDF5AdaptorAssemblyElementLine() = default;
virtual ~FITKInterfaceHDF5AdaptorAssemblyElementLine() = default;
/**
* @brief
* @return
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-01
*/
QString getAdaptorClass() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-01
*/
bool adaptR() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-01
*/
bool adaptW() override;
protected:
virtual bool readAssemblyElementLine(Interface::FITKAbstractAssemblyElement* assElement, H5::Group& h5Group);
virtual bool writeAssemblyElementLine(Interface::FITKAbstractAssemblyElement* assElement, H5::Group& h5Group);
};
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKAssemblyElementLine, FITKInterfaceHDF5AdaptorAssemblyElementLine)
}
#endif