#include <TextBuffer.h>
Public Member Functions | |
inkcoreapi | textBuffer (int size) |
inkcoreapi | ~textBuffer () |
int | rawReadFromFile (int fd) |
int | readFromFD (int fd) |
inkcoreapi int | copyFrom (const void *, int num_bytes) |
void | reUse () |
inkcoreapi char * | bufPtr () |
int | spaceUsed () |
Definition at line 38 of file TextBuffer.h.
textBuffer::textBuffer | ( | int | size | ) |
Definition at line 35 of file TextBuffer.cc.
References ats_malloc().
textBuffer::~textBuffer | ( | ) |
Definition at line 55 of file TextBuffer.cc.
References ats_free().
char * textBuffer::bufPtr | ( | ) |
Definition at line 211 of file TextBuffer.cc.
Referenced by RecWriteConfigFile().
int textBuffer::copyFrom | ( | const void * | source, | |
int | num_bytes | |||
) |
int textBuffer::rawReadFromFile | ( | int | fd | ) |
Definition at line 150 of file TextBuffer.cc.
int textBuffer::readFromFD | ( | int | fd | ) |
Definition at line 182 of file TextBuffer.cc.
void textBuffer::reUse | ( | ) |
Definition at line 66 of file TextBuffer.cc.
Referenced by RecSyncConfigToTB().
int textBuffer::spaceUsed | ( | ) | [inline] |
Definition at line 48 of file TextBuffer.h.
Referenced by RecWriteConfigFile().