Public Member Functions | Private Member Functions | Private Attributes | List of all members
lexy_ext::shell< Prompt >::writer Class Reference

#include <shell.hpp>

Public Member Functions

writeroperator() (char_type c)
 
template<typename CharT , typename = std::enable_if_t<encoding::template is_secondary_char_type<CharT>()>>
writeroperator() (CharT c)
 
writeroperator() (const char_type *str)
 
writeroperator() (const char_type *str, std::size_t length)
 
template<typename CharT , typename = std::enable_if_t<encoding::template is_secondary_char_type<CharT>()>>
writeroperator() (const CharT *str)
 
template<typename CharT , typename = std::enable_if_t<encoding::template is_secondary_char_type<CharT>()>>
writeroperator() (const CharT *str, std::size_t length)
 
writeroperator() (lexy::lexeme_for< input > lexeme)
 
writeroperator= (const writer &)=delete
 
auto output_iterator ()
 
 writer (const writer &)=delete
 
 ~writer () noexcept
 

Private Member Functions

 writer (typename Prompt::write_message_callback &&writer)
 

Private Attributes

LEXY_EMPTY_MEMBER Prompt::write_message_callback _writer
 
friend shell
 

Detailed Description

template<typename Prompt = default_prompt<>>
class lexy_ext::shell< Prompt >::writer

Definition at line 256 of file shell.hpp.

Constructor & Destructor Documentation

◆ writer() [1/2]

template<typename Prompt = default_prompt<>>
lexy_ext::shell< Prompt >::writer::writer ( const writer )
delete

◆ ~writer()

template<typename Prompt = default_prompt<>>
lexy_ext::shell< Prompt >::writer::~writer ( )
inlinenoexcept

Definition at line 262 of file shell.hpp.

◆ writer() [2/2]

template<typename Prompt = default_prompt<>>
lexy_ext::shell< Prompt >::writer::writer ( typename Prompt::write_message_callback &&  writer)
inlineexplicitprivate

Definition at line 341 of file shell.hpp.

Member Function Documentation

◆ operator()() [1/7]

template<typename Prompt = default_prompt<>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( char_type  c)
inline

Definition at line 307 of file shell.hpp.

◆ operator()() [2/7]

template<typename Prompt = default_prompt<>>
template<typename CharT , typename = std::enable_if_t<encoding::template is_secondary_char_type<CharT>()>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( CharT  c)
inline

Definition at line 327 of file shell.hpp.

◆ operator()() [3/7]

template<typename Prompt = default_prompt<>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( const char_type str)
inline

Definition at line 299 of file shell.hpp.

◆ operator()() [4/7]

template<typename Prompt = default_prompt<>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( const char_type str,
std::size_t  length 
)
inline

Definition at line 294 of file shell.hpp.

◆ operator()() [5/7]

template<typename Prompt = default_prompt<>>
template<typename CharT , typename = std::enable_if_t<encoding::template is_secondary_char_type<CharT>()>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( const CharT *  str)
inline

Definition at line 321 of file shell.hpp.

◆ operator()() [6/7]

template<typename Prompt = default_prompt<>>
template<typename CharT , typename = std::enable_if_t<encoding::template is_secondary_char_type<CharT>()>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( const CharT *  str,
std::size_t  length 
)
inline

Definition at line 315 of file shell.hpp.

◆ operator()() [7/7]

template<typename Prompt = default_prompt<>>
writer& lexy_ext::shell< Prompt >::writer::operator() ( lexy::lexeme_for< input lexeme)
inline

Definition at line 332 of file shell.hpp.

◆ operator=()

template<typename Prompt = default_prompt<>>
writer& lexy_ext::shell< Prompt >::writer::operator= ( const writer )
delete

◆ output_iterator()

template<typename Prompt = default_prompt<>>
auto lexy_ext::shell< Prompt >::writer::output_iterator ( )
inline

Definition at line 267 of file shell.hpp.

Member Data Documentation

◆ _writer

template<typename Prompt = default_prompt<>>
LEXY_EMPTY_MEMBER Prompt::write_message_callback lexy_ext::shell< Prompt >::writer::_writer
private

Definition at line 345 of file shell.hpp.

◆ shell

template<typename Prompt = default_prompt<>>
friend lexy_ext::shell< Prompt >::writer::shell
private

Definition at line 347 of file shell.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19