UserNodeC2.cpp
#include "UserNodeC2.h" #include <CDPSystem/Base/CDPBaseObject.h> using namespace CDP::StudioAPI; using namespace CDP::System::Base; using namespace UserDefinedStructureLib; /*! \class UserNodeC2 \inmodule UserDefinedStructureLib \section1 Usage Add documentation for UserNodeC2 here. */ UserNodeC2::UserNodeC2(XMLElementEx* element, ICDPNode* owner) { SetNodeOwner(owner); PropertyCreate(nodeName, this, "Name", e_PropertySaveOnChange, element); PropertyCreate(userAttribute, this, "UserAttribute", e_PropertySaveOnChange, element); } const std::string UserNodeC2::GetNodeName() const { return nodeName; } std::string UserNodeC2::GetNodeTypeName() const { return "UserDefinedStructureLib.UserNodeC2"; } void UserNodeC2::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.