KnowledgeInterfaces Interface CATICkeTextSheet
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICkeTextSheet
This interface is an encapsulation of an array of arrays (a sheet) of strings contained in a file.
The file has to be a tabulated text file. Its format has to be :
string1,1 | TAB | string1,2 | ... |
(n-2 lines) |
stringn,1 | TAB | stringn,2 | ... |
Empty strings are allowed, but not in the first row because the number of
columns is computed using the first row, except if you use the forceWidth
argument of the the method.
To create a CATICkeTextSheet, use the
method with a text file path as argument.
- See also:
- ,
Method Index
- o
AddRow(CATListOfCATUnicodeString&,CATCke::Boolean,CATCke::Boolean)
- This methods adds a row in the text file.
Methods
o AddRow
public virtual AddRow( | | row, |
| | init, |
| | save) |
-
This methods adds a row in the text file.
For vertical sheets, this method is much more effective than several calls to SetCell
- Parameters:
-
- row
- the list of strings to add at the end of the file.
- init
- opens the file if equal to CATCke::True
- save
- saves the file if equal to CATCke::True
- Returns:
- CATCke::True if the operations succeeds, CATCke::False else
This object is included in the file: CATICkeTextSheet.h
If needed, your Imakefile.mk should include the module: KnowledgeItf
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.