libdl  0.0.1
Simple yet powerful deep learning
Loading...
Searching...
No Matches
dl::utils::basic_pipestream< CharT, Traits, Allocator > Class Template Reference
Inheritance diagram for dl::utils::basic_pipestream< CharT, Traits, Allocator >:
Collaboration diagram for dl::utils::basic_pipestream< CharT, Traits, Allocator >:

Public Member Functions

 basic_pipestream (const basic_pipestream< CharT, Traits, Allocator > &other)=delete
 
bool is_open () const noexcept
 
void close ()
 
- Public Member Functions inherited from std::basic_iostream
seekp (T... args)
 
setstate (T... args)
 
getloc (T... args)
 
precision (T... args)
 
width (T... args)
 
flags (T... args)
 
widen (T... args)
 
operator>> (T... args)
 
fill (T... args)
 
setf (T... args)
 
seekg (T... args)
 
good (T... args)
 
copyfmt (T... args)
 
tellp (T... args)
 
sync_with_stdio (T... args)
 
gcount (T... args)
 
~basic_iostream (T... args)
 
unget (T... args)
 
xalloc (T... args)
 
read (T... args)
 
getline (T... args)
 
eof (T... args)
 
exceptions (T... args)
 
register_callback (T... args)
 
operator<< (T... args)
 
narrow (T... args)
 
operator bool (T... args)
 
write (T... args)
 
sync (T... args)
 
putback (T... args)
 
basic_iostream (T... args)
 
ignore (T... args)
 
unsetf (T... args)
 
readsome (T... args)
 
rdstate (T... args)
 
tie (T... args)
 
move (T... args)
 
get (T... args)
 
operator! (T... args)
 
pword (T... args)
 
swap (T... args)
 
flush (T... args)
 
tellg (T... args)
 
set_rdbuf (T... args)
 
fail (T... args)
 
peek (T... args)
 
iword (T... args)
 
rdbuf (T... args)
 
imbue (T... args)
 
bad (T... args)
 
clear (T... args)
 
put (T... args)
 
init (T... args)
 

Detailed Description

template<class CharT, class Traits = std::char_traits<CharT>, typename Allocator = std::allocator<CharT>>
class dl::utils::basic_pipestream< CharT, Traits, Allocator >

Definition at line 82 of file pipe.hpp.

Constructor & Destructor Documentation

◆ basic_pipestream()

template<class CharT , class Traits = std::char_traits<CharT>, typename Allocator = std::allocator<CharT>>
dl::utils::basic_pipestream< CharT, Traits, Allocator >::basic_pipestream ( )
inlinenoexcept

Member Function Documentation

◆ close()

template<class CharT , class Traits = std::char_traits<CharT>, typename Allocator = std::allocator<CharT>>
void dl::utils::basic_pipestream< CharT, Traits, Allocator >::close ( )
inline

Definition at line 97 of file pipe.hpp.

97 {
98 if (buf.close() == nullptr)
99 this->setstate(std::ios_base::failbit);
100 }
T setstate(T... args)

◆ is_open()

template<class CharT , class Traits = std::char_traits<CharT>, typename Allocator = std::allocator<CharT>>
bool dl::utils::basic_pipestream< CharT, Traits, Allocator >::is_open ( ) const
inlinenoexcept

Definition at line 96 of file pipe.hpp.

96{ return buf.is_open(); }

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