@@ -83,12 +83,12 @@ std::shared_ptr<HeaderWithSlotsAndSwitchLayout::ClickHandler> BooleanNode::Layou
8383}
8484
8585BooleanNode::BooleanNode () :
86- BooleanNode (std::wstring (), NUIE ::Point (), false )
86+ BooleanNode (NE ::String (), NUIE ::Point (), false )
8787{
8888
8989}
9090
91- BooleanNode::BooleanNode (const std::wstring & name, const NUIE ::Point& position, bool val) :
91+ BooleanNode::BooleanNode (const NE ::String & name, const NUIE ::Point& position, bool val) :
9292 BasicUINode (name, position, NUIE ::InvalidIconId, UINodeLayoutPtr (new Layout (" switch" , NE ::LocalizeString (L" true" ), NE ::LocalizeString (L" false" )))),
9393 val (val)
9494{
@@ -102,7 +102,7 @@ BooleanNode::~BooleanNode ()
102102
103103void BooleanNode::Initialize ()
104104{
105- RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), L" Output" )));
105+ RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), NE::String ( L" Output" ) )));
106106}
107107
108108bool BooleanNode::IsForceCalculated () const
@@ -218,12 +218,12 @@ std::shared_ptr<HeaderWithSlotsAndButtonsLayout::ClickHandler> NumericUpDownNode
218218}
219219
220220NumericUpDownNode::NumericUpDownNode () :
221- NumericUpDownNode (std::wstring (), NUIE ::Point ())
221+ NumericUpDownNode (NE ::String (), NUIE ::Point ())
222222{
223223
224224}
225225
226- NumericUpDownNode::NumericUpDownNode (const std::wstring & name, const NUIE ::Point& position) :
226+ NumericUpDownNode::NumericUpDownNode (const NE ::String & name, const NUIE ::Point& position) :
227227 BasicUINode (name, position, NUIE ::InvalidIconId, UINodeLayoutPtr (new Layout (" minus" , NE ::LocalizeString (L" <" ), " plus" , NE ::LocalizeString (L" >" ))))
228228{
229229
@@ -236,7 +236,7 @@ NumericUpDownNode::~NumericUpDownNode ()
236236
237237void NumericUpDownNode::Initialize ()
238238{
239- RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), L" Output" )));
239+ RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), NE::String ( L" Output" ) )));
240240}
241241
242242bool NumericUpDownNode::IsForceCalculated () const
@@ -259,12 +259,12 @@ NE::Stream::Status NumericUpDownNode::Write (NE::OutputStream& outputStream) con
259259}
260260
261261IntegerUpDownNode::IntegerUpDownNode () :
262- IntegerUpDownNode (std::wstring (), NUIE ::Point (), 0 , 0 )
262+ IntegerUpDownNode (NE ::String (), NUIE ::Point (), 0 , 0 )
263263{
264264
265265}
266266
267- IntegerUpDownNode::IntegerUpDownNode (const std::wstring & name, const NUIE ::Point& position, int val, int step) :
267+ IntegerUpDownNode::IntegerUpDownNode (const NE ::String & name, const NUIE ::Point& position, int val, int step) :
268268 NumericUpDownNode (name, position),
269269 val (val),
270270 step (step)
@@ -382,12 +382,12 @@ void IntegerUpDownNode::SetStep (int newStep)
382382}
383383
384384DoubleUpDownNode::DoubleUpDownNode () :
385- DoubleUpDownNode (std::wstring (), NUIE ::Point (), 0.0 , 0.0 )
385+ DoubleUpDownNode (NE ::String (), NUIE ::Point (), 0.0 , 0.0 )
386386{
387387
388388}
389389
390- DoubleUpDownNode::DoubleUpDownNode (const std::wstring & name, const NUIE ::Point& position, double val, double step) :
390+ DoubleUpDownNode::DoubleUpDownNode (const NE ::String & name, const NUIE ::Point& position, double val, double step) :
391391 NumericUpDownNode (name, position),
392392 val (val),
393393 step (step)
@@ -505,12 +505,12 @@ void DoubleUpDownNode::SetStep (double newStep)
505505}
506506
507507NumericRangeNode::NumericRangeNode () :
508- NumericRangeNode (std::wstring (), NUIE ::Point ())
508+ NumericRangeNode (NE ::String (), NUIE ::Point ())
509509{
510510
511511}
512512
513- NumericRangeNode::NumericRangeNode (const std::wstring & name, const NUIE ::Point& position) :
513+ NumericRangeNode::NumericRangeNode (const NE ::String & name, const NUIE ::Point& position) :
514514 BasicUINode (name, position)
515515{
516516
@@ -541,12 +541,12 @@ NE::Stream::Status NumericRangeNode::Write (NE::OutputStream& outputStream) cons
541541}
542542
543543IntegerIncrementedNode::IntegerIncrementedNode () :
544- IntegerIncrementedNode (std::wstring (), NUIE ::Point ())
544+ IntegerIncrementedNode (NE ::String (), NUIE ::Point ())
545545{
546546
547547}
548548
549- IntegerIncrementedNode::IntegerIncrementedNode (const std::wstring & name, const NUIE ::Point& position) :
549+ IntegerIncrementedNode::IntegerIncrementedNode (const NE ::String & name, const NUIE ::Point& position) :
550550 NumericRangeNode (name, position)
551551{
552552
@@ -559,10 +559,10 @@ IntegerIncrementedNode::~IntegerIncrementedNode ()
559559
560560void IntegerIncrementedNode::Initialize ()
561561{
562- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" start" ), L" Start" , NE::ValuePtr (new NE::IntValue (0 )), NE ::OutputSlotConnectionMode::Single)));
563- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" step" ), L" Step" , NE::ValuePtr (new NE::IntValue (1 )), NE ::OutputSlotConnectionMode::Single)));
564- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" count" ), L" Count" , NE::ValuePtr (new NE::IntValue (10 )), NE ::OutputSlotConnectionMode::Single)));
565- RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), L" List" )));
562+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" start" ), NE::String ( L" Start" ) , NE::ValuePtr (new NE::IntValue (0 )), NE ::OutputSlotConnectionMode::Single)));
563+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" step" ), NE::String ( L" Step" ) , NE::ValuePtr (new NE::IntValue (1 )), NE ::OutputSlotConnectionMode::Single)));
564+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" count" ), NE::String ( L" Count" ) , NE::ValuePtr (new NE::IntValue (10 )), NE ::OutputSlotConnectionMode::Single)));
565+ RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), NE::String ( L" List" ) )));
566566}
567567
568568NE ::ValueConstPtr IntegerIncrementedNode::Calculate (NE ::EvaluationEnv& env) const
@@ -612,12 +612,12 @@ NE::Stream::Status IntegerIncrementedNode::Write (NE::OutputStream& outputStream
612612}
613613
614614DoubleIncrementedNode::DoubleIncrementedNode () :
615- DoubleIncrementedNode (std::wstring (), NUIE ::Point ())
615+ DoubleIncrementedNode (NE ::String (), NUIE ::Point ())
616616{
617617
618618}
619619
620- DoubleIncrementedNode::DoubleIncrementedNode (const std::wstring & name, const NUIE ::Point& position) :
620+ DoubleIncrementedNode::DoubleIncrementedNode (const NE ::String & name, const NUIE ::Point& position) :
621621 NumericRangeNode (name, position)
622622{
623623
@@ -630,10 +630,10 @@ DoubleIncrementedNode::~DoubleIncrementedNode ()
630630
631631void DoubleIncrementedNode::Initialize ()
632632{
633- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" start" ), L" Start" , NE::ValuePtr (new NE::DoubleValue (0.0 )), NE ::OutputSlotConnectionMode::Single)));
634- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" step" ), L" Step" , NE::ValuePtr (new NE::DoubleValue (1.0 )), NE ::OutputSlotConnectionMode::Single)));
635- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" count" ), L" Count" , NE::ValuePtr (new NE::IntValue (10 )), NE ::OutputSlotConnectionMode::Single)));
636- RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), L" List" )));
633+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" start" ), NE::String ( L" Start" ) , NE::ValuePtr (new NE::DoubleValue (0.0 )), NE ::OutputSlotConnectionMode::Single)));
634+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" step" ), NE::String ( L" Step" ) , NE::ValuePtr (new NE::DoubleValue (1.0 )), NE ::OutputSlotConnectionMode::Single)));
635+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" count" ), NE::String ( L" Count" ) , NE::ValuePtr (new NE::IntValue (10 )), NE ::OutputSlotConnectionMode::Single)));
636+ RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), NE::String ( L" List" ) )));
637637}
638638
639639NE ::ValueConstPtr DoubleIncrementedNode::Calculate (NE ::EvaluationEnv& env) const
@@ -683,12 +683,12 @@ NE::Stream::Status DoubleIncrementedNode::Write (NE::OutputStream& outputStream)
683683}
684684
685685DoubleDistributedNode::DoubleDistributedNode () :
686- DoubleDistributedNode (std::wstring (), NUIE ::Point ())
686+ DoubleDistributedNode (NE ::String (), NUIE ::Point ())
687687{
688688
689689}
690690
691- DoubleDistributedNode::DoubleDistributedNode (const std::wstring & name, const NUIE ::Point& position) :
691+ DoubleDistributedNode::DoubleDistributedNode (const NE ::String & name, const NUIE ::Point& position) :
692692 NumericRangeNode (name, position)
693693{
694694
@@ -701,10 +701,10 @@ DoubleDistributedNode::~DoubleDistributedNode ()
701701
702702void DoubleDistributedNode::Initialize ()
703703{
704- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" start" ), L" Start" , NE::ValuePtr (new NE::DoubleValue (0.0 )), NE ::OutputSlotConnectionMode::Single)));
705- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" end" ), L" End" , NE::ValuePtr (new NE::DoubleValue (1.0 )), NE ::OutputSlotConnectionMode::Single)));
706- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" count" ), L" Count" , NE::ValuePtr (new NE::IntValue (10 )), NE ::OutputSlotConnectionMode::Single)));
707- RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), L" List" )));
704+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" start" ), NE::String ( L" Start" ) , NE::ValuePtr (new NE::DoubleValue (0.0 )), NE ::OutputSlotConnectionMode::Single)));
705+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" end" ), NE::String ( L" End" ) , NE::ValuePtr (new NE::DoubleValue (1.0 )), NE ::OutputSlotConnectionMode::Single)));
706+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" count" ), NE::String ( L" Count" ) , NE::ValuePtr (new NE::IntValue (10 )), NE ::OutputSlotConnectionMode::Single)));
707+ RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), NE::String ( L" List" ) )));
708708}
709709
710710NE ::ValueConstPtr DoubleDistributedNode::Calculate (NE ::EvaluationEnv& env) const
@@ -755,12 +755,12 @@ NE::Stream::Status DoubleDistributedNode::Write (NE::OutputStream& outputStream)
755755}
756756
757757ListBuilderNode::ListBuilderNode () :
758- ListBuilderNode (std::wstring (), NUIE ::Point ())
758+ ListBuilderNode (NE ::String (), NUIE ::Point ())
759759{
760760
761761}
762762
763- ListBuilderNode::ListBuilderNode (const std::wstring & name, const NUIE ::Point& position) :
763+ ListBuilderNode::ListBuilderNode (const NE ::String & name, const NUIE ::Point& position) :
764764 BasicUINode (name, position)
765765{
766766
@@ -773,8 +773,8 @@ ListBuilderNode::~ListBuilderNode ()
773773
774774void ListBuilderNode::Initialize ()
775775{
776- RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" in" ), L" Input" , nullptr , NE ::OutputSlotConnectionMode::Multiple)));
777- RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), L" Output" )));
776+ RegisterUIInputSlot (NUIE::UIInputSlotPtr (new NUIE::UIInputSlot (NE::SlotId (" in" ), NE::String ( L" Input" ) , nullptr , NE ::OutputSlotConnectionMode::Multiple)));
777+ RegisterUIOutputSlot (NUIE::UIOutputSlotPtr (new NUIE::UIOutputSlot (NE::SlotId (" out" ), NE::String ( L" Output" ) )));
778778}
779779
780780NE ::ValueConstPtr ListBuilderNode::Calculate (NE ::EvaluationEnv& env) const
0 commit comments