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