Class BufferDictionary
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A map from file paths to `Buffer`_. Used to represent multiple files held in memory.
public class BufferDictionary : RefBase, IDisposable
- Inheritance
-
BufferDictionary
- Implements
- Inherited Members
Constructors
BufferDictionary()
public BufferDictionary()
Methods
Clone()
public BufferDictionary Clone()
Returns
CloneObject()
protected override object CloneObject()
Returns
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
Returns
count()
The current number of files.
public virtual int count()
Returns
remove(string)
Remove the specified path.
public virtual bool remove(string path)
Parameters
path
Returns
set(string, Buffer)
Set the `Buffer`_ corresponding to the specified path.
public virtual void set(string path, Buffer buffer)
Parameters
pathbuffer
tryGet(string)
Try to get the `Buffer`_ corresponding to the specified path.
public virtual Optional<Buffer> tryGet(string path)
Parameters
path