Public Member Functions | |
TekFileASCII () | |
~TekFileASCII () | |
virtual TEKERR | ReadLine (uchar_t **Buffer, unsigned long ReadMax)=0 |
virtual TEKERR | WriteLine (const uchar_t *Buffer)=0 |
virtual TEKERR | Close ()=0 |
virtual TEKERR | Flush ()=0 |
virtual TEKERR | get_FILE (FILE **FileDescriptor)=0 |
virtual TEKERR | get_Filename (uchar_t **Name)=0 |
virtual TEKERR | get_Mode (TekFileMode *ModeID)=0 |
virtual TEKERR | get_Type (TekFileType *FileTypePointer)=0 |
virtual TEKERR | Open ()=0 |
virtual TEKERR | Open64 ()=0 |
virtual TEKERR | put_FILE (FILE *FileDescriptor)=0 |
virtual TEKERR | put_Filename (uchar_t *Name)=0 |
virtual TEKERR | put_Mode (TekFileMode ModeID)=0 |
virtual TEKERR | Read64 (void *Buffer, uint64_t BytesToRead, uint64_t *BytesRead)=0 |
virtual TEKERR | Read (void *Buffer, unsigned long BytesToRead, unsigned long *BytesRead)=0 |
virtual TEKERR | Seek64 (TekFileSeek SeekWhere, int64_t NewLocation)=0 |
virtual TEKERR | Seek (TekFileSeek SeekWhere, signed long NewLocation)=0 |
virtual TEKERR | Write64 (void *Buffer, uint64_t BytesToWrite, uint64_t *BytesWrote)=0 |
virtual TEKERR | Write (void *Buffer, unsigned long BytesToWrite, unsigned long *BytesWrote)=0 |
virtual TEKERR | get_Location (unsigned long *Location)=0 |
virtual TEKERR | get_Location64 (uint64_t *Location)=0 |
Public Attributes | |
TEKSTD_HEADER_VARS |
This interface is INHERITABLE.
Definition at line 38 of file tekfileascii.h.
|
Instantizer. Definition at line 42 of file TekFileASCII.cpp. |
|
Destructor. Definition at line 48 of file TekFileASCII.cpp. |
|
Closes the file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 147 of file TekFileASCII.cpp. |
|
Flushes the buffer. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 169 of file TekFileASCII.cpp. |
|
Obtains the handle used to access the open file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 87 of file TekFileASCII.cpp. |
|
Obtains the filename in the form of a uchar. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 98 of file TekFileASCII.cpp. |
|
Retrieves the location. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 280 of file TekFileASCII.cpp. |
|
Retrieves the location and stores it in a 64-bit variable. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 292 of file TekFileASCII.cpp. |
|
Retrieves the mode currently set. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 158 of file TekFileASCII.cpp. |
|
Gets the file type. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 136 of file TekFileASCII.cpp. |
|
Open the file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 180 of file TekFileASCII.cpp. |
|
Open the file using 64 bit semantics. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 191 of file TekFileASCII.cpp. |
|
Sets the handle used to access a file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 114 of file TekFileASCII.cpp. |
|
Sets the filename to access. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 125 of file TekFileASCII.cpp. |
|
Sets the mode used to open the file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 202 of file TekFileASCII.cpp. |
|
Read from the file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 224 of file TekFileASCII.cpp. |
|
Read from the file using 64 bit semantics. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 213 of file TekFileASCII.cpp. |
|
Reads up to ReadMax characters from a file and puts it in a uchar_t. The Buffer can be an already-created uchar_t, or can be a pointer to a uchar_t* to store the new uchar_t in. NOTE: For optimization reasons, always let this function create the uchar_t for you. However, the same uchar_t can be passed in to this function without any problems. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 68 of file TekFileASCII.cpp. |
|
Seek to another position of the file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 246 of file TekFileASCII.cpp. |
|
Seek to another position of the file using 64 bit semantics. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 235 of file TekFileASCII.cpp. |
|
Write to the file. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 268 of file TekFileASCII.cpp. |
|
Write to the file using 64 bit semantics. Implements TekFile. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 257 of file TekFileASCII.cpp. |
|
Writes a ascii-part of a uchar_t to the file. Implemented in TekFileASCIIBare, and TekFileBZ2ASCII. Definition at line 78 of file TekFileASCII.cpp. |
|
This macro contains the generic implementation for TekStd. Reimplemented from TekFile. Reimplemented in TekFileASCIIBare. Definition at line 83 of file tekfileascii.h. |