Class BufferDictionary
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A mapping from file paths to `Buffer`_. Used to represent multiple files placed in memory.
public class BufferDictionary : RefBase, IDisposable
- Inheritance
-
BufferDictionary
- Implements
- Inherited Members
Constructors
BufferDictionary()
public BufferDictionary()
Methods
Clone()
public BufferDictionary Clone()
clear()
Clears the dictionary.
public virtual void clear()
contains(string)
Determines whether the specified path is in the dictionary.
public virtual bool contains(string path)
Parameters
path
count()
Current number of files.
public virtual int count()
remove(string)
Removes the specified path.
public virtual bool remove(string path)
Parameters
path
set(string, Buffer)
Sets the `Buffer`_ corresponding to the specified path.
public virtual void set(string path, Buffer buffer)
Parameters
pathbuffer
tryGet(string)
Attempts to get the `Buffer`_ corresponding to the specified path.
public virtual Optional<Buffer> tryGet(string path)
Parameters
path