VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
Utilities

Namespaces

namespace  ub_comparators
 
namespace  ub_math
 
namespace  ub_keys
 namespace for global Keys (e.g. for STL-maps)
 
namespace  ub_system
 

Classes

struct  ub_comparators::MemberInfo< T C::* >
 
struct  ub_comparators::MemberInfo< T(C::*)()>
 
struct  ub_comparators::MemberInfo< T(C::*)() const >
 
class  ub_comparators::MemComp< Ptr, Comp >
 
struct  ub_comparators::compareMethods< K, M, fct >
 
struct  ub_comparators::compareConstMethods< K, M, fct >
 
struct  ub_comparators::compareMember< K, M, Member >
 
struct  UbEqualTrait< T1, T2 >
 isUbEqual<T1,T2>(a,b) Compares the equality of values a and b. More...
 
struct  UbEqualTrait< T, T >
 
struct  UbEqualTrait< short, int >
 
struct  UbEqualTrait< short, long >
 
struct  UbEqualTrait< short, float >
 
struct  UbEqualTrait< short, double >
 
struct  UbEqualTrait< short, long double >
 
struct  UbEqualTrait< int, short >
 
struct  UbEqualTrait< int, long >
 
struct  UbEqualTrait< int, float >
 
struct  UbEqualTrait< int, double >
 
struct  UbEqualTrait< int, long double >
 
struct  UbEqualTrait< long, short >
 
struct  UbEqualTrait< long, int >
 
struct  UbEqualTrait< long, float >
 
struct  UbEqualTrait< long, double >
 
struct  UbEqualTrait< long, long double >
 
struct  UbEqualTrait< float, short >
 
struct  UbEqualTrait< float, int >
 
struct  UbEqualTrait< float, long >
 
struct  UbEqualTrait< float, double >
 
struct  UbEqualTrait< float, long double >
 
struct  UbEqualTrait< double, short >
 
struct  UbEqualTrait< double, int >
 
struct  UbEqualTrait< double, long >
 
struct  UbEqualTrait< double, float >
 
struct  UbEqualTrait< double, long double >
 
struct  UbEqualTrait< long double, short >
 
struct  UbEqualTrait< long double, int >
 
struct  UbEqualTrait< long double, long >
 
struct  UbEqualTrait< long double, float >
 
struct  UbEqualTrait< long double, double >
 
struct  UbEqual< T1, T2 >
 
class  UbException
 
class  UbFileInput
 
class  UbFileInputASCII
 
class  UbFileInputBinary
 
class  UbFileOutput
 
class  UbFileOutputASCII
 
class  UbFileOutputBinary
 
class  UbNegInfinity
 UbNegInfinity. More...
 
class  UbInfinity
 
class  ub_keys::Key2< T1, T2 >
 
class  ub_keys::Key3< T1, T2, T3 >
 
class  ub_keys::Key4< T1, T2, T3, T4 >
 
struct  UbLimits< T >
 
struct  UbLimits< unsigned char >
 
struct  UbLimits< char >
 
struct  UbLimits< signed char >
 
struct  UbLimits< wchar_t >
 
struct  UbLimits< unsigned short >
 
struct  UbLimits< short >
 
struct  UbLimits< unsigned int >
 
struct  UbLimits< int >
 
struct  UbLimits< unsigned long >
 
struct  UbLimits< long >
 
struct  UbLimits< float >
 
struct  UbLimits< double >
 
struct  UbLimits< long double >
 
class  UbLogger< OutputPolicy >
 C++ Logger. More...
 
class  Output2Stream
 Implementation of OutputPolicy) More...
 
class  UbLog
 
struct  ub_math::Epsilon< T >
 
struct  ub_math::Epsilon< double >
 
struct  ub_math::Epsilon< float >
 
struct  ub_math::Epsilon< long double >
 
struct  ub_math::Epsilon< int >
 
class  UbObservable
 Observable object. More...
 
class  UbObserver
 Observer. More...
 
class  UbRandom
 
class  UbScheduler
 A class implements scheduling. More...
 
class  UbScheduler::UbSchedule
 
struct  ub_system::ub_static_assert< true >
 
class  ub_system::IfThenElse< true, Ta, Tb >
 
class  ub_system::IfThenElse< false, Ta, Tb >
 
struct  ub_system::type2type< T >
 
struct  ub_system::select1st< Pair >
 
struct  ub_system::select2nd< Pair >
 
class  UbTypeOp< T >
 A class implements a tuple. More...
 
class  UbTypeOp< T const >
 
class  UbTypeOp< T & >
 
class  UbTypeOp< void >
 
class  UbDuo< T1, T2 >
 
class  UbDuo< A, UbDuo< B, C > >
 
class  UbDuoT< N, T >
 
class  UbDuoT< 1, UbDuo< A, B > >
 
class  UbDuoT< 2, UbDuo< A, B > >
 
class  UbDuoT< N, UbDuo< A, UbDuo< B, C > > >
 
class  UbDuoT< 1, UbDuo< A, UbDuo< B, C > > >
 
class  UbDuoT< 2, UbDuo< A, UbDuo< B, C > > >
 
class  DuoValue< N, T >
 
class  DuoValue< 1, UbDuo< A, B > >
 
class  DuoValue< 2, UbDuo< A, B > >
 
struct  DuoValue< N, UbDuo< A, UbDuo< B, C > > >
 
class  DuoValue< 1, UbDuo< A, UbDuo< B, C > > >
 
class  DuoValue< 2, UbDuo< A, UbDuo< B, C > > >
 
