Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ContentIndexMap Class

    Namespace: Stride.Core.Serialization.Contents
    Assembly: Stride.Core.Serialization.dll
    System.Object → Store<System.Collections.Generic.KeyValuePair<System.String, ObjectId>> → DictionaryStore<System.String, ObjectId> → ContentIndexMap
    Derived from ContentIndexMap:

    public sealed class ContentIndexMap : DictionaryStore<string, ObjectId>, IContentIndexMap, IDisposable
    Name Description
    Methods
    CreateInMemory()
    GetMergedIdMap()
    GetTransactionIdMap()
    Load(String, Boolean)
    NewTool(String)
    ReadEntries(Stream)
    WriteEntry(Stream, KeyValuePair<String, ObjectId>)
    | Improve this Doc View Source

    Methods


    CreateInMemory()

    public static ContentIndexMap CreateInMemory()
    Returns
    Type Description
    ContentIndexMap

    GetMergedIdMap()

    public IEnumerable<KeyValuePair<string, ObjectId>> GetMergedIdMap()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ObjectId>>

    GetTransactionIdMap()

    public IEnumerable<KeyValuePair<string, ObjectId>> GetTransactionIdMap()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ObjectId>>

    Load(String, Boolean)

    public static ContentIndexMap Load(string indexFile, bool isReadOnly = false)
    Parameters
    Type Name Description
    System.String indexFile
    System.Boolean isReadOnly
    Returns
    Type Description
    ContentIndexMap

    NewTool(String)

    public static ContentIndexMap NewTool(string indexName)
    Parameters
    Type Name Description
    System.String indexName
    Returns
    Type Description
    ContentIndexMap

    ReadEntries(Stream)

    protected override List<KeyValuePair<string, ObjectId>> ReadEntries(Stream localStream)
    Parameters
    Type Name Description
    System.IO.Stream localStream
    Returns
    Type Description
    System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.String, ObjectId>>
    Overrides
    Stride.Core.IO.Store<System.Collections.Generic.KeyValuePair<System.String, Stride.Core.Storage.ObjectId>>.ReadEntries(System.IO.Stream)

    WriteEntry(Stream, KeyValuePair<String, ObjectId>)

    protected override void WriteEntry(Stream stream, KeyValuePair<string, ObjectId> value)
    Parameters
    Type Name Description
    System.IO.Stream stream
    System.Collections.Generic.KeyValuePair<System.String, ObjectId> value
    Overrides
    Stride.Core.IO.Store<System.Collections.Generic.KeyValuePair<System.String, Stride.Core.Storage.ObjectId>>.WriteEntry(System.IO.Stream, System.Collections.Generic.KeyValuePair<System.String, Stride.Core.Storage.ObjectId>)

    Inherited Members

    DictionaryStore<String, ObjectId>.loadedIdMap
    DictionaryStore<String, ObjectId>.unsavedIdMap
    DictionaryStore<String, ObjectId>.GetValues()
    DictionaryStore<String, ObjectId>.Contains(String)
    DictionaryStore<String, ObjectId>.Item[String]
    DictionaryStore<String, ObjectId>.TryGetValue(String, ObjectId)
    DictionaryStore<String, ObjectId>.SearchValues(Func<KeyValuePair<String, ObjectId>, Boolean>)
    DictionaryStore<String, ObjectId>.AddUnsaved(KeyValuePair<String, ObjectId>, Int32)
    DictionaryStore<String, ObjectId>.RemoveUnsaved(KeyValuePair<String, ObjectId>, Int32)
    DictionaryStore<String, ObjectId>.AddLoaded(KeyValuePair<String, ObjectId>)
    DictionaryStore<String, ObjectId>.GetPendingItems(Int32)
    DictionaryStore<String, ObjectId>.ResetInternal()
    Store<KeyValuePair<String, ObjectId>>.stream
    Store<KeyValuePair<String, ObjectId>>.transaction
    Store<KeyValuePair<String, ObjectId>>.lockObject
    Store<KeyValuePair<String, ObjectId>>.UseTransaction
    Store<KeyValuePair<String, ObjectId>>.AutoLoadNewValues
    Store<KeyValuePair<String, ObjectId>>.Dispose()
    Store<KeyValuePair<String, ObjectId>>.AddValues(IEnumerable<KeyValuePair<String, ObjectId>>)
    Store<KeyValuePair<String, ObjectId>>.AddValue(KeyValuePair<String, ObjectId>)
    Store<KeyValuePair<String, ObjectId>>.Save()
    Store<KeyValuePair<String, ObjectId>>.Reset()
    Store<KeyValuePair<String, ObjectId>>.ResetInternal()
    Store<KeyValuePair<String, ObjectId>>.LoadNewValues()
    Store<KeyValuePair<String, ObjectId>>.AddUnsaved(KeyValuePair<String, ObjectId>, Int32)
    Store<KeyValuePair<String, ObjectId>>.RemoveUnsaved(KeyValuePair<String, ObjectId>, Int32)
    Store<KeyValuePair<String, ObjectId>>.RemoveUnsaved(IEnumerable<KeyValuePair<String, ObjectId>>, Int32)
    Store<KeyValuePair<String, ObjectId>>.AddLoaded(KeyValuePair<String, ObjectId>)
    Store<KeyValuePair<String, ObjectId>>.GetPendingItems(Int32)
    Store<KeyValuePair<String, ObjectId>>.BuildContext(Stream)
    Store<KeyValuePair<String, ObjectId>>.ReadEntries(Stream)
    Store<KeyValuePair<String, ObjectId>>.WriteEntry(Stream, KeyValuePair<String, ObjectId>)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation