Interface ITextNCStorage
The auxiliary object that contains the output text files data and additional implements two important things:
Inherited Members
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public interface ITextNCStorage : INCStorage
Methods
AppendString(String)
Adds the specified string to the end fo this storage.
Declaration
void AppendString(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string to write. |
CutString(INCLabel, Int32)
Cuts from this storage the specified count of chars starting from the position defined by the pos label. The data located after the specified number of chars will be shifted closer to the pos position.
Declaration
string CutString(INCLabel pos, int charCount)
Parameters
Type | Name | Description |
---|---|---|
INCLabel | pos | The position from which the cutting should start. |
System.Int32 | charCount | The count of chars to cut. |
Returns
Type | Description |
---|---|
System.String | Returns an cutted string. |
PasteString(INCLabel, String)
Adds the specified string to this storage starting from the position defined by the pos label. Chars, located after the specified position, if such exist, will be shifted further (there will not be overwritten).
Declaration
void PasteString(INCLabel pos, string s)
Parameters
Type | Name | Description |
---|---|---|
INCLabel | pos | The position to which the data should be written. |
System.String | s | The string to write. |
ReadLine(INCLabel)
Reads from this storage the chars starting from the position defined by the pos label upto the end of line.
Declaration
string ReadLine(INCLabel pos)
Parameters
Type | Name | Description |
---|---|---|
INCLabel | pos | The position from which the reading should start. |
Returns
Type | Description |
---|---|
System.String | Returns a read string. |
ReadString(INCLabel, Int32)
Reads from this storage the specified count of chars starting from the position defined by the pos label.
Declaration
string ReadString(INCLabel pos, int charCount)
Parameters
Type | Name | Description |
---|---|---|
INCLabel | pos | The position from which the reading should start. |
System.Int32 | charCount | The count of chars to read. |
Returns
Type | Description |
---|---|
System.String | Returns a read string. |