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_Kernel/FITKCore/FITKAbstractNDataObject.h

82 lines
2.3 KiB
C

/**
*
* @file FITKAbstractNDataObject.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*
*/
#ifndef _FITKABSTRACTNDATAOBJECT_H__
#define _FITKABSTRACTNDATAOBJECT_H__
#include "FITKAbstractDataObject.h"
#include <QString>
namespace Core
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
class FITKCoreAPI FITKAbstractNDataObject : public FITKAbstractDataObject
{
//FITKSafeDownCastA(FITKAbstractNDataObject, FITKAbstractDataObject);
public:
/**
* @brief Construct a new FITKAbstractNDataObject object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
explicit FITKAbstractNDataObject() = default;
/**
* @brief Construct a new FITKAbstractNDataObject object
* @param[i] name
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
explicit FITKAbstractNDataObject(const QString & name);
/**
* @brief Destroy the FITKAbstractNDataObject object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
virtual ~FITKAbstractNDataObject() = 0;
/**
* @brief
* @param[i] name
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
virtual void setDataObjectName(const QString & name);
/**
* @brief
* @return QString
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
virtual QString getDataObjectName();
/**
* @brief ,id
* @param[i] obj
* @return true
* @return false
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-27
*/
virtual bool copy(FITKAbstractDataObject* obj) override;
private:
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-22
*/
QString m_dataObjName{};
};
}
#endif