struct  UbDuo< A, void >
 
class  UbNullT
 
class  UbTuple< P1, P2, P3, P4, P5, P6, P7, P8 >
 A class implements a tuple. More...
 
class  UbTuple< P1, P2, UbNullT, UbNullT, UbNullT, UbNullT, UbNullT, UbNullT >
 
class  UbTuple< P1, UbNullT, UbNullT, UbNullT, UbNullT, UbNullT, UbNullT, UbNullT >
 

Macros

#define UB_FUNCTION   "(unknown)"
 UbException usage: UB_THROW( UbException("error message") ); UB_THROW( UbException(FILE, LINE,"error message") ); UB_THROW( UbException(FILE, LINE,UB_FUNCTION,"error message") ); UB_THROW( UbException(UB_EXARGS,"error") ); //same as above.
 
#define UB_EXARGS   __FILE__, __LINE__, UB_FUNCTION
 
#define UB_THROW(e)   throw e
 
#define UBLOG_MAX_LEVEL   logDEBUG5
 
#define UBLOG(level, logtext)
 
#define UBLOGML(level, multiline)
 
#define UBLOG2(level, stream, text)
 
#define UBLOG2ML(level, stream, multiline)
 
#define _QUOTEME(x)   #x
 
#define QUOTEME(x)   _QUOTEME(x)
 
#define UB_STATIC_ASSERT(expr)   static_cast<void>(sizeof(ub_system::ub_static_assert<expr>));
 

Typedefs

using UbSchedule = UbScheduler::UbSchedule
 
using UbTupleFloat2 = UbTuple< float, float >
 
using UbTupleFloat3 = UbTuple< float, float, float >
 
using UbTupleFloat4 = UbTuple< float, float, float, float >
 
using UbTupleFloat6 = UbTuple< float, float, float, float, float, float >
 
using UbTupleInt2 = UbTuple< int, int >
 
using UbTupleInt3 = UbTuple< int, int, int >
 
using UbTupleInt4 = UbTuple< int, int, int, int >
 
using UbTupleInt5 = UbTuple< int, int, int, int, int >
 
using UbTupleInt6 = UbTuple< int, int, int, int, int, int >
 
using UbTupleInt8 = UbTuple< int, int, int, int, int, int, int, int >
 
using UbTupleUInt8 = UbTuple< unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int >
 
using UbTupleDouble2 = UbTuple< double, double >
 
using UbTupleDouble3 = UbTuple< double, double, double >
 
using UbTupleDouble4 = UbTuple< double, double, double, double >
 
using UbTupleDouble6 = UbTuple< double, double, double, double, double, double >
 
using UbTupleStringDouble2 = UbTuple< std::string, double, double >
 
using UbTupleStringDouble3 = UbTuple< std::string, double, double, double >
 
using UbTupleStringInt3 = UbTuple< std::string, int, int, int >
 
using UbTupleShort4 = UbTuple< short, short, short, short >
 
using UbTupleBool3 = UbTuple< bool, bool, bool >
 
using UbTupleIntDouble2 = UbTuple< int, double, double >
 
using UbTupleIntBool = UbTuple< int, bool >
 

Enumerations

enum  LogLevel {
  logERROR , logWARNING , logINFO , logDEBUG ,
  logDEBUG1 , logDEBUG2 , logDEBUG3 , logDEBUG4 ,
  logDEBUG5
}
 

Functions

template<typename T1 , typename T2 >
bool specific_equal (const T1 &a, const T2 &b)
 
template<>
bool specific_equal< float, float > (const float &a, const float &b)
 
template<>
bool specific_equal< double, double > (const double &a, const double &b)
 
template<>
bool specific_equal< long double, long double > (const long double &a, const long double &b)
 
template<typename T1 , typename T2 >
bool isUbEqual (const T1 &a, const T2 &b)
 
std::ostreamoperator<< (std::ostream &os, const UbException &e)
 
template<typename T >
bool operator== (const UbNegInfinity &lhs, const T &rhs)
 
template<typename T >
bool operator== (const T &lhs, const UbNegInfinity &rhs)
 
template<typename T >
bool operator!= (const UbNegInfinity &lhs, const T &rhs)
 
template<typename T >
bool operator!= (const T &lhs, const UbNegInfinity &rhs)
 
template<typename T >
bool operator== (const UbInfinity &lhs, const T &rhs)
 Equality comparison between an Infinity object and a built-in data type.
 
template<typename T >
bool operator== (const T &lhs, const UbInfinity &rhs)
 
template<typename T >
bool operator!= (const UbInfinity &lhs, const T &rhs)
 
template<typename T >
bool operator!= (const T &lhs, const UbInfinity &rhs)
 
template<typename T1 , typename T2 >
std::ostreamoperator<< (std::ostream &os, UbDuo< T1, T2 > const &d1)
 
template<typename T1 , typename T2 , typename U1 , typename U2 >
bool operator== (UbDuo< T1, T2 > const &d1, UbDuo< U1, U2 > const &d2)
 
template<typename T1 , typename T2 , typename U1 , typename U2 >
bool operator!= (UbDuo< T1, T2 > const &d1, UbDuo< U1, U2 > const &d2)
 
template<typename T1 , typename T2 , typename U1 , typename U2 >
bool operator< (UbDuo< T1, T2 > const &d1, UbDuo< U1, U2 > const &d2)
 
template<typename T1 , typename T2 >
UbDuo< T1, T2 > makeUbDuo (T1 const &a, T2 const &b)
 
