You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/EMotionFX/Code/MCore/Source/StringConversions.h

39 lines
1.2 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 <AzCore/std/functional.h>
#include <AzCore/Math/MathStringConversions.h>
#include <AzCore/std/string/string.h>
#include <AzFramework/StringFunc/StringFunc.h>
namespace MCore
{
AZStd::string GenerateUniqueString(const char* prefix, const AZStd::function<bool(const AZStd::string& value)>& validationFunction);
AZStd::string ConstructStringSeparatedBySemicolons(const AZStd::vector<AZStd::string>& stringVec);
class CharacterConstants
{
public:
static const char space = ' ';
static const char tab = '\t';
static const char endLine = '\n';
static const char comma = ',';
static const char dot = '.';
static const char backSlash = '\\';
static const char forwardSlash = '/';
static const char semiColon = ';';
static const char colon = ':';
static const char doubleQuote = '\"';
static const char dash = '-';
static const char* wordSeparators;
};
}