3 #include "../stdlib/string.hpp" 4 #include "../stdlib/locker.hpp" 5 #include "../stdlib/noncopyable.hpp" 25 fstream* get_fstream(
void)
const;
32 time_t get_ctime(
void)
const;
40 bool write(
const void* data,
size_t len);
42 int vformat(
const char*
fmt, va_list ap);
51 int read(
void* buf,
size_t len);
58 const char*
key(
void)
const 69 return m_filePath.c_str();
132 bool create(
const char* home,
const char* queueName,
133 const char* extName,
unsigned width);
141 bool open(
const char* filePath);
142 bool open(
const char* home,
const char* queueName,
const char* queueSub,
143 const char* partName,
const char* extName);
162 bool move_file(
const char* queueName,
const char* extName);
168 void set_queueName(
const char* queueName);
173 void set_extName(
const char* extName);
195 char m_home[MAXPATH255];
198 char m_queueName[32];
204 char m_partName[MAXPATH255];
216 bool m_bLockerOpened;
#define ACL_CPP_PRINTF(format_idx, arg_idx)
size_t get_fileSize() const
ACL_API ACL_VSTRING const char * format
const char * get_extName(void) const
const char * get_home(void) const
const char * get_queueName(void) const
const char * get_filePath(void) const
const char * key(void) const
const char * get_queueSub(void) const
ACL_API void const char * fmt