Rosetta
Classes | Namespaces | Typedefs | Functions
format.hh File Reference
#include <ObjexxFCL/byte.fwd.hh>
#include <ObjexxFCL/ubyte.fwd.hh>
#include <ObjexxFCL/Fstring.fwd.hh>
#include <ObjexxFCL/string.functions.hh>
#include <algorithm>
#include <cmath>
#include <complex>
#include <iomanip>
#include <limits>
#include <string>
#include <sstream>

Classes

class  ObjexxFCL::format::Bite< T >
 
class  ObjexxFCL::format::Skip
 

Namespaces

 ObjexxFCL
 
 ObjexxFCL::format
 

Typedefs

typedef char * ObjexxFCL::format::cstring
 
typedef char const * ObjexxFCL::format::c_cstring
 

Functions

char const ObjexxFCL::format::SPACE (' ')
 
template<typename T >
std::istream & ObjexxFCL::format::operator>> (std::istream &stream, Bite< T > const &bite)
 Input a Bite from Stream. More...
 
bool ObjexxFCL::format::is_blank_string (std::string const &s)
 string is Blank? More...
 
template<typename T >
Bite< TObjexxFCL::format::bite (int const w, T &t)
 Width + Value Bite Maker. More...
 
template<typename T >
Bite< TObjexxFCL::format::bite (int const w, int const d, T &t)
 Width + Precision + Value Bite Maker. More...
 
Bite< bool > ObjexxFCL::format::bite (bool &t)
 bool Bite Maker: Take One Character More...
 
Bite< char > ObjexxFCL::format::bite (char &t)
 char Bite Maker: Take One Character More...
 
Bite< std::string > ObjexxFCL::format::bite (std::string &t)
 string Bite Maker: Take Rest of Line More...
 
Bite< Fstring > ObjexxFCL::format::bite (Fstring &t)
 Fstring Bite Maker: Take Length of Fstring. More...
 
std::istream & ObjexxFCL::format::operator>> (std::istream &stream, Skip const &skip)
 Input a Skip from Stream. More...
 
Skip ObjexxFCL::format::skip (int const w=1)
 Skip Maker. More...
 
std::istream & ObjexxFCL::format::skip (std::istream &stream)
 Skip Rest of Line and Line Terminator (Manipulator) More...
 
template<typename T >
std::string ObjexxFCL::format::SS (T const &t)
 Single-Spaced Format. More...
 
template<>
std::string ObjexxFCL::format::SS (bool const &t)
 Single-Spaced Format: bool Specialization. More...
 
template<>
std::string ObjexxFCL::format::SS (float const &t)
 Single-Spaced Format: float Specialization. More...
 
template<>
std::string ObjexxFCL::format::SS (double const &t)
 Single-Spaced Format: double Specialization. More...
 
template<>
std::string ObjexxFCL::format::SS (long double const &t)
 Single-Spaced Format: long double Specialization. More...
 
template<>
std::string ObjexxFCL::format::SS (std::complex< float > const &t)
 Single-Spaced Format: complex< float > Specialization. More...
 
template<>
std::string ObjexxFCL::format::SS (std::complex< double > const &t)
 Single-Spaced Format: complex< double > Specialization. More...
 
template<>
std::string ObjexxFCL::format::SS (std::complex< long double > const &t)
 Single-Spaced Format: complex< long double > Specialization. More...
 
template<typename T >
std::string ObjexxFCL::format::LJ (int const w, T const &t)
 Left-Justified Width-Specified Format. More...
 
template<typename T >
std::string ObjexxFCL::format::RJ (int const w, T const &t)
 Right-Justified Width-Specified Format. More...
 
std::string ObjexxFCL::format::A (int const w, char const c)
 char Format More...
 
std::string ObjexxFCL::format::A (char const c)
 char Format (Width==1) More...
 
std::string ObjexxFCL::format::A (int const w, c_cstring const s)
 cstring Format More...
 
std::string ObjexxFCL::format::A (c_cstring const s)
 cstring Format (Width of cstring) More...
 
std::string ObjexxFCL::format::A (int const w, std::string const &s)
 string Format More...
 
std::string const & ObjexxFCL::format::A (std::string const &s)
 string Format (Width of string) More...
 
std::string ObjexxFCL::format::A (int const w, Fstring const &s)
 Fstring Format. More...
 