template<int N, typename A , typename B >
UbTypeOp< typenameUbDuoT< N, UbDuo< A, B > >::ResultT >::RefT val (UbDuo< A, B > &d)
 
template<int N, typename A , typename B >
UbTypeOp< typenameUbDuoT< N, UbDuo< A, B > >::ResultT >::RefConstT val (UbDuo< A, B > const &d)
 
template<typename T1 >
UbTuple< T1 > makeUbTuple (T1 const &a1)
 
template<typename T1 , typename T2 >
UbTuple< T1, T2 > makeUbTuple (T1 const &a1, T2 const &a2)
 
template<typename T1 , typename T2 , typename T3 >
UbTuple< T1, T2, T3makeUbTuple (T1 const &a1, T2 const &a2, T3 const &a3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
UbTuple< T1, T2, T3, T4makeUbTuple (T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
UbTuple< T1, T2, T3, T4, T5makeUbTuple (T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
UbTuple< T1, T2, T3, T4, T5, T6makeUbTuple (T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
UbTuple< T1, T2, T3, T4, T5, T6, T7makeUbTuple (T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
UbTuple< T1, T2, T3, T4, T5, T6, T7, T8makeUbTuple (T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7, T8 const &a8)
 
template<typename T >
UbTuple< T, T, T, T, T, T, T, TmakeUbTupleFromArray (const std::array< T, 8 > &array)
 
bool UbFileInputASCII::open (std::string filename) override
 
int UbFileInputASCII::readInteger () override
 
long long UbFileInputASCII::readLongLong ()
 
std::string UbFileInputASCII::getFileName () override
 
void UbFileInputASCII::skipLine () override
 
void UbFileInputASCII::readLine () override
 
std::string UbFileInputASCII::readStringLine () override
 
std::string UbFileInputASCII::readLineTill (char stop) override
 
std::string UbFileInputASCII::parseString () override
 
double UbFileInputASCII::readDouble () override
 
float UbFileInputASCII::readFloat () override
 
std::string UbFileInputASCII::readString () override
 
char UbFileInputASCII::readChar () override
 
std::size_t UbFileInputASCII::readSize_t () override
 
void UbFileInputASCII::setPosAfterLineWithString (const std::string &var) override
 
bool UbFileInputASCII::containsString (const std::string &var) override
 
int UbFileInputASCII::readIntegerAfterString (const std::string &var) override
 
double UbFileInputASCII::readDoubleAfterString (const std::string &var) override
 
std::string UbFileInputASCII::readStringAfterString (const std::string &var) override
 
bool UbFileInputASCII::readBoolAfterString (const std::string &var) override
 
bool UbFileInputASCII::readBool () override
 
bool UbFileInputBinary::open (std::string filename) override
 
int UbFileInputBinary::readInteger () override
 
std::size_t UbFileInputBinary::readSize_t () override
 
double UbFileInputBinary::readDouble () override
 
float UbFileInputBinary::readFloat () override
 
char UbFileInputBinary::readChar () override
 
std::string UbFileInputBinary::readString () override
 
bool UbFileInputBinary::readBool () override
 
void UbFileInputBinary::skipLine () override
 
void UbFileInputBinary::readLine () override
 
std::string UbFileInputBinary::readStringLine () override
 
std::string UbFileInputBinary::readLineTill (char stop) override
 
std::string UbFileInputBinary::parseString () override
 
bool UbFileInputBinary::containsString (const std::string &var) override
 
void UbFileInputBinary::setPosAfterLineWithString (const std::string &var) override
 
int UbFileInputBinary::readIntegerAfterString (const std::string &var) override
 
double UbFileInputBinary::readDoubleAfterString (const std::string &var) override
 
std::string UbFileInputBinary::readStringAfterString (const std::string &var) override
 
bool UbFileInputBinary::readBoolAfterString (const std::string &var) override
 
 UbFileOutputASCII::UbFileOutputASCII (const std::string &filename, CREATEOPTION opt, const bool &createPath=true, const int &precision=15)
 
bool UbFileOutputASCII::open (const std::string &filename, CREATEOPTION opt=OUTFILE) override
 
void UbFileOutputASCII::writeBool (const bool &value, const int &width=0) override
 
void UbFileOutputASCII::writeDouble (const double &value, const int &width=0) override
 
void UbFileOutputASCII::writeFloat (const float &value, const int &width=0) override
 
void UbFileOutputASCII::setPrecision (const int &precision) override
 
void UbFileOutputASCII::writeInteger (const int &value, const int &width=0) override
 
void UbFileOutputASCII::writeSize_t (const std::size_t &value, const int &width=0) override
 
void UbFileOutputASCII::writeChar (const char &value, const int &width=0) override
 
void UbFileOutputASCII::writeString (const std::string &value, const int &width=0) override
 
void UbFileOutputASCII::writeStringOnly (const std::string &value) override
 
void UbFileOutputASCII::writeLine () override
 
void UbFileOutputASCII::writeCopyOfFile (const std::string &filename) override
 
bool UbFileOutputBinary::open (const std::string &filename, UbFileOutput::CREATEOPTION opt=OUTFILE) override
 
void UbFileOutputBinary::writeBool (const bool &value, const int &width=0) override
 
void UbFileOutputBinary::writeDouble (const double &value, const int &width=0) override
 
void UbFileOutputBinary::writeFloat (const float &value, const int &width=0) override
 
void UbFileOutputBinary::setPrecision (const int &precision) override
 
int UbFileOutputBinary::getPrecision () override
 
void UbFileOutputBinary::writeInteger (const int &value, const int &width=0) override
 
void UbFileOutputBinary::writeSize_t (const std::size_t &value, const int &width=0) override
 
void UbFileOutputBinary::writeChar (const char &value, const int &width=0) override
 
void UbFileOutputBinary::writeString (const std::string &value, const int &width=0) override
 
void UbFileOutputBinary::writeStringOnly (const std::string &value) override
 
void UbFileOutputBinary::writeLine (const std::string &value, const int &width=0) override
 
void UbFileOutputBinary::writeLine () override
 
void UbFileOutputBinary::writeCopyOfFile (const std::string &filename) override
 
 UbLogger< OutputPolicy >::UbLogger ()
 
std::ostringstream & UbLogger< OutputPolicy >::get (const LogLevel &level=logINFO)
 
virtual UbLogger< OutputPolicy >::~UbLogger ()
 
static LogLevelUbLogger< OutputPolicy >::reportingLevel ()
 
static std::string UbLogger< OutputPolicy >::logLevelToString (const LogLevel &level)
 
static LogLevel UbLogger< OutputPolicy >::logLevelFromString (const std::string &level)
 
static std::string UbLogger< OutputPolicy >::logTimeString ()
 
static std::ostream *& Output2Stream::getStream ()
 
static void Output2Stream::setStream (std::ostream *pStream, const bool &gcControl=false)
 direct set outputstream, gcControl = true -> object will be deleted by Output2Stream
 
static void Output2Stream::setStream (const std::string &filename)
 creates output-file-stream (of file opening fails -> stream is set to std::cerr)
 
static void Output2Stream::output (const std::string &msg)
 

Detailed Description

Author
Soeren Freudiger, Sebastian Geller
Soeren Freudiger, Sebastian Geller, Jan Hegewald

Macro Definition Documentation

◆ _QUOTEME

#define _QUOTEME (   x)    #x

Definition at line 102 of file UbSystem.h.

◆ QUOTEME

#define QUOTEME (   x)    _QUOTEME(x)

Definition at line 103 of file UbSystem.h.

◆ UB_EXARGS

#define UB_EXARGS   __FILE__, __LINE__, UB_FUNCTION

Definition at line 73 of file UbException.h.

◆ UB_FUNCTION

#define UB_FUNCTION   "(unknown)"

UbException usage: UB_THROW( UbException("error message") ); UB_THROW( UbException(FILE, LINE,"error message") ); UB_THROW( UbException(FILE, LINE,UB_FUNCTION,"error message") ); UB_THROW( UbException(UB_EXARGS,"error") ); //same as above.

Definition at line 69 of file UbException.h.

◆ UB_STATIC_ASSERT

#define UB_STATIC_ASSERT (   expr)    static_cast<void>(sizeof(ub_system::ub_static_assert<expr>));

Definition at line 527 of file UbSystem.h.

◆ UB_THROW

#define UB_THROW (   e)    throw e

Definition at line 78 of file UbException.h.

◆ UBLOG

#define UBLOG (   level,
  logtext 
)
Value:
UbLog().get(level) << logtext; \
}
std::shared_ptr< T > SPtr
#define UBLOG_MAX_LEVEL
Definition UbLogger.h:320
static LogLevel & reportingLevel()
Definition UbLogger.h:165
static std::ostream *& getStream()
Definition UbLogger.h:263

Definition at line 326 of file UbLogger.h.

◆ UBLOG2

#define UBLOG2 (   level,
  stream,
  text 
)
Value:
; \
else { \
stream << text << std::endl; \
UbLog().get(level) << text; \
}

Definition at line 356 of file UbLogger.h.

◆ UBLOG2ML

#define UBLOG2ML (   level,
  stream,
  multiline 
)
Value:
; \
else { \
stream << multiline << std::endl; \
std::ostringstream output; \
output << multiline; \
std::istringstream input(output.str()); \
while (!input.eof()) { \
std::string dummy; \
UbLog().get(level) << dummy; \
} \
}

Definition at line 368 of file UbLogger.h.

◆ UBLOG_MAX_LEVEL

#define UBLOG_MAX_LEVEL   logDEBUG5

Definition at line 320 of file UbLogger.h.

◆ UBLOGML

#define UBLOGML (   level,
  multiline 
)
Value:
; \
else { \
std::ostringstream output; \
output << multiline; \
std::istringstream input(output.str()); \
while (!input.eof()) { \
std::string dummy; \
UbLog().get(level) << dummy; \
} \
}

