Table of Contents

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)

参数

path
buffer

tryGet(string)

尝试获得指定路径对应的 `Buffer`_ 。

public virtual Optional<Buffer> tryGet(string path)

参数

path