UserNodeA.h

#ifndef USERDEFINEDSTRUCTURELIB_USERNODEA_H
#define USERDEFINEDSTRUCTURELIB_USERNODEA_H

#include <StudioAPI/CDPNode.h>
#include <CDPSystem/Base/CDPProperty.h>

namespace UserDefinedStructureLib {

class UserNodeA : public CDP::StudioAPI::CDPNode
{
public:
    UserNodeA(XMLElementEx *element, CDPBaseObject *owner);

    virtual const std::string GetNodeName() const override;
    virtual std::string GetNodeTypeName() const override;
    virtual void FillNodeChildren(CDP::StudioAPI::NodeStream &serializer) const override;

private:
    CDPProperty<std::string> nodeName;
    CDPProperty<std::string> userAttribute;
};

} // namespace UserDefinedStructureLib

#endif