{{a,1},{b,7}{c,22}}" />

DisplayClusterHelpers::str::ExtractMap

Extracts map value either from a command line string or any other line that matches the same format Example: extracting map value of param2 "param1=value1 param2="a:1,b:7,c:22" param3=value3" => {{a,1},{b,7}{c,22}}

Windows
MacOS
Linux

References

Module

DisplayCluster

Header

/Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Misc/DisplayClusterHelpers.h

Include

#include "Misc/DisplayClusterHelpers.h"

Syntax

namespace DisplayClusterHelpers
{
    namespace str
    {
        template<typename TKey, typename TVal>
        static bool DisplayClusterHelpers::str::ExtractMap
        (
            const FString & InLine,
            const FString & InParamName,
            TMap< TKey, TVal > & OutData,
            const FString & InPairSeparator,
            const FString & InKeyValSeparator
        )
    }
}

Remarks

Extracts map value either from a command line string or any other line that matches the same format Example: extracting map value of param2 "param1=value1 param2="a:1,b:7,c:22" param3=value3" => {{a,1},{b,7}{c,22}}

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss