🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::KVParser类 参考
+ 类 ast::KVParser 继承关系图:

Public 类型

enum  EToken { eEqual , eAddEqual , eError , eEOF = EOF }
 

Public 成员函数

EToken getNext (BKVItemView &item)
 
- Public 成员函数 继承自 ast::BaseParser
 BaseParser (StringView filepath)
 
void open (StringView filepath)
 
bool isOpen () const
 
void close ()
 
void seek (std::streamoff pos, std::ios::seekdir dir)
 
std::streamoff tell ()
 
bool eof () const
 
size_t read (void *buffer, size_t size, size_t pos) const
 
StringView getLineWithNewline ()
 
StringView getLine ()
 
StringView getLineTrim ()
 
StringView getLineSkipHashComment ()
 
int getLineNumber ()
 
std::string getFilePath () const
 
void setBorrowedFile (FILE *file)
 
void setOwnedFile (FILE *file)
 
FILE * getFile () const
 

额外继承的成员函数

- Protected 属性 继承自 ast::BaseParser
FILE * file_ {nullptr}
 
bool fileBorrowed_ {false}
 
std::vector< char > lineBuffer_
 

该类的文档由以下文件生成: