38261d0800
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines Signed-off-by: Steve Pham <spham@amazon.com>
71 lines
1.8 KiB
C++
71 lines
1.8 KiB
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <ScriptCanvas/Core/Node.h>
|
|
#include <ScriptCanvas/Internal/Nodes/StringFormatted.h>
|
|
|
|
#include <Include/ScriptCanvas/Libraries/String/Utilities.generated.h>
|
|
|
|
namespace ScriptCanvas
|
|
{
|
|
namespace Nodes
|
|
{
|
|
namespace String
|
|
{
|
|
//! Deprecated: see class String's reflection of method "Starts With"
|
|
class StartsWith
|
|
: public Node
|
|
{
|
|
public:
|
|
SCRIPTCANVAS_NODE(StartsWith);
|
|
};
|
|
|
|
//! Deprecated: see class String's reflection of method "Ends With"
|
|
class EndsWith
|
|
: public Node
|
|
{
|
|
public:
|
|
SCRIPTCANVAS_NODE(EndsWith);
|
|
};
|
|
|
|
//! Deprecated: see class String's reflection of method "Ends With"
|
|
class Split
|
|
: public Node
|
|
{
|
|
public:
|
|
|
|
SCRIPTCANVAS_NODE(Split);
|
|
|
|
void CustomizeReplacementNode(Node* replacementNode, AZStd::unordered_map<SlotId, AZStd::vector<SlotId>>& outSlotIdMap) const override;
|
|
|
|
protected:
|
|
|
|
static const char* k_defaultDelimiter;
|
|
};
|
|
|
|
//! Deprecated: see class String's reflection of method "Join"
|
|
class Join
|
|
: public Node
|
|
{
|
|
public:
|
|
|
|
SCRIPTCANVAS_NODE(Join);
|
|
|
|
void CustomizeReplacementNode(Node* replacementNode, AZStd::unordered_map<SlotId, AZStd::vector<SlotId>>& outSlotIdMap) const override;
|
|
|
|
protected:
|
|
|
|
static const char* k_defaultSeparator;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|