TermOx
Public Types | Public Attributes | List of all members
ox::Read_file< Char_t > Class Template Reference

Provides a filename Line_edit and button to emit a std::ifstream. More...

#include <read_file.hpp>

Inheritance diagram for ox::Read_file< Char_t >:
ox::detail::Read_file_widgets ox::Tuple< Layout_t, Widget_t >

Public Types

using Stream_t = std::basic_ifstream< Char_t >
 
- Public Types inherited from ox::Tuple< Layout_t, Widget_t >
using Parameters = std::tuple< typename Widget_t::Parameters... >
 

Public Attributes

sl::Signal< void(Stream_t &)> request
 
- Public Attributes inherited from ox::detail::Read_file_widgets
Buttonopen_btn = this->get<0>()
 
Tilebuffer = this->get<1>()
 
Line_editfilename_edit = this->get<2>()
 

Additional Inherited Members

- Public Member Functions inherited from ox::Tuple< Layout_t, Widget_t >
 Tuple ()
 Default construct each Widget.
 
 Tuple (typename Widget_t::Parameters... p)
 Construct each Widget with a Widget_t::Parameters object.
 
 Tuple (Tuple::Parameters p)
 Construct from a Tuple::Parameters object.
 
 Tuple (std::unique_ptr< Widget_t >... widget_ptrs)
 Move existing Widgets into a Tuple.
 
template<std::size_t Index>
auto get () -> auto &
 Get child by index.
 
template<std::size_t Index>
auto get () const -> auto const &
 Get child by index.
 

Detailed Description

template<typename Char_t = char>
class ox::Read_file< Char_t >

Provides a filename Line_edit and button to emit a std::ifstream.


The documentation for this class was generated from the following file: