Navigation
API > API/Developer > API/Developer/TraceServices > API/Developer/TraceServices/Common
References
| Module | TraceServices |
| Header | /Engine/Source/Developer/TraceServices/Public/Common/CachedStringStore.h |
| Include | #include "Common/CachedStringStore.h" |
Syntax
template<typename CharType>
class TCachedStringStore
Remarks
A deduplicating persistent string store. Allows users to store a string in a session and retrieve it at a given offset in consecutive sessions. The store uses analysis cache to store the strings. The store is not thread safe.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TCachedStringStore
(
const TCHAR* InCacheIdentifier, |
Create a persistent string store. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint64 | Get the total number of bytes used. Note that this does ot account for unused block space. | ||
| uint64 | GetOffsetOfString
(
const TCHAR* String |
Gets the offset of a string previously stored string. | |
| const CharType * | GetStringAtOffset
(
uint64 OffsetBytes |
Resolve an offset to a c string. | |
| uint32 | Num () |
Get the number of unique stored string. | |
| uint64 | Store_GetOffset
(
const CharType* String |
Store a string, get offset back. | |
| uint64 | Store_GetOffset
(
const StringViewType String |
Store a string, get offset back. | |
| const CharType * | Store_GetString
(
const CharType* String |
Store a string, get string back. | |
| const CharType * | Store_GetString
(
const StringViewType String |
Store a string, get string back. |
Typedefs
| Name | Description |
|---|---|
| StringViewType |
Constants
| Name | Description |
|---|---|
| BlockSize |