CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
Public 类型 | |
enum | CommentFlags { cpp_comment_style = 1 << 0 , xml_comment_style = 1 << 1 , bash_comment_style = 1 << 2 , all_comment_style = cpp_comment_style | xml_comment_style | bash_comment_style } |
Public 成员函数 | |
FileReader () | |
~FileReader () | |
int | LoadFileA (const char *filename_utf8) |
int | LoadFileW (const WCHAR *filename) |
int | LoadFile (const TCHAR *filename) |
void | FillData (const char *data, uint32_t len) |
DataBuffer | GetDataBuffer (BOOL skipBom=FALSE) const |
获得文件内容数据和长度信息 | |
void | ClearComments (UINT commentflags=CommentFlags::cpp_comment_style) |
清除注释 | |
静态 Public 成员函数 | |
static void | DataFrameLoadFileA (std::vector< std::vector< std::string > > &df, const char *filename_utf8, char split_ch) |
static void | SaveAsFile (const char *filepath, const char *data, int len) |
Protected 属性 | |
DataBuffer | m_buf |
BUI::FileReader::FileReader | ( | ) |
BUI::FileReader::~FileReader | ( | ) |
void BUI::FileReader::ClearComments | ( | UINT | commentflags = CommentFlags::cpp_comment_style | ) |
清除注释
|
static |
void BUI::FileReader::FillData | ( | const char * | data, |
uint32_t | len | ||
) |
int BUI::FileReader::LoadFile | ( | const TCHAR * | filename | ) |
int BUI::FileReader::LoadFileA | ( | const char * | filename_utf8 | ) |
int BUI::FileReader::LoadFileW | ( | const WCHAR * | filename | ) |
|
static |
|
protected |