Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common
Classes
| Type | Name | Description | |
|---|---|---|---|
| CNamed | Common parent class for objects with a name. Used for identifying, sorting, etc. | ||
| CSymbol | Symbol representing a text string with an associated id. | ||
| CSymbolTable | Database keeping track of symbols and their text equivalent. | ||
| CUnicode | Helper class providing useful unicode functionality. | ||
| CUTF8StringView | |||
| SIdxRange | Specifies a range using both beginning and ending indexes. | ||
| STextPosition | Position in a text document/string expressed as zero-based row/line and zero-based column/character offset. | ||
| STextRange | A range in a text document/string expressed as (zero-based) begin and end row/column. | ||
| SUniCodePointLength | Pair of code point and its length in bytes in UTF-8. | ||
| SUTF8CodePoint | |||
| TUTF8String | Simple string class, used mostly for string storage Implements null termination, so can be used as a C-style string (via operator *) The AllocatorType must provide the methods void * Allocate(size_t) and void Deallocate(void *) | ||
| TUTF8StringBuilder | String builder class Used to modify and manipulate strings |
Constants
| Name | Description |
|---|---|
| uLang::DefaultIndentCString | Indent defaults. |
| uLang::DefaultIndentCStringByteCount | |
| uLang::DefaultIndentEffectiveSpaceCount | |
| uLang::DefaultIndentString |
Typedefs
| Name | Description |
|---|---|
| CUTF8String | A string allocated on the heap. |
| CUTF8StringA | A string allocated using a given allocator instance. |
| CUTF8StringBuilder | A string allocated on the heap. |
| CUTF8StringBuilderA | A string allocated using a given allocator instance. |
| SymbolId | A unique id representing a symbol. |
| UniCodePoint | UTF-32 character / code point. |
| UTF8Char | UTF-8 octet. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| uLang:: | The id of the empty string, hardcoded to a fixed value. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| CUTF8String | uLang::CppMangling::Demangle
(
const CUTF8StringView& StringView |
||
| CUTF8String | uLang::CppMangling::Mangle
(
const CUTF8StringView& StringView |
||
| void | uLang::FilePathUtils::ForeachPartOfPath
(
const CUTF8StringView& Path, |
Invoke a lambda with each part of a path from left to right Slashes at either begin or end of path, as well as double slashes, will result in an invocation with an empty part | |
| CUTF8String | uLang::FindLongestCommonPrefix
(
const TArray< CUTF8String > Strings |
||
| ULANG_FORCEINLINE uint32_t | uLang::GetTypeHash
(
const TUTF8String< AllocatorType, AllocatorArgsType... >& String |
Hash function for maps, sets. | |
| ULANG_FORCEINLINE uint32_t | uLang::GetTypeHash
(
const CUTF8StringView& String |
Hash function for maps, sets. | |
| CUTF8String | uLang::VerseStringEscaping::EscapeString
(
const CUTF8StringView& StringView |
Variables
| Type | Name | Description | |
|---|---|---|---|
| size_t | ASCII_RANGE | ASCII Character range is from 0 to 127 so any byte less than this is a valid ASCII character. | |
| size_t | BYTE_RANGE |