Rosetta
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ObjexxFCL::format::Bite< T > Class Template Reference

#include <format.hh>

Public Member Functions

 Bite (int const w, T &t)
 Width + Value Constructor. More...
 
 Bite (int const w, int const d, T &t)
 Width + Precision + Value Constructor. More...
 
 ~Bite ()
 Destructor. More...
 

Private Member Functions

void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: Generic Implementation. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: byte Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: ubyte Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: Fstring Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: bool Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: byte Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: ubyte Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: char Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: signed char Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: unsigned char Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: short int Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: unsigned short int Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: int Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: unsigned int Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: long int Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: unsigned long int Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: float Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: double Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: long double Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: complex< float > Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: complex< double > Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: complex< long double > Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: string Specialization. More...
 
void assign (std::stringstream &ss) const
 Assign Stream Bite to Value: Fstring Specialization. More...
 

Private Attributes

int w_
 
int d_
 
Tt_
 

Friends

std::istream & operator>> (std::istream &stream, Bite const &bite)
 Input a Bite from Stream. More...
 

Constructor & Destructor Documentation

◆ Bite() [1/2]

template<typename T >
ObjexxFCL::format::Bite< T >::Bite ( int const  w,
T t 
)
inline

Width + Value Constructor.

◆ Bite() [2/2]

template<typename T >
ObjexxFCL::format::Bite< T >::Bite ( int const  w,
int const  d,
T t 
)
inline

Width + Precision + Value Constructor.

◆ ~Bite()

template<typename T >
ObjexxFCL::format::Bite< T >::~Bite ( )
inline

Destructor.

Member Function Documentation

◆ assign() [1/24]

void ObjexxFCL::format::Bite< byte >::assign ( std::stringstream &  ss) const
private

Assign Stream Bite to Value: byte Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [2/24]

void ObjexxFCL::format::Bite< ubyte >::assign ( std::stringstream &  ss) const
private

Assign Stream Bite to Value: ubyte Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [3/24]

void ObjexxFCL::format::Bite< Fstring >::assign ( std::stringstream &  ss) const
private

Assign Stream Bite to Value: Fstring Specialization.

References challenge::ss.

◆ assign() [4/24]

template<typename T >
void ObjexxFCL::format::Bite< T >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: Generic Implementation.

References challenge::ss, and ObjexxFCL::format::Bite< T >::t_.

◆ assign() [5/24]

void ObjexxFCL::format::Bite< bool >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: bool Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [6/24]

void ObjexxFCL::format::Bite< byte >::assign ( std::stringstream &  ss) const
private

Assign Stream Bite to Value: byte Specialization.

◆ assign() [7/24]

void ObjexxFCL::format::Bite< ubyte >::assign ( std::stringstream &  ss) const
private

Assign Stream Bite to Value: ubyte Specialization.

◆ assign() [8/24]

void ObjexxFCL::format::Bite< char >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: char Specialization.

References ObjexxFCL::format::is_blank_string(), ObjexxFCL::format::SPACE(), and challenge::ss.

◆ assign() [9/24]

void ObjexxFCL::format::Bite< signed char >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: signed char Specialization.

References ObjexxFCL::format::is_blank_string(), ObjexxFCL::format::SPACE(), and challenge::ss.

◆ assign() [10/24]

void ObjexxFCL::format::Bite< unsigned char >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: unsigned char Specialization.

References ObjexxFCL::format::is_blank_string(), ObjexxFCL::format::SPACE(), and challenge::ss.

◆ assign() [11/24]

void ObjexxFCL::format::Bite< short int >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: short int Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [12/24]

void ObjexxFCL::format::Bite< unsigned short int >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: unsigned short int Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [13/24]

void ObjexxFCL::format::Bite< int >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: int Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [14/24]

void ObjexxFCL::format::Bite< unsigned int >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: unsigned int Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [15/24]

void ObjexxFCL::format::Bite< long int >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: long int Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [16/24]

void ObjexxFCL::format::Bite< unsigned long int >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: unsigned long int Specialization.

References ObjexxFCL::format::is_blank_string(), and challenge::ss.

◆ assign() [17/24]

void ObjexxFCL::format::Bite< float >::assign ( std::stringstream &  ss) const
inlineprivate

◆ assign() [18/24]

void ObjexxFCL::format::Bite< double >::assign ( std::stringstream &  ss) const
inlineprivate

◆ assign() [19/24]

void ObjexxFCL::format::Bite< long double >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: long double Specialization.

References create_a3b_hbs::i, ObjexxFCL::format::is_blank_string(), ObjexxFCL::pow(), docking::s, challenge::ss, and ObjexxFCL::stripped().

◆ assign() [20/24]

void ObjexxFCL::format::Bite< std::complex< float > >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: complex< float > Specialization.

References ObjexxFCL::format::is_blank_string(), ObjexxFCL::pow(), and challenge::ss.

◆ assign() [21/24]

void ObjexxFCL::format::Bite< std::complex< double > >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: complex< double > Specialization.

References ObjexxFCL::format::is_blank_string(), ObjexxFCL::pow(), and challenge::ss.

◆ assign() [22/24]

void ObjexxFCL::format::Bite< std::complex< long double > >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: complex< long double > Specialization.

References ObjexxFCL::format::is_blank_string(), ObjexxFCL::pow(), and challenge::ss.

◆ assign() [23/24]

void ObjexxFCL::format::Bite< std::string >::assign ( std::stringstream &  ss) const
inlineprivate

Assign Stream Bite to Value: string Specialization.

References challenge::ss.

◆ assign() [24/24]

void ObjexxFCL::format::Bite< Fstring >::assign ( std::stringstream &  ss) const
private

Assign Stream Bite to Value: Fstring Specialization.

Friends And Related Function Documentation

◆ operator>>

template<typename T >
std::istream& operator>> ( std::istream &  stream,
Bite< T > const &  bite 
)
friend

Input a Bite from Stream.

Member Data Documentation

◆ d_

template<typename T >
int ObjexxFCL::format::Bite< T >::d_
private

◆ t_

template<typename T >
T& ObjexxFCL::format::Bite< T >::t_
private

◆ w_

template<typename T >
int ObjexxFCL::format::Bite< T >::w_
private

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