|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Interface for all implementations of read-only character buffer. Classes that implement this interface are used e.g. in string parsing and output data formatters. More...
Inheritance diagram for IG.Lib.ICharacterBufferReadOnly:Public Member Functions | |
| int | EnsureCapacity (int minCapacity) |
| Ensures that the buffer's current capacity is at least the specified number of bytes. More... | |
| string | ToString () |
| Saves buffer contents to string and returns it. More... | |
| void | Save (string filePath, bool append) |
| Saves buffer contents to a text file. More... | |
| void | Save (string filePath) |
| Saves buffer contents to a text file. If the file already exists then it is overwritten. More... | |
Properties | |
| int | Length [get, set] |
| Current length of the buffer or object represented by the buffer. More... | |
| int | Capacity [get, set] |
| Buffer current capacity. More... | |
| char | this[int index] [get] |
| Character with the specified index. More... | |
Interface for all implementations of read-only character buffer. Classes that implement this interface are used e.g. in string parsing and output data formatters.
$A Igor Feb09;
| int IG.Lib.ICharacterBufferReadOnly.EnsureCapacity | ( | int | minCapacity | ) |
Ensures that the buffer's current capacity is at least the specified number of bytes.
| minCapacity | Minimal capacity to be ensured. |
Implemented in IG.Lib.CharacterBuffer.
| string IG.Lib.ICharacterBufferReadOnly.ToString | ( | ) |
Saves buffer contents to string and returns it.
Implemented in IG.Lib.CharacterBuffer.
| void IG.Lib.ICharacterBufferReadOnly.Save | ( | string | filePath, |
| bool | append | ||
| ) |
Saves buffer contents to a text file.
| filePath | Path of the file where buffer is stored. |
| append | Whether the file is appended. If true and if the file already exists then buffer contents are appended at the end of the file. |
Implemented in IG.Lib.CharacterBuffer.
| void IG.Lib.ICharacterBufferReadOnly.Save | ( | string | filePath | ) |
Saves buffer contents to a text file. If the file already exists then it is overwritten.
| filePath | Path of the file where buffer is stored. |
Implemented in IG.Lib.CharacterBuffer.
|
getset |
Current length of the buffer or object represented by the buffer.
|
getset |
Buffer current capacity.
|
get |
Character with the specified index.