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.
153 lines
5.2 KiB
C++
153 lines
5.2 KiB
C++
/*****************************************************************//**
|
|
*
|
|
* @file FITKOCCHDF5AdaptorCommand.h
|
|
* @brief HDF5 Adaptor Command。
|
|
* @author fulipeng (flipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*
|
|
*********************************************************************/
|
|
#ifndef __FITKABAQUSABAQUSWRITER_H__
|
|
#define __FITKABAQUSABAQUSWRITER_H__
|
|
|
|
#include "FITKGeoOCCIOHDF5API.h"
|
|
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
|
|
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"
|
|
#include "FITK_Interface/FITKInterfaceGeoIOHDF5/FITKInterfaceHDF5AdaptorCommand.h"
|
|
|
|
ForwardDeclarNS(Core, FITKAbstractDataObject);
|
|
ForwardDeclarNS(Interface, FITKAbsGeoCommand);
|
|
ForwardDeclarNS(Interface, FITKAbsGeoDelete);
|
|
ForwardDeclarNS(H5, H5File);
|
|
ForwardDeclarNS(H5, Group);
|
|
ForwardDeclarNS(H5, H5Object);
|
|
ForwardDeclarNS(H5, DataType);
|
|
|
|
namespace IO
|
|
{
|
|
/**
|
|
* @brief HDF5 Adaptor Command
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
class FITKGEOOCCIOHDF5API FITKOCCHDF5AdaptorCommand : public FITKInterfaceHDF5AdaptorCommand
|
|
{
|
|
public:
|
|
/**
|
|
* @brief Construct a new FITKOCCHDF5AdaptorCommand object
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
explicit FITKOCCHDF5AdaptorCommand() = default;
|
|
virtual ~FITKOCCHDF5AdaptorCommand() = default;
|
|
|
|
protected:
|
|
|
|
virtual bool readVShape(Interface::FITKAbsGeoCommand * comm, H5::Group & h5Group) override;
|
|
|
|
virtual bool writeVShape(Interface::FITKAbsGeoShapeAgent* agent, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write Sketch
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeGeometrySkecth(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write basic geometry point
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeBasicGeometryPoint(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write basic geometry curve
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeBasicGeometryCurve(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write basic geometry face
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeBasicGeometryFace(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief read basic geometry solid
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool readBasicGeometrySolid(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write basic geometry solid
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeBasicGeometrySolid(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write oper geometry
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-11
|
|
*/
|
|
virtual bool writeOperGeometry(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write oper geometry point
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeOperGeometryPoint(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write oper geometry curve
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeOperGeometryCurve(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write oper geometry face
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeOperGeometryFace(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write oper geometry solid
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeOperGeometrySolid(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
/**
|
|
* @brief write shape geometry, recursion
|
|
* @return Status true and false
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-09-09
|
|
*/
|
|
virtual bool writeShapeGeometry(Interface::FITKAbsGeoCommand* comm, H5::Group & h5Group) override;
|
|
|
|
};
|
|
|
|
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKAbsGeoCommand, FITKOCCHDF5AdaptorCommand, 1)
|
|
|
|
}
|
|
|
|
|
|
#endif
|