All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Interface CATICkeTextSheet

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---KnowledgeInterfaces.CATICkeSheet
        |
        +---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 (tab) string2 etc
(n lines)
stringn (tab) stringn+1 etc
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 UpdateLocalCopy method (ancestor CATICkeSheet interface
method)

To create a CATICkeTextSheet, use the CATICkeParmFactory::CreateSheet method
with a text file path as argument

See also:
CATIDesignTable
See also:
CATICkeSheet


Method Index


o AddRow(CATListOfCATUnicodeString&,CATCke::Boolean,CATCke::Boolean)
This methods adds a row in the text file.

Methods


o AddRow
public virtual CATCke::Boolean AddRow(CATListOfCATUnicodeString& row,
CATCke::Boolean init,
CATCke::Boolean save) = 0
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 © 2003, Dassault Systèmes. All rights reserved.