Definition at line 336 of file UbLogger.h.

Typedef Documentation

◆ UbSchedule

Definition at line 326 of file UbScheduler.h.

◆ UbTupleBool3

Definition at line 629 of file UbTuple.h.

◆ UbTupleDouble2

Definition at line 621 of file UbTuple.h.

◆ UbTupleDouble3

Definition at line 622 of file UbTuple.h.

◆ UbTupleDouble4

Definition at line 623 of file UbTuple.h.

◆ UbTupleDouble6

◆ UbTupleFloat2

Definition at line 609 of file UbTuple.h.

◆ UbTupleFloat3

Definition at line 610 of file UbTuple.h.

◆ UbTupleFloat4

Definition at line 611 of file UbTuple.h.

◆ UbTupleFloat6

Definition at line 612 of file UbTuple.h.

◆ UbTupleInt2

Definition at line 613 of file UbTuple.h.

◆ UbTupleInt3

Definition at line 614 of file UbTuple.h.

◆ UbTupleInt4

Definition at line 615 of file UbTuple.h.

◆ UbTupleInt5

Definition at line 616 of file UbTuple.h.

◆ UbTupleInt6

Definition at line 617 of file UbTuple.h.

◆ UbTupleInt8

Definition at line 618 of file UbTuple.h.

◆ UbTupleIntBool

Definition at line 631 of file UbTuple.h.

◆ UbTupleIntDouble2

Definition at line 630 of file UbTuple.h.

◆ UbTupleShort4

Definition at line 628 of file UbTuple.h.

◆ UbTupleStringDouble2

◆ UbTupleStringDouble3

◆ UbTupleStringInt3

Definition at line 627 of file UbTuple.h.

◆ UbTupleUInt8

Enumeration Type Documentation

◆ LogLevel

Enumerator
logERROR 
logWARNING 
logINFO 
logDEBUG 
logDEBUG1 
logDEBUG2 
logDEBUG3 
logDEBUG4 
logDEBUG5 

Definition at line 53 of file UbLogger.h.

Function Documentation

◆ containsString() [1/2]

bool UbFileInputASCII::containsString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 159 of file UbFileInputASCII.cpp.

◆ containsString() [2/2]

bool UbFileInputBinary::containsString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 155 of file UbFileInputBinary.cpp.

◆ get()

template<typename OutputPolicy >
std::ostringstream & UbLogger< OutputPolicy >::get ( const LogLevel level = logINFO)

Definition at line 145 of file UbLogger.h.

◆ getFileName()

string UbFileInputASCII::getFileName ( )
overridevirtual

Reimplemented from UbFileInput.

Definition at line 76 of file UbFileInputASCII.cpp.

◆ getPrecision()

int UbFileOutputBinary::getPrecision ( )
overridevirtual

Implements UbFileOutput.

Definition at line 118 of file UbFileOutputBinary.cpp.

◆ getStream()

std::ostream *& Output2Stream::getStream ( )
inlinestatic

Definition at line 263 of file UbLogger.h.

◆ isUbEqual()

template<typename T1 , typename T2 >
bool isUbEqual ( const T1 &  a,
const T2 &  b 
)
inline

Definition at line 259 of file UbEqual.h.

◆ logLevelFromString()

template<typename OutputPolicy >
LogLevel UbLogger< OutputPolicy >::logLevelFromString ( const std::string &  level)
static

Definition at line 180 of file UbLogger.h.

◆ logLevelToString()

template<typename OutputPolicy >
std::string UbLogger< OutputPolicy >::logLevelToString ( const LogLevel level)
static

Definition at line 172 of file UbLogger.h.

◆ logTimeString()

template<typename OutputPolicy >
std::string UbLogger< OutputPolicy >::logTimeString ( )
inlinestatic

Definition at line 227 of file UbLogger.h.

◆ makeUbDuo()

template<typename T1 , typename T2 >
UbDuo< T1, T2 > makeUbDuo ( T1 const a,
T2 const b 
)
inline

Definition at line 223 of file UbTuple.h.

◆ makeUbTuple() [1/8]

template<typename T1 >
UbTuple< T1 > makeUbTuple ( T1 const a1)
inline

Definition at line 542 of file UbTuple.h.

◆ makeUbTuple() [2/8]

template<typename T1 , typename T2 >
UbTuple< T1, T2 > makeUbTuple ( T1 const a1,
T2 const a2 
)
inline

Definition at line 549 of file UbTuple.h.

◆ makeUbTuple() [3/8]

template<typename T1 , typename T2 , typename T3 >
UbTuple< T1, T2, T3 > makeUbTuple ( T1 const a1,
T2 const a2,
T3 const a3 
)
inline

Definition at line 556 of file UbTuple.h.

◆ makeUbTuple() [4/8]

template<typename T1 , typename T2 , typename T3 , typename T4 >
UbTuple< T1, T2, T3, T4 > makeUbTuple ( T1 const a1,
T2 const a2,
T3 const a3,
T4 const a4 
)
inline

Definition at line 563 of file UbTuple.h.

◆ makeUbTuple() [5/8]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
UbTuple< T1, T2, T3, T4, T5 > makeUbTuple ( T1 const a1,
T2 const a2,
T3 const a3,
T4 const a4,
T5 const a5 
)
inline

Definition at line 570 of file UbTuple.h.

◆ makeUbTuple() [6/8]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
UbTuple< T1, T2, T3, T4, T5, T6 > makeUbTuple ( T1 const a1,
T2 const a2,
T3 const a3,
T4 const a4,
T5 const a5,
T6 const a6 
)
inline

Definition at line 577 of file UbTuple.h.

◆ makeUbTuple() [7/8]

UbTuple< T1, T2, T3, T4, T5, T6, T7 > makeUbTuple ( T1 const a1,
T2 const a2,
T3 const a3,
T4 const a4,
T5 const a5,
T6 const a6,
T7 const a7 
)
inline

Definition at line 585 of file UbTuple.h.

◆ makeUbTuple() [8/8]

UbTuple< T1, T2, T3, T4, T5, T6, T7, T8 > makeUbTuple ( T1 const a1,
T2 const a2,
T3 const a3,
T4 const a4,
T5 const a5,
T6 const a6,
T7 const a7,
T8 const a8 
)
inline

Definition at line 593 of file UbTuple.h.

◆ makeUbTupleFromArray()

template<typename T >
UbTuple< T, T, T, T, T, T, T, T > makeUbTupleFromArray ( const std::array< T, 8 > &  array)
inline

Definition at line 601 of file UbTuple.h.

◆ open() [1/4]

bool UbFileOutputASCII::open ( const std::string &  filename,
CREATEOPTION  opt = OUTFILE 
)
overridevirtual

Implements UbFileOutput.

Definition at line 83 of file UbFileOutputASCII.cpp.

◆ open() [2/4]

bool UbFileOutputBinary::open ( const std::string &  filename,
UbFileOutput::CREATEOPTION  opt = OUTFILE 
)
overridevirtual

Implements UbFileOutput.

Definition at line 82 of file UbFileOutputBinary.cpp.

◆ open() [3/4]

bool UbFileInputASCII::open ( std::string  filename)
overridevirtual

Implements UbFileInput.

Definition at line 51 of file UbFileInputASCII.cpp.

◆ open() [4/4]

bool UbFileInputBinary::open ( std::string  filename)
overridevirtual

Implements UbFileInput.

Definition at line 46 of file UbFileInputBinary.cpp.

◆ operator!=() [1/5]

template<typename T >
bool operator!= ( const T lhs,
const UbInfinity rhs 
)
inline

Definition at line 193 of file UbInfinity.h.

◆ operator!=() [2/5]

template<typename T >
bool operator!= ( const T lhs,
const UbNegInfinity rhs 
)
inline

Definition at line 106 of file UbInfinity.h.

◆ operator!=() [3/5]

template<typename T >
bool operator!= ( const UbInfinity lhs,
const T rhs 
)
inline

Definition at line 187 of file UbInfinity.h.

◆ operator!=() [4/5]

template<typename T >
bool operator!= ( const UbNegInfinity lhs,
const T rhs 
)
inline

Definition at line 100 of file UbInfinity.h.

◆ operator!=() [5/5]

template<typename T1 , typename T2 , typename U1 , typename U2 >
bool operator!= ( UbDuo< T1, T2 > const d1,
UbDuo< U1, U2 > const d2 
)
inline

Definition at line 198 of file UbTuple.h.

◆ operator<()

template<typename T1 , typename T2 , typename U1 , typename U2 >
bool operator< ( UbDuo< T1, T2 > const d1,
UbDuo< U1, U2 > const d2 
)
inline

Definition at line 204 of file UbTuple.h.

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream os,
const UbException e 
)
inline

Definition at line 164 of file UbException.h.

◆ operator<<() [2/2]

template<typename T1 , typename T2 >
std::ostream & operator<< ( std::ostream os,
UbDuo< T1, T2 > const d1 
)

Definition at line 215 of file UbTuple.h.

◆ operator==() [1/5]

template<typename T >
bool operator== ( const T lhs,
const UbInfinity rhs 
)
inline

Definition at line 181 of file UbInfinity.h.

◆ operator==() [2/5]

template<typename T >
bool operator== ( const T lhs,
const UbNegInfinity rhs 
)
inline

Definition at line 94 of file UbInfinity.h.

◆ operator==() [3/5]

template<typename T >
bool operator== ( const UbInfinity lhs,
const T rhs 
)
inline

Equality comparison between an Infinity object and a built-in data type.

This operator works only for built-in data types. The attempt to compare user-defined class types will result in a compile time error.

Definition at line 175 of file UbInfinity.h.

◆ operator==() [4/5]

template<typename T >
bool operator== ( const UbNegInfinity lhs,
const T rhs 
)
inline

Definition at line 88 of file UbInfinity.h.

◆ operator==() [5/5]

template<typename T1 , typename T2 , typename U1 , typename U2 >
bool operator== ( UbDuo< T1, T2 > const d1,
UbDuo< U1, U2 > const d2 
)
inline

Definition at line 192 of file UbTuple.h.

◆ output()

void Output2Stream::output ( const std::string &  msg)
inlinestatic

Definition at line 300 of file UbLogger.h.

◆ parseString() [1/2]

string UbFileInputASCII::parseString ( )
overridevirtual

Implements UbFileInput.

Definition at line 105 of file UbFileInputASCII.cpp.

◆ parseString() [2/2]

string UbFileInputBinary::parseString ( )
overridevirtual

Implements UbFileInput.

Definition at line 150 of file UbFileInputBinary.cpp.

◆ readBool() [1/2]

bool UbFileInputASCII::readBool ( )
overridevirtual

Implements UbFileInput.

Definition at line 274 of file UbFileInputASCII.cpp.

◆ readBool() [2/2]

bool UbFileInputBinary::readBool ( )
overridevirtual

Implements UbFileInput.

Definition at line 110 of file UbFileInputBinary.cpp.

◆ readBoolAfterString() [1/2]

bool UbFileInputASCII::readBoolAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 260 of file UbFileInputASCII.cpp.

◆ readBoolAfterString() [2/2]

bool UbFileInputBinary::readBoolAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 180 of file UbFileInputBinary.cpp.

◆ readChar() [1/2]

char UbFileInputASCII::readChar ( )
overridevirtual

Implements UbFileInput.

Definition at line 133 of file UbFileInputASCII.cpp.

◆ readChar() [2/2]

char UbFileInputBinary::readChar ( )
overridevirtual

Implements UbFileInput.

Definition at line 85 of file UbFileInputBinary.cpp.

◆ readDouble() [1/2]

double UbFileInputASCII::readDouble ( )
overridevirtual

Implements UbFileInput.

Definition at line 112 of file UbFileInputASCII.cpp.

◆ readDouble() [2/2]

double UbFileInputBinary::readDouble ( )
overridevirtual

Implements UbFileInput.

Definition at line 71 of file UbFileInputBinary.cpp.

◆ readDoubleAfterString() [1/2]

double UbFileInputASCII::readDoubleAfterString ( const std::string &  var)
overridevirtual

strncmp(varname,line,sizeof(varname))==0

Implements UbFileInput.

Definition at line 204 of file UbFileInputASCII.cpp.

◆ readDoubleAfterString() [2/2]

double UbFileInputBinary::readDoubleAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 170 of file UbFileInputBinary.cpp.

◆ readFloat() [1/2]

float UbFileInputASCII::readFloat ( )
overridevirtual

Implements UbFileInput.

Definition at line 119 of file UbFileInputASCII.cpp.

◆ readFloat() [2/2]

float UbFileInputBinary::readFloat ( )
overridevirtual

Implements UbFileInput.

Definition at line 78 of file UbFileInputBinary.cpp.

◆ readInteger() [1/2]

int UbFileInputASCII::readInteger ( )
overridevirtual

Implements UbFileInput.

Definition at line 62 of file UbFileInputASCII.cpp.

◆ readInteger() [2/2]

int UbFileInputBinary::readInteger ( )
overridevirtual

Implements UbFileInput.

Definition at line 57 of file UbFileInputBinary.cpp.

◆ readIntegerAfterString() [1/2]

int UbFileInputASCII::readIntegerAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 174 of file UbFileInputASCII.cpp.

◆ readIntegerAfterString() [2/2]

int UbFileInputBinary::readIntegerAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 165 of file UbFileInputBinary.cpp.

◆ readLine() [1/2]

void UbFileInputASCII::readLine ( )
overridevirtual

Implements UbFileInput.

Definition at line 85 of file UbFileInputASCII.cpp.

◆ readLine() [2/2]

void UbFileInputBinary::readLine ( )
overridevirtual

Implements UbFileInput.

Definition at line 125 of file UbFileInputBinary.cpp.

◆ readLineTill() [1/2]

string UbFileInputASCII::readLineTill ( char  stop)
overridevirtual

Implements UbFileInput.

Definition at line 98 of file UbFileInputASCII.cpp.

◆ readLineTill() [2/2]

string UbFileInputBinary::readLineTill ( char  stop)
overridevirtual

Implements UbFileInput.

Definition at line 145 of file UbFileInputBinary.cpp.

◆ readLongLong()

long long UbFileInputASCII::readLongLong ( )

Definition at line 69 of file UbFileInputASCII.cpp.

◆ readSize_t() [1/2]

std::size_t UbFileInputASCII::readSize_t ( )
overridevirtual

Implements UbFileInput.

Definition at line 140 of file UbFileInputASCII.cpp.

◆ readSize_t() [2/2]

std::size_t UbFileInputBinary::readSize_t ( )
overridevirtual

Implements UbFileInput.

Definition at line 64 of file UbFileInputBinary.cpp.

◆ readString() [1/2]

string UbFileInputASCII::readString ( )
overridevirtual

Implements UbFileInput.

Definition at line 126 of file UbFileInputASCII.cpp.

◆ readString() [2/2]

string UbFileInputBinary::readString ( )
overridevirtual

Implements UbFileInput.

Definition at line 92 of file UbFileInputBinary.cpp.

◆ readStringAfterString() [1/2]

string UbFileInputASCII::readStringAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 232 of file UbFileInputASCII.cpp.

◆ readStringAfterString() [2/2]

string UbFileInputBinary::readStringAfterString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 175 of file UbFileInputBinary.cpp.

◆ readStringLine() [1/2]

string UbFileInputASCII::readStringLine ( )
overridevirtual

Implements UbFileInput.

Definition at line 91 of file UbFileInputASCII.cpp.

◆ readStringLine() [2/2]

string UbFileInputBinary::readStringLine ( )
overridevirtual

Implements UbFileInput.

Definition at line 133 of file UbFileInputBinary.cpp.

◆ reportingLevel()

template<typename OutputPolicy >
LogLevel & UbLogger< OutputPolicy >::reportingLevel ( )
static

Definition at line 165 of file UbLogger.h.

◆ setPosAfterLineWithString() [1/2]

void UbFileInputASCII::setPosAfterLineWithString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 147 of file UbFileInputASCII.cpp.

◆ setPosAfterLineWithString() [2/2]

void UbFileInputBinary::setPosAfterLineWithString ( const std::string &  var)
overridevirtual

Implements UbFileInput.

Definition at line 160 of file UbFileInputBinary.cpp.

◆ setPrecision() [1/2]

void UbFileOutputASCII::setPrecision ( const int precision)
overridevirtual

Implements UbFileOutput.

Definition at line 142 of file UbFileOutputASCII.cpp.

◆ setPrecision() [2/2]

void UbFileOutputBinary::setPrecision ( const int precision)
overridevirtual

Implements UbFileOutput.

Definition at line 116 of file UbFileOutputBinary.cpp.

◆ setStream() [1/2]

void Output2Stream::setStream ( const std::string &  filename)
inlinestatic

creates output-file-stream (of file opening fails -> stream is set to std::cerr)

Definition at line 285 of file UbLogger.h.

◆ setStream() [2/2]

void Output2Stream::setStream ( std::ostream *  pStream,
const bool gcControl = false 
)
inlinestatic

direct set outputstream, gcControl = true -> object will be deleted by Output2Stream

Definition at line 269 of file UbLogger.h.

◆ skipLine() [1/2]

void UbFileInputASCII::skipLine ( )
overridevirtual

Implements UbFileInput.

Definition at line 79 of file UbFileInputASCII.cpp.

◆ skipLine() [2/2]

