\hypertarget{a00710_source}{}\doxysection{AAX\+\_\+\+String\+Utilities.\+h}
\label{a00710_source}\index{AAX\_StringUtilities.h@{AAX\_StringUtilities.h}}
\mbox{\hyperlink{a00710}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ Copyright\ 2014-\/2016,\ 2018,\ 2023-\/2024\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ This\ file\ is\ part\ of\ the\ Avid\ AAX\ SDK.}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ The\ AAX\ SDK\ is\ subject\ to\ commercial\ or\ open-\/source\ licensing.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ By\ using\ the\ AAX\ SDK,\ you\ agree\ to\ the\ terms\ of\ both\ the\ Avid\ AAX\ SDK\ License}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ \ Agreement\ and\ Avid\ Privacy\ Policy.}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ AAX\ SDK\ License:\ https://developer.avid.com/aax}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ Privacy\ Policy:\ https://www.avid.com/legal/privacy-\/policy-\/statement}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ \ Or:\ You\ may\ also\ use\ this\ code\ under\ the\ terms\ of\ the\ GPL\ v3\ (see}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ \ www.gnu.org/licenses).}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ \ THE\ AAX\ SDK\ IS\ PROVIDED\ "{}AS\ IS"{}\ WITHOUT\ ANY\ WARRANTY,\ AND\ ALL\ WARRANTIES,\ WHETHER}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ \ EXPRESSED\ OR\ IMPLIED,\ INCLUDING\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ PURPOSE,\ ARE}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ \ DISCLAIMED.}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00030\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#ifndef\ AAXLibrary\_AAX\_StringUtilities\_h}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ AAXLibrary\_AAX\_StringUtilities\_h}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{comment}{//\ AAX\ headers}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00542}{AAX.h}}"{}}}
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00446}{AAX\_Enums.h}}"{}}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \textcolor{comment}{//\ Standard\ Library\ headers}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02330}{AAX\_IString}};}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{00047\ \textcolor{preprocessor}{\#pragma\ mark\ Utility\ functions}}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00948}{AAX}}}
\DoxyCodeLine{00050\ \{}
\DoxyCodeLine{00051\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_aa3db8a743884054a6ac1ec2c2495e86f}{GetCStringOfLength}}(\textcolor{keywordtype}{char}\ *stringOut,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ stringIn,\ int32\_t\ aMaxChars);}
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keyword}{inline}\ int32\_t\ \ \ \ \ \ \mbox{\hyperlink{a00948_a5f092aff54cbd222fda57f5ea0a12189}{Caseless\_strcmp}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ cs,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ ct);}
\DoxyCodeLine{00053\ \ \ \ \ }
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a690ffc499da04ea963fff3bf8d6174fb}{Binary2String}}(uint32\_t\ binaryValue,\ int32\_t\ numBits);}
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keyword}{inline}\ uint32\_t\ \ \ \ \ \mbox{\hyperlink{a00948_a7b02e5d4a96f72213f0d1e4b52e13050}{String2Binary}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02330}{AAX\_IString}}\&\ s);}
\DoxyCodeLine{00056\ \ \ \ \ }
\DoxyCodeLine{00057\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_aa8ebc6a8ee1232c4ffec828bff3c2998}{IsASCII}}(\textcolor{keywordtype}{char}\ inChar);}
\DoxyCodeLine{00058\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_a00fbf59b268ca75214b2dad68be8ff77}{IsFourCharASCII}}(uint32\_t\ inFourChar);}
\DoxyCodeLine{00059\ \ \ \ \ }
\DoxyCodeLine{00060\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a22eda3cc42cb4ea2192b00bab7a69b02}{AsStringFourChar}}(uint32\_t\ inFourChar);}
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a1b3d4b5a967f01922963876447644b15}{AsStringPropertyValue}}(\mbox{\hyperlink{a00608_a13e384f22825afd3db6d68395b79ce0d}{AAX\_EProperty}}\ inProperty,\ \mbox{\hyperlink{a00542_ab247c0d8686c14e05cbb567ef276f249}{AAX\_CPropertyValue}}\ inPropertyValue);}
\DoxyCodeLine{00062\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_ab024a3d9ac9c68350b377b2c70ec4727}{AsStringInt32}}(int32\_t\ inInt32);}
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_ada4fd7cb0e04582a7615a76f6be7e404}{AsStringUInt32}}(uint32\_t\ inUInt32);}
\DoxyCodeLine{00064\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a89e00fcb44e30c443bebba0f026ef62a}{AsStringIDTriad}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01786}{AAX\_SPlugInIdentifierTriad}}\&\ inIDTriad);}
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a34d219233eb5c9836b837fa2a67150d1}{AsStringStemFormat}}(\mbox{\hyperlink{a00446_ad8af5ef008b2bd478add9a0acb0a1d85}{AAX\_EStemFormat}}\ inStemFormat,\ \textcolor{keywordtype}{bool}\ inAbbreviate\ =\ \textcolor{keyword}{false});}
\DoxyCodeLine{00066\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_adfab6bf193c09266ecec2069b8da0c5c}{AsStringStemChannel}}(\mbox{\hyperlink{a00446_ad8af5ef008b2bd478add9a0acb0a1d85}{AAX\_EStemFormat}}\ inStemFormat,\ uint32\_t\ inChannelIndex,\ \textcolor{keywordtype}{bool}\ inAbbreviate);}
\DoxyCodeLine{00067\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a354029650cebc5f23636c9984a65ea0d}{AsStringResult}}(\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult);}
\DoxyCodeLine{00068\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \ \mbox{\hyperlink{a00948_a6b6259d86dd0b9d92c2148473e5e36e6}{AsStringSupportLevel}}(\mbox{\hyperlink{a00446_aca7bf42860665d5da66f4ac342e761b3}{AAX\_ESupportLevel}}\ inSupportLevel);}
\DoxyCodeLine{00069\ \}\ \textcolor{comment}{//\ namespace\ AAX}}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00072\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\#pragma\ mark\ Implementation\ header}}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00075\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00569}{AAX\_StringUtilities.hpp}}"{}}}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00078\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ AAXLibrary\_AAX\_StringUtilities\_h\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
