ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::stream_n::noexcept_text_istream_t< char_T > 模板结构体 参考abstract
类 elc::defs::stream_n::noexcept_text_istream_t< char_T > 继承关系图:
[图例]
elc::defs::stream_n::noexcept_text_istream_t< char_T > 的协作图:
[图例]

Public 成员函数

virtual void unread (const char_T *buf, size_t size) noexcept override=0
 
virtual char_T peek () noexcept override
 
virtual char_T get () noexcept override
 
- Public 成员函数 继承自 elc::defs::stream_n::base_stream_t
virtual ~base_stream_t ()=default
 
- Public 成员函数 继承自 elc::defs::stream_n::noexcept_stream_t
virtual int_t seek (seek_type, int_t) noexcept override=0
 
virtual int_t tell () noexcept override
 
virtual bool seek_to (int_t) noexcept override=0
 
virtual void sync () noexcept override=0
 
virtual void flush () noexcept override=0
 
virtual void close () noexcept override=0
 
- Public 成员函数 继承自 elc::defs::stream_n::noexcept_not_unreadable_istream_t
virtual bool is_end () noexcept override=0
 
virtual bool waitting_for_data () noexcept override=0
 
virtual operator bool () noexcept override
 
- Public 成员函数 继承自 elc::defs::stream_n::noexcept_not_unreadable_text_istream_t< char_T >
virtual size_t read (char_T *buf, size_t size) noexcept override=0
 

额外继承的成员函数

- Public 类型 继承自 elc::defs::stream_n::text_stream_t< char_T >
typedef char_T char_type
 
typedef char_type data_type
 

详细描述

template<class char_T>
struct elc::defs::stream_n::noexcept_text_istream_t< char_T >

在文件 all_defs.cpp29023 行定义.

成员函数说明

◆ get()

template<class char_T >
virtual char_T elc::defs::stream_n::noexcept_text_istream_t< char_T >::get ( )
inlineoverridevirtualnoexcept

重载 elc::defs::stream_n::text_istream_t< char_T > .

在文件 all_defs.cpp29032 行定义.

29032 {
29033 char_T buf;
29034 const size_t size=this->read(&buf,1);
29035 if(size==0)return 0;
29036 return buf;
29037 }
constexpr size_t size(::size_t v)
constexpr T down_cast(U a) noexcept
向下转型至
virtual size_t read(char_T *buf, size_t size) noexcept override=0
函数调用图:

◆ peek()

template<class char_T >
virtual char_T elc::defs::stream_n::noexcept_text_istream_t< char_T >::peek ( )
inlineoverridevirtualnoexcept

重载 elc::defs::stream_n::text_istream_t< char_T > .

在文件 all_defs.cpp29025 行定义.

29025 {
29026 char_T buf;
29027 const size_t size=this->read(&buf,1);
29028 if(size==0)return 0;
29029 this->unread(&buf,1);
29030 return buf;
29031 }
virtual void unread(const char_T *buf, size_t size) noexcept override=0
函数调用图:

◆ unread()


该结构体的文档由以下文件生成: