Data Integrator (Python API)
Public Member Functions | Static Public Attributes | List of all members
cls.DefaultTable.CDefaultTableBase Class Reference

Base class for tab-separated file i/o. More...

Inheritance diagram for cls.DefaultTable.CDefaultTableBase:
Inheritance graph
[legend]
Collaboration diagram for cls.DefaultTable.CDefaultTableBase:
Collaboration graph
[legend]

Public Member Functions

def __init__ (s, ffn)
 Ctor. More...
 
def IsValid (s)
 Check if the object is ready for reading/writing. More...
 
def Close (s)
 Close the file object associated with the file name. More...
 

Static Public Attributes

 COL_SEP = CSV_SEP;
 
 QUOTING = csv.QUOTE_NONE;
 
string ESCAPE_CHAR = "\\";
 

Detailed Description

Base class for tab-separated file i/o.

Constructor & Destructor Documentation

◆ __init__()

def cls.DefaultTable.CDefaultTableBase.__init__ (   s,
  ffn 
)

Ctor.

    @param ffn  Full path file name. If it is set to '-', the standard
    input or output will be opened instead.

Reimplemented in cls.DefaultTable.CVcfTableReader, and cls.DefaultTable.CDefaultTableReader.

Member Function Documentation

◆ Close()

def cls.DefaultTable.CDefaultTableBase.Close (   s)

Close the file object associated with the file name.

    Closes the file object. If it used to be @c stdout, nothing happens.

◆ IsValid()

def cls.DefaultTable.CDefaultTableBase.IsValid (   s)

Check if the object is ready for reading/writing.

    After calling the constructor with the file name, this method reports
    if the file could be opened and thus the object is ready for reading
    or writing.
    @return @c True or @c False.

Member Data Documentation

◆ COL_SEP

cls.DefaultTable.CDefaultTableBase.COL_SEP = CSV_SEP;
static

◆ ESCAPE_CHAR

string cls.DefaultTable.CDefaultTableBase.ESCAPE_CHAR = "\\";
static

◆ QUOTING

cls.DefaultTable.CDefaultTableBase.QUOTING = csv.QUOTE_NONE;
static

The documentation for this class was generated from the following file: