Rosetta 3.3
Classes | Namespaces | Functions
src/ObjexxFCL/Fstring.hh File Reference
#include <ObjexxFCL/Fstring.fwd.hh>
#include <ObjexxFCL/string.functions.hh>
#include <ObjexxFCL/TypeTraits.hh>
#include <cassert>
#include <cctype>
#include <cstddef>
#include <cstring>
#include <iomanip>
#include <iosfwd>
#include <sstream>
#include <string>

Classes

class  ObjexxFCL::Fstring
 Fstring: Fixed-Length Fortran-Compatible String. More...
class  ObjexxFCL::Fsubstring
 Fsubstring: Fixed-Length Fortran-Compatible Substring. More...

Namespaces

namespace  ObjexxFCL
 

Objexx Fortran Compatibility Library.


namespace  ObjexxFCL::Fortran

Functions

Fstring ObjexxFCL::operator+ (Fstring const &s, Fstring const &t)
 Fstring + Fstring.
std::string ObjexxFCL::operator+ (Fstring const &s, std::string const &t)
 Fstring + string.
std::string ObjexxFCL::operator+ (std::string const &t, Fstring const &s)
 string + Fstring
Fstring ObjexxFCL::operator+ (Fstring const &s, c_cstring const t)
 Fstring + cstring.
Fstring ObjexxFCL::operator+ (c_cstring const s, Fstring const &t)
 cstring + Fstring
Fstring ObjexxFCL::operator+ (Fstring const &s, char const c)
 Fstring + char.
Fstring ObjexxFCL::operator+ (char const c, Fstring const &s)
 char + Fstring
bool ObjexxFCL::operator== (Fstring const &s, Fstring const &t)
 Fstring == Fstring.
bool ObjexxFCL::operator!= (Fstring const &s, Fstring const &t)
 Fstring != Fstring.
bool ObjexxFCL::operator== (Fstring const &s, std::string const &t)
 Fstring == string.
bool ObjexxFCL::operator== (std::string const &t, Fstring const &s)
 string == Fstring
bool ObjexxFCL::operator!= (Fstring const &s, std::string const &t)
 Fstring != string.
bool ObjexxFCL::operator!= (std::string const &t, Fstring const &s)
 string != Fstring
bool ObjexxFCL::operator== (Fstring const &s, c_cstring const t)
 Fstring == cstring.
bool ObjexxFCL::operator== (c_cstring const t, Fstring const &s)
 cstring == Fstring
bool ObjexxFCL::operator!= (Fstring const &s, c_cstring const t)
 Fstring != cstring.
bool ObjexxFCL::operator!= (c_cstring const t, Fstring const &s)
 cstring != Fstring
bool ObjexxFCL::operator== (Fstring const &s, char const c)
 Fstring == char.
bool ObjexxFCL::operator== (char const c, Fstring const &s)
 char == Fstring
bool ObjexxFCL::operator!= (Fstring const &s, char const c)
 Fstring != char.
bool ObjexxFCL::operator!= (char const c, Fstring const &s)
 char != Fstring
bool ObjexxFCL::equali (Fstring const &s, Fstring const &t)
 Fstring == Fstring Case-Insensitively?
bool ObjexxFCL::equali (Fstring const &s, std::string const &t)
 Fstring == string Case-Insensitively?
bool ObjexxFCL::equali (std::string const &s, Fstring const &t)
 string == Fstring Case-Insensitively?
bool ObjexxFCL::equali (Fstring const &s, char const c)
 Fstring == char Case-Insensitively?
bool ObjexxFCL::equali (char const c, Fstring const &s)
 char == Fstring Case-Insensitively?
bool ObjexxFCL::equal (Fstring const &s, Fstring const &t, bool const exact_case)
 Fstring == Fstring Case-Optionally?
bool ObjexxFCL::equal (Fstring const &s, char const c, bool const exact_case)
 Fstring == char Case-Optionally?
bool ObjexxFCL::equal (char const c, Fstring const &s, bool const exact_case)
 char == Fstring Case-Optionally?
bool ObjexxFCL::operator<= (Fstring const &s, Fstring const &t)
 Fstring <= Fstring.
bool ObjexxFCL::operator< (Fstring const &s, Fstring const &t)
 Fstring < Fstring.
bool ObjexxFCL::operator>= (Fstring const &s, Fstring const &t)
 Fstring >= Fstring.
bool ObjexxFCL::operator> (Fstring const &s, Fstring const &t)
 Fstring > Fstring.
bool ObjexxFCL::operator<= (Fstring const &s, std::string const &t)
 Fstring <= string.
bool ObjexxFCL::operator< (Fstring const &s, std::string const &t)
 Fstring < string.
bool ObjexxFCL::operator>= (Fstring const &s, std::string const &t)
 Fstring >= string.
bool ObjexxFCL::operator> (Fstring const &s, std::string const &t)
 Fstring > string.
bool ObjexxFCL::operator<= (std::string const &s, Fstring const &t)
 string <= Fstring
bool ObjexxFCL::operator< (std::string const &s, Fstring const &t)
 string < Fstring
bool ObjexxFCL::operator>= (std::string const &s, Fstring const &t)
 string >= Fstring
bool ObjexxFCL::operator> (std::string const &s, Fstring const &t)
 string > Fstring
bool ObjexxFCL::operator<= (Fstring const &s, c_cstring const t)
 Fstring <= cstring.
bool ObjexxFCL::operator< (Fstring const &s, c_cstring const t)
 Fstring < cstring.
bool ObjexxFCL::operator>= (Fstring const &s, c_cstring const t)
 Fstring >= cstring.
bool ObjexxFCL::operator> (Fstring const &s, c_cstring const t)
 Fstring > cstring.
bool ObjexxFCL::operator<= (c_cstring const s, Fstring const &t)
 cstring <= Fstring
bool ObjexxFCL::operator< (c_cstring const s, Fstring const &t)
 cstring < Fstring
bool ObjexxFCL::operator>= (c_cstring const s, Fstring const &t)
 cstring >= Fstring
bool ObjexxFCL::operator> (c_cstring const s, Fstring const &t)
 cstring > Fstring
std::istream & ObjexxFCL::operator>> (std::istream &stream, Fstring &s)
 Stream Input.
std::istream & ObjexxFCL::get (std::istream &stream, Fstring &s)
 Get from Stream.
std::istream & ObjexxFCL::getline (std::istream &stream, Fstring &s)
 Get Line from Stream.
std::istream & ObjexxFCL::read (std::istream &stream, Fstring &s)
 Read from Stream.
std::istream & ObjexxFCL::readsome (std::istream &stream, Fstring &s)
 Read Available Characters from Stream.
std::ostream & ObjexxFCL::operator<< (std::ostream &stream, Fstring const &s)
 Stream Output.
template<>
bool ObjexxFCL::Fstring::is_type< std::string > () const
 Fstring is Readable as a string Supporting Stream Input?
template<>
std::string ObjexxFCL::Fstring::type_of< std::string > () const
 string of an Fstring
Fstring ObjexxFCL::Fortran::CHAR (int const i)
 One-Character Fstring of a Given ASCII Integer Value.
Fstring ObjexxFCL::Fortran::ACHAR (int const i)
 One-Character Fstring of a Given ASCII Integer Value.
int ObjexxFCL::ICHAR (Fstring const &s)
 Integer Value of a Given One-Character Fstring.
int ObjexxFCL::IACHAR (Fstring const &s)
 ASCII Integer Value of a Given One-Character Fstring.
Fstring::size_type ObjexxFCL::index (Fstring const &s, Fstring const &ss)
 First Index Position of a Substring in an Fstring.
Fstring::size_type ObjexxFCL::index (Fstring const &s, c_cstring const ss)
 First Index Position of a C-Substring in an Fstring.
Fstring::size_type ObjexxFCL::index (Fstring const &s, char const c)
 First Index Position of a Character in an Fstring.
Fstring::size_type ObjexxFCL::len (Fstring const &s)
 Length.
Fstring::size_type ObjexxFCL::len_trim (Fstring const &s)
 Length Space-Trimmed.
Fstring ObjexxFCL::trimmed (Fstring const &s)
 Space-Trimmed Copy.
bool ObjexxFCL::lge (Fstring const &s, Fstring const &t)
 ASCII Lexical >= Comparison.
bool ObjexxFCL::lgt (Fstring const &s, Fstring const &t)
 ASCII Lexical < Comparison.
bool ObjexxFCL::lle (Fstring const &s, Fstring const &t)
 ASCII Lexical <= Comparison.
bool ObjexxFCL::llt (Fstring const &s, Fstring const &t)
 ASCII Lexical < Comparison.
bool ObjexxFCL::is_blank (Fstring const &s)
 Fstring is Blank?
bool ObjexxFCL::not_blank (Fstring const &s)
 Fstring is Not Blank?
bool ObjexxFCL::has_any_of (Fstring const &s, Fstring const &t)
 Fstring Has Any Characters of a Set?
bool ObjexxFCL::has_any_of (Fstring const &s, c_cstring const t)
 Fstring Has Any Characters of a Set?
Fstring::size_type ObjexxFCL::last_index (Fstring const &s, Fstring const &ss)
 Last Index Position of a Substring in an Fstring.
Fstring::size_type ObjexxFCL::last_index (Fstring const &s, c_cstring const ss)
 Last Index Position of a Substring in an Fstring.
Fstring::size_type ObjexxFCL::last_index (Fstring const &s, char const c)
 Last Index Position of a Character in an Fstring.
Fstring & ObjexxFCL::lowercase (Fstring &s)
 Lowercase an Fstring.
Fstring & ObjexxFCL::uppercase (Fstring &s)
 Uppercase an Fstring.
void ObjexxFCL::str_dn (Fstring &s)
 Lowercase an Fstring.
void ObjexxFCL::str_up (Fstring &s)
 Uppercase an Fstring.
void ObjexxFCL::str_dncase (Fstring &s_out, Fstring const &s_in)
 Lowercased Copy in an Output Fstring.
void ObjexxFCL::str_upcase (Fstring &s_out, Fstring const &s_in)
 Uppercased Copy in an Output Fstring.
Fstring ObjexxFCL::ljust (Fstring const &s)
 Left-Justified Copy.
Fstring ObjexxFCL::rjust (Fstring const &s)
 Right-Justified Copy.
Fstring ObjexxFCL::compress (Fstring const &s)
 Compressed Copy.
Fstring ObjexxFCL::center (Fstring const &s)
 Centered Copy.
Fstring ObjexxFCL::lowercased (Fstring const &s)
 Lowercased Copy.
Fstring ObjexxFCL::uppercased (Fstring const &s)
 Uppercased Copy.
Fstring ObjexxFCL::dncase (Fstring const &s)
 Lowercased Copy.
Fstring ObjexxFCL::upcase (Fstring const &s)
 Uppercased Copy.
template<typename T >
Fstring ObjexxFCL::Fstring_of (T const &t)
 Fstring of a Template Argument Type Supporting Stream Output.
template<>
Fstring ObjexxFCL::Fstring_of< std::string > (std::string const &t)
 Fstring of a string Specialization.
template<typename T >
Fstring ObjexxFCL::Fstring_of (T const &t, int const p)
 Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
Fstring ObjexxFCL::left_Fstring_of (T const &t, int const w, char const f= ' ')
 Left-Justified Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
Fstring ObjexxFCL::right_Fstring_of (T const &t, int const w, char const f= ' ')
 Right-Justified Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
Fstring ObjexxFCL::lead_zero_Fstring_of (T const &t, int const w)
 Leading-Zero Right-Justified Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
Fstring ObjexxFCL::general_Fstring_of (T const &t, int const w=TypeTraits< T >::width(), int const p=TypeTraits< T >::precision())
 Right-Justified General Format Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
Fstring ObjexxFCL::fixed_Fstring_of (T const &t, int const w=TypeTraits< T >::width(), int const p=TypeTraits< T >::precision())
 Right-Justified Fixed Format Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
Fstring ObjexxFCL::scientific_Fstring_of (T const &t, int const w=TypeTraits< T >::width(), int const p=TypeTraits< T >::precision())
 Right-Justified Scientific Format Fstring of a Template Argument Type Supporting Stream Output.
template<typename T >
bool ObjexxFCL::is_type (Fstring const &s)
 Fstring is Readable as a Type Supporting Stream Input?
template<>
bool ObjexxFCL::is_type< std::string > (Fstring const &)
 Fstring is Readable as a string Supporting Stream Input?
template<>
bool ObjexxFCL::is_type< char > (Fstring const &s)
 Fstring is Readable as a char Supporting Stream Input?
bool ObjexxFCL::is_bool (Fstring const &s)
 Fstring is Readable as a bool?
bool ObjexxFCL::is_short (Fstring const &s)
 Fstring is Readable as a short int?
bool ObjexxFCL::is_int (Fstring const &s)
 Fstring is Readable as an int?
bool ObjexxFCL::is_long (Fstring const &s)
 Fstring is Readable as a long int?
bool ObjexxFCL::is_ushort (Fstring const &s)
 Fstring is Readable as a unsigned short int?
bool ObjexxFCL::is_uint (Fstring const &s)
 Fstring is Readable as an unsigned int?
bool ObjexxFCL::is_ulong (Fstring const &s)
 Fstring is Readable as a unsigned long int?
bool ObjexxFCL::is_float (Fstring const &s)
 Fstring is Readable as a float?
bool ObjexxFCL::is_double (Fstring const &s)
 Fstring is Readable as a double?
bool ObjexxFCL::is_longdouble (Fstring const &s)
 Fstring is Readable as a long double?
bool ObjexxFCL::is_char (Fstring const &s)
 Fstring is Readable as a char?
bool ObjexxFCL::is_string (Fstring const &)
 Fstring is Readable as a string?
template<typename T >
ObjexxFCL::type_of (Fstring const &s)
 Type of an Fstring for Type Supporting Stream Input.
template<>
std::string ObjexxFCL::type_of< std::string > (Fstring const &s)
 string of an Fstring
template<>
char ObjexxFCL::type_of< char > (Fstring const &s)
 char of an Fstring
short int ObjexxFCL::short_of (Fstring const &s)
 short int of an Fstring
int ObjexxFCL::int_of (Fstring const &s)
 int of an Fstring
long int ObjexxFCL::long_of (Fstring const &s)
 long int of an Fstring
unsigned short int ObjexxFCL::ushort_of (Fstring const &s)
 unsigned short int of an Fstring
unsigned int ObjexxFCL::uint_of (Fstring const &s)
 unsigned int of an Fstring
unsigned long int ObjexxFCL::ulong_of (Fstring const &s)
 unsigned long int of an Fstring
float ObjexxFCL::float_of (Fstring const &s)
 float of an Fstring
double ObjexxFCL::double_of (Fstring const &s)
 double of an Fstring
long double ObjexxFCL::longdouble_of (Fstring const &s)
 long double of an Fstring
char ObjexxFCL::char_of (Fstring const &s)
 char of an Fstring
std::string ObjexxFCL::string_of (Fstring const &s)
 string of an Fstring
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines