Class BufferDictionary
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A mapping from file paths to `Buffer`_. Used to represent multiple files stored in memory.
public class BufferDictionary : RefBase, IDisposable
- Inheritance
-
BufferDictionary
- Implements
- Inherited Members
Constructors
BufferDictionary()
public BufferDictionary()
Methods
Clone()
public BufferDictionary Clone()
CloneObject()
protected override object CloneObject()
clear()
Clear the dictionary.
public virtual void clear()
contains(string)
Determine if the specified path is in the dictionary.
public virtual bool contains(string path)
Parameters
path
count()
Current file count.
public virtual int count()
remove(string)
Remove the specified path.
public virtual bool remove(string path)
Parameters
path
set(string, Buffer)
Set the `Buffer`_ for the specified path.
public virtual void set(string path, Buffer buffer)
Parameters
pathbuffer
tryGet(string)
Attempt to obtain the `Buffer`_ corresponding to the specified path.
public virtual Optional<Buffer> tryGet(string path)
Parameters
path