void UbFileInputBinary::skipLine ( )
overridevirtual

Implements UbFileInput.

Definition at line 117 of file UbFileInputBinary.cpp.

◆ specific_equal()

template<typename T1 , typename T2 >
bool specific_equal ( const T1 &  a,
const T2 &  b 
)
inline

Definition at line 230 of file UbEqual.h.

◆ specific_equal< double, double >()

template<>
bool specific_equal< double, double > ( const double a,
const double b 
)
inline

Definition at line 245 of file UbEqual.h.

◆ specific_equal< float, float >()

template<>
bool specific_equal< float, float > ( const float a,
const float b 
)
inline

Definition at line 239 of file UbEqual.h.

◆ specific_equal< long double, long double >()

template<>
bool specific_equal< long double, long double > ( const long double a,
const long double b 
)
inline

Definition at line 251 of file UbEqual.h.

◆ UbFileOutputASCII()

UbFileOutputASCII::UbFileOutputASCII ( const std::string &  filename,
CREATEOPTION  opt,
const bool createPath = true,
const int precision = 15 
)

Definition at line 63 of file UbFileOutputASCII.cpp.

◆ UbLogger()

◆ val() [1/2]

template<int N, typename A , typename B >
UbTypeOp< typenameUbDuoT< N, UbDuo< A, B > >::ResultT >::RefT val ( UbDuo< A, B > &  d)
inline

Definition at line 381 of file UbTuple.h.

◆ val() [2/2]

template<int N, typename A , typename B >
UbTypeOp< typenameUbDuoT< N, UbDuo< A, B > >::ResultT >::RefConstT val ( UbDuo< A, B > const d)
inline

Definition at line 388 of file UbTuple.h.

◆ writeBool() [1/2]

void UbFileOutputASCII::writeBool ( const bool value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 101 of file UbFileOutputASCII.cpp.

◆ writeBool() [2/2]

void UbFileOutputBinary::writeBool ( const bool value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 101 of file UbFileOutputBinary.cpp.

◆ writeChar() [1/2]

void UbFileOutputASCII::writeChar ( const char value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 156 of file UbFileOutputASCII.cpp.

◆ writeChar() [2/2]

void UbFileOutputBinary::writeChar ( const char value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 130 of file UbFileOutputBinary.cpp.

◆ writeCopyOfFile() [1/2]

void UbFileOutputASCII::writeCopyOfFile ( const std::string &  filename)
overridevirtual

Implements UbFileOutput.

Definition at line 186 of file UbFileOutputASCII.cpp.

◆ writeCopyOfFile() [2/2]

void UbFileOutputBinary::writeCopyOfFile ( const std::string &  filename)
overridevirtual

Implements UbFileOutput.

Definition at line 193 of file UbFileOutputBinary.cpp.

◆ writeDouble() [1/2]

void UbFileOutputASCII::writeDouble ( const double value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 110 of file UbFileOutputASCII.cpp.

◆ writeDouble() [2/2]

void UbFileOutputBinary::writeDouble ( const double value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 106 of file UbFileOutputBinary.cpp.

◆ writeFloat() [1/2]

void UbFileOutputASCII::writeFloat ( const float value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 126 of file UbFileOutputASCII.cpp.

◆ writeFloat() [2/2]

void UbFileOutputBinary::writeFloat ( const float value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 111 of file UbFileOutputBinary.cpp.

◆ writeInteger() [1/2]

void UbFileOutputASCII::writeInteger ( const int value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 144 of file UbFileOutputASCII.cpp.

◆ writeInteger() [2/2]

void UbFileOutputBinary::writeInteger ( const int value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 120 of file UbFileOutputBinary.cpp.

◆ writeLine() [1/3]

void UbFileOutputASCII::writeLine ( )
overridevirtual

Implements UbFileOutput.

Definition at line 177 of file UbFileOutputASCII.cpp.

◆ writeLine() [2/3]

void UbFileOutputBinary::writeLine ( )
overridevirtual

Implements UbFileOutput.

Definition at line 172 of file UbFileOutputBinary.cpp.

◆ writeLine() [3/3]

void UbFileOutputBinary::writeLine ( const std::string &  value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 165 of file UbFileOutputBinary.cpp.

◆ writeSize_t() [1/2]

void UbFileOutputASCII::writeSize_t ( const std::size_t &  value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 150 of file UbFileOutputASCII.cpp.

◆ writeSize_t() [2/2]

void UbFileOutputBinary::writeSize_t ( const std::size_t &  value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 125 of file UbFileOutputBinary.cpp.

◆ writeString() [1/2]

void UbFileOutputASCII::writeString ( const std::string &  value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 162 of file UbFileOutputASCII.cpp.

◆ writeString() [2/2]

void UbFileOutputBinary::writeString ( const std::string &  value,
const int width = 0 
)
overridevirtual

Implements UbFileOutput.

Definition at line 135 of file UbFileOutputBinary.cpp.

◆ writeStringOnly() [1/2]

void UbFileOutputASCII::writeStringOnly ( const std::string &  value)
overridevirtual

Implements UbFileOutput.

Definition at line 168 of file UbFileOutputASCII.cpp.

◆ writeStringOnly() [2/2]

void UbFileOutputBinary::writeStringOnly ( const std::string &  value)
overridevirtual

Implements UbFileOutput.

Definition at line 160 of file UbFileOutputBinary.cpp.

◆ ~UbLogger()

template<typename OutputPolicy >
UbLogger< OutputPolicy >::~UbLogger ( )
virtual

Definition at line 158 of file UbLogger.h.