UserNodeA.cpp
#include "UserNodeA.h" #include <CDPSystem/Base/CDPBaseObject.h> using namespace CDP::StudioAPI; using namespace CDP::System::Base; using namespace UserDefinedStructureLib; /*! \class UserNodeA \inmodule UserDefinedStructureLib \section1 Usage Add documentation for UserNodeA here. */ UserNodeA::UserNodeA(XMLElementEx* element, CDPBaseObject* owner) { SetNodeOwner(owner); PropertyCreate(nodeName, this, "Name", e_PropertySaveOnChange, element); PropertyCreate(userAttribute, this, "UserAttribute", e_PropertySaveOnChange, element); } const std::string UserNodeA::GetNodeName() const { return nodeName; } std::string UserNodeA::GetNodeTypeName() const { return "UserDefinedStructureLib.UserNodeA"; } void UserNodeA::FillNodeChildren(CDP::StudioAPI::NodeStream &serializer) const { serializer << AdoptedChild(nodeName) << AdoptedChild(userAttribute); }
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.