13 #ifndef _IS_SDK_IS_LOG_FILE_BASE_H_ 14 #define _IS_SDK_IS_LOG_FILE_BASE_H_ 27 virtual bool open(
const char* filePath,
const char* mode) = 0;
28 virtual bool close() = 0;
29 virtual bool flush() = 0;
30 virtual bool good() = 0;
33 virtual int putch(
char ch) = 0;
34 virtual int puts(
const char* str) = 0;
35 virtual std::size_t
write(
const void* bytes, std::size_t len) = 0;
36 virtual int lprintf(
const char* format, ...) = 0;
37 virtual int vprintf(
const char* format, va_list
args) = 0;
39 virtual int getch() = 0;
40 virtual std::size_t
read(
void* bytes, std::size_t len) = 0;
44 #endif //_IS_SDK_IS_LOG_FILE_BASE_H_ virtual std::size_t read(void *bytes, std::size_t len)=0
virtual bool open(const char *filePath, const char *mode)=0
virtual int lprintf(const char *format,...)=0
virtual int putch(char ch)=0
virtual ~cISLogFileBase()
virtual int puts(const char *str)=0
virtual int vprintf(const char *format, va_list args)=0
virtual std::size_t write(const void *bytes, std::size_t len)=0
virtual bool isOpened()=0