Class BufferDictionary
- 命名空間
- easyar
- 組件
- EasyAR.Sense.dll
一個從文件路徑到 `Buffer`_ 的映射。用於表示多個放在記憶體中的文件。
public class BufferDictionary : RefBase, IDisposable
- 繼承
-
BufferDictionary
- 實作
- 繼承成員
建構函式
BufferDictionary()
public BufferDictionary()
方法
Clone()
public BufferDictionary Clone()
CloneObject()
protected override object CloneObject()
clear()
清空字典。
public virtual void clear()
contains(string)
確定指定路徑是否在字典中。
public virtual bool contains(string path)
參數
path
count()
當前文件數量。
public virtual int count()
remove(string)
移除指定的路徑。
public virtual bool remove(string path)
參數
path
set(string, Buffer)
設定指定路徑對應的 `Buffer`_ 。
public virtual void set(string path, Buffer buffer)
參數
pathbuffer
tryGet(string)
嘗試獲得指定路徑對應的 `Buffer`_ 。
public virtual Optional<Buffer> tryGet(string path)
參數
path