std::string ObjexxFCL::format::A (Fstring const &s)
 Fstring Format (Width of Fstring) More...
 
std::string ObjexxFCL::format::X (int const w)
 Blank string. More...
 
std::string ObjexxFCL::format::space (int const w)
 Blank string. More...
 
std::string ObjexxFCL::format::repeat (int const w, char c)
 Blank string. More...
 
std::string ObjexxFCL::format::L (int const w, bool const &t)
 Logical Format. More...
 
std::string ObjexxFCL::format::L (bool const &t)
 Logical Format (Width==1) More...
 
template<typename T >
std::string ObjexxFCL::format::I (int const w, T const &t)
 Integer Format. More...
 
template<typename T >
std::string ObjexxFCL::format::I (int const w, int const m, T const &t)
 Integer Format with Minimum Digits. More...
 
std::string ObjexxFCL::format::E (int const w, int const d, float const &t)
 Exponential Format: float. More...
 
std::string ObjexxFCL::format::E (int const w, int const d, double const &t)
 Exponential Format: double. More...
 
std::string ObjexxFCL::format::E (int const w, int const d, long double const &t)
 Exponential Format: long double. More...
 
std::string ObjexxFCL::format::E (int const w, int const d, std::complex< float > const &t)
 Exponential Format: complex< float > More...
 
std::string ObjexxFCL::format::E (int const w, int const d, std::complex< double > const &t)
 Exponential Format: complex< double > More...
 
std::string ObjexxFCL::format::E (int const w, int const d, std::complex< long double > const &t)
 Exponential Format: complex< long double > More...
 
std::string ObjexxFCL::format::F (int const w, int const d, float const &t)
 Fixed Point Format: float. More...
 
std::string ObjexxFCL::format::F (int const w, int const d, double const &t)
 Fixed Point Format: double. More...
 
std::string ObjexxFCL::format::F (int const w, int const d, long double const &t)
 Fixed Point Format: long double. More...
 
std::string ObjexxFCL::format::F (int const w, int const d, std::complex< float > const &t)
 Fixed Point Format: complex< float > More...
 
std::string ObjexxFCL::format::F (int const w, int const d, std::complex< double > const &t)
 Fixed Point Format: complex< double > More...
 
std::string ObjexxFCL::format::F (int const w, int const d, std::complex< long double > const &t)
 Fixed Point Format: complex< long double > More...
 
std::string ObjexxFCL::format::G (int const w, int const d, float const &t)
 General Format: float. More...
 
std::string ObjexxFCL::format::G (int const w, int const d, double const &t)
 General Format: double. More...
 
std::string ObjexxFCL::format::G (int const w, int const d, long double const &t)
 General Format: long double. More...
 
std::string ObjexxFCL::format::G (int const w, int const d, std::complex< float > const &t)
 General Format: complex< float > More...
 
std::string ObjexxFCL::format::G (int const w, int const d, std::complex< double > const &t)
 General Format: complex< double > More...
 
std::string ObjexxFCL::format::G (int const w, int const d, std::complex< long double > const &t)
 General Format: complex< long double > More...
 
template<typename T >
std::string ObjexxFCL::format::SW (T const &t)
 Standard Width Format: Default Implementation. More...
 
template<>
std::string ObjexxFCL::format::SW (bool const &t)
 Standard Width Format: bool Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (byte const &t)
 Standard Width Format: byte Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (short int const &t)
 Standard Width Format: short Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (unsigned short int const &t)
 Standard Width Format: unsigned short Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (int const &t)
 Standard Width Format: int Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (unsigned int const &t)
 Standard Width Format: unsigned int Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (long int const &t)
 Standard Width Format: long int Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (unsigned long int const &t)
 Standard Width Format: unsigned long int Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (float const &t)
 Standard Width Format: float Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (double const &t)
 Standard Width Format: double Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (long double const &t)
 Standard Width Format: long double Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (std::complex< float > const &t)
 Standard Width Format: complex< float > Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (std::complex< double > const &t)
 Standard Width Format: complex< double > Specialization. More...
 
template<>
std::string ObjexxFCL::format::SW (std::complex< long double > const &t)
 Standard Width Format: complex< long double > Specialization. More...
 
std::ios_base & ObjexxFCL::format::general (std::ios_base &base)
 general: Manipulator to Turn Off scientific or fixed More...
 
std::string ObjexxFCL::format::nl_if (int const i, int const n)
 Newline utility for formatted output implied DO loop emulation. More...