Xmipp  v3.23.11-Nereus
Public Types | Public Member Functions | List of all members
mrsrc::basic_streambuf< CharT, Traits > Class Template Reference
Inheritance diagram for mrsrc::basic_streambuf< CharT, Traits >:
Inheritance graph
[legend]
Collaboration diagram for mrsrc::basic_streambuf< CharT, Traits >:
Collaboration graph
[legend]

Public Types

typedef CharT char_type
 
typedef Traits traits_type
 
typedef traits_type::int_type int_type
 
typedef traits_type::pos_type pos_type
 
typedef traits_type::off_type off_type
 

Public Member Functions

 basic_streambuf (const std::string &path)
 constructor taking a path to the resource in memory More...
 
 basic_streambuf (const rsrc &rsrc)
 constructor taking a rsrc More...
 
 basic_streambuf (const basic_streambuf &)=delete
 
 basic_streambuf (basic_streambuf &&rhs)
 
basic_streambufoperator= (const basic_streambuf &)=delete
 
basic_streambufoperator= (basic_streambuf &&rhs)
 
void swap (basic_streambuf &rhs)
 

Detailed Description

template<typename CharT, typename Traits>
class mrsrc::basic_streambuf< CharT, Traits >

Definition at line 617 of file utilities.cpp.

Member Typedef Documentation

◆ char_type

template<typename CharT , typename Traits >
typedef CharT mrsrc::basic_streambuf< CharT, Traits >::char_type

Definition at line 620 of file utilities.cpp.

◆ int_type

template<typename CharT , typename Traits >
typedef traits_type::int_type mrsrc::basic_streambuf< CharT, Traits >::int_type

Definition at line 622 of file utilities.cpp.

◆ off_type

template<typename CharT , typename Traits >
typedef traits_type::off_type mrsrc::basic_streambuf< CharT, Traits >::off_type

Definition at line 624 of file utilities.cpp.

◆ pos_type

template<typename CharT , typename Traits >
typedef traits_type::pos_type mrsrc::basic_streambuf< CharT, Traits >::pos_type

Definition at line 623 of file utilities.cpp.

◆ traits_type

template<typename CharT , typename Traits >
typedef Traits mrsrc::basic_streambuf< CharT, Traits >::traits_type

Definition at line 621 of file utilities.cpp.

Constructor & Destructor Documentation

◆ basic_streambuf() [1/4]

template<typename CharT , typename Traits >
mrsrc::basic_streambuf< CharT, Traits >::basic_streambuf ( const std::string &  path)
inline

constructor taking a path to the resource in memory

Definition at line 627 of file utilities.cpp.

628  : m_rsrc(path)
629  {
630  init();
631  }

◆ basic_streambuf() [2/4]

template<typename CharT , typename Traits >
mrsrc::basic_streambuf< CharT, Traits >::basic_streambuf ( const rsrc rsrc)
inline

constructor taking a rsrc

Definition at line 634 of file utilities.cpp.

635  : m_rsrc(rsrc)
636  {
637  init();
638  }

◆ basic_streambuf() [3/4]

template<typename CharT , typename Traits >
mrsrc::basic_streambuf< CharT, Traits >::basic_streambuf ( const basic_streambuf< CharT, Traits > &  )
delete

◆ basic_streambuf() [4/4]

template<typename CharT , typename Traits >
mrsrc::basic_streambuf< CharT, Traits >::basic_streambuf ( basic_streambuf< CharT, Traits > &&  rhs)
inline

Definition at line 642 of file utilities.cpp.

643  : basic_streambuf(rhs.m_rsrc)
644  {
645  }
basic_streambuf(const std::string &path)
constructor taking a path to the resource in memory
Definition: utilities.cpp:627

Member Function Documentation

◆ operator=() [1/2]

template<typename CharT , typename Traits >
basic_streambuf& mrsrc::basic_streambuf< CharT, Traits >::operator= ( const basic_streambuf< CharT, Traits > &  )
delete

◆ operator=() [2/2]

template<typename CharT , typename Traits >
basic_streambuf& mrsrc::basic_streambuf< CharT, Traits >::operator= ( basic_streambuf< CharT, Traits > &&  rhs)
inline

Definition at line 649 of file utilities.cpp.

650  {
651  swap(rhs);
652  return *this;
653  }
void swap(basic_streambuf &rhs)
Definition: utilities.cpp:655

◆ swap()

template<typename CharT , typename Traits >
void mrsrc::basic_streambuf< CharT, Traits >::swap ( basic_streambuf< CharT, Traits > &  rhs)
inline

Definition at line 655 of file utilities.cpp.

656  {
657  std::swap(m_begin, rhs.m_begin);
658  std::swap(m_end, rhs.m_end);
659  std::swap(m_current, rhs.m_current);
660  }

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