The fuzzylite class contains global settings and information about the library.
More...
#include <fuzzylite.h>
|
| static std::string | name () |
| | Returns the name of the fuzzylite library. More...
|
| |
| static std::string | version () |
| | Returns the version of the fuzzylite library. More...
|
| |
| static std::string | library () |
| | Returns the name of the fuzzylite library including the version. More...
|
| |
| static std::string | license () |
| | Returns the license under which the fuzzylite library is released. More...
|
| |
| static std::string | author () |
| | Returns the name of the author of the fuzzylite library. More...
|
| |
| static std::string | company () |
| | Returns the name of the company that owns the fuzzylite library. More...
|
| |
| static std::string | website () |
| | Returns the website of the fuzzylite library. More...
|
| |
| static int | decimals () |
| | Returns the number of decimals utilized when formatting scalar values. More...
|
| |
| static void | setDecimals (int decimals) |
| | Sets the number of decimals utilized when formatting scalar values. More...
|
| |
| static scalar | macheps () |
| | Returns the minimum difference at which two floating-point values are considered equivalent. More...
|
| |
| static void | setMachEps (scalar macheps) |
| | Sets the minimum difference at which two floating-point values are considered equivalent. More...
|
| |
| static void | setScalarFormat (std::ios_base::fmtflags scalarFormat) |
| | Sets the default format to be utilized for every fl::scalar passed to Op::str() More...
|
| |
| static std::ios_base::fmtflags | scalarFormat () |
| | Gets the default format to be utilized for every fl::scalar passed to Op::str() More...
|
| |
| static bool | isLogging () |
| | Returns whether the library is logging information via the FL_LOG macro. More...
|
| |
| static void | setLogging (bool logging) |
| | Sets whether the library is set to log information using the macro FL_LOG More...
|
| |
| static bool | isDebugging () |
| | Indicates whether the library is running in debug mode. More...
|
| |
| static void | setDebugging (bool debugging) |
| | Sets whether the library is set to run in debug mode. More...
|
| |
| static std::string | platform () |
| | Returns the platform under which the fuzzylite library was built. More...
|
| |
| static std::string | floatingPoint () |
| | Returns the name of the type of the floating-point variables. More...
|
| |
The fuzzylite class contains global settings and information about the library.
- Author
- Juan Rada-Vilela, Ph.D.
- Since
- 4.0
Definition at line 217 of file fuzzylite.h.
◆ author()
| std::string fl::fuzzylite::author |
( |
| ) |
|
|
inlinestatic |
Returns the name of the author of the fuzzylite library.
- Returns
- "Juan Rada-Vilela, Ph.D."
Definition at line 373 of file fuzzylite.h.
◆ company()
| std::string fl::fuzzylite::company |
( |
| ) |
|
|
inlinestatic |
Returns the name of the company that owns the fuzzylite library.
- Returns
- "FuzzyLite Limited"
Definition at line 377 of file fuzzylite.h.
◆ decimals()
| int fl::fuzzylite::decimals |
( |
| ) |
|
|
inlinestatic |
Returns the number of decimals utilized when formatting scalar values.
- Returns
- the number of decimals utilized when formatting scalar values (default is 3)
Definition at line 397 of file fuzzylite.h.
◆ floatingPoint()
| static std::string fl::fuzzylite::floatingPoint |
( |
| ) |
|
|
static |
Returns the name of the type of the floating-point variables.
- Returns
double or float
◆ isDebugging()
| bool fl::fuzzylite::isDebugging |
( |
| ) |
|
|
inlinestatic |
Indicates whether the library is running in debug mode.
- Returns
true if the library is running in debug mode, and false if it is running in release mode
Definition at line 389 of file fuzzylite.h.
◆ isLogging()
| bool fl::fuzzylite::isLogging |
( |
| ) |
|
|
inlinestatic |
Returns whether the library is logging information via the FL_LOG macro.
- Returns
- whether the library is logging information via the
FL_LOG macro
Definition at line 421 of file fuzzylite.h.
◆ library()
| std::string fl::fuzzylite::library |
( |
| ) |
|
|
inlinestatic |
Returns the name of the fuzzylite library including the version.
- Returns
- the name of the
fuzzylite library including the version
Definition at line 361 of file fuzzylite.h.
◆ license()
| std::string fl::fuzzylite::license |
( |
| ) |
|
|
inlinestatic |
Returns the license under which the fuzzylite library is released.
- Returns
- the license under which the
fuzzylite library is released
Definition at line 369 of file fuzzylite.h.
◆ macheps()
| scalar fl::fuzzylite::macheps |
( |
| ) |
|
|
inlinestatic |
Returns the minimum difference at which two floating-point values are considered equivalent.
- Returns
- the minimum difference at which two floating-point values are considered equivalent (default is 1e-6)
Definition at line 413 of file fuzzylite.h.
◆ name()
| std::string fl::fuzzylite::name |
( |
| ) |
|
|
inlinestatic |
Returns the name of the fuzzylite library.
- Returns
- the name of the
fuzzylite library
Definition at line 357 of file fuzzylite.h.
◆ platform()
| static std::string fl::fuzzylite::platform |
( |
| ) |
|
|
static |
Returns the platform under which the fuzzylite library was built.
- Returns
Unix or Windows
◆ scalarFormat()
| std::ios_base::fmtflags fl::fuzzylite::scalarFormat |
( |
| ) |
|
|
inlinestatic |
◆ setDebugging()
| void fl::fuzzylite::setDebugging |
( |
bool |
debugging | ) |
|
|
inlinestatic |
Sets whether the library is set to run in debug mode.
- Parameters
-
| debugging | indicates whether the library is set to run in debug mode |
Definition at line 385 of file fuzzylite.h.
◆ setDecimals()
| void fl::fuzzylite::setDecimals |
( |
int |
decimals | ) |
|
|
inlinestatic |
Sets the number of decimals utilized when formatting scalar values.
- Parameters
-
| decimals | is the number of decimals utilized when formatting scalar values |
Definition at line 393 of file fuzzylite.h.
◆ setLogging()
| void fl::fuzzylite::setLogging |
( |
bool |
logging | ) |
|
|
inlinestatic |
Sets whether the library is set to log information using the macro FL_LOG
- Parameters
-
| logging | indicates whether the library is set to log information via the FL_LOG macro |
Definition at line 417 of file fuzzylite.h.
◆ setMachEps()
| void fl::fuzzylite::setMachEps |
( |
scalar |
macheps | ) |
|
|
inlinestatic |
Sets the minimum difference at which two floating-point values are considered equivalent.
- Parameters
-
| macheps | is the minimum difference at which two floating-point values are considered equivalent (default is 1e-6) |
Definition at line 409 of file fuzzylite.h.
◆ setScalarFormat()
| void fl::fuzzylite::setScalarFormat |
( |
std::ios_base::fmtflags |
scalarFormat | ) |
|
|
inlinestatic |
◆ version()
| std::string fl::fuzzylite::version |
( |
| ) |
|
|
inlinestatic |
Returns the version of the fuzzylite library.
- Returns
- the version of the
fuzzylite library
Definition at line 365 of file fuzzylite.h.
◆ website()
| std::string fl::fuzzylite::website |
( |
| ) |
|
|
inlinestatic |
Returns the website of the fuzzylite library.
- Returns
- "http://www.fuzzylite.com/"
Definition at line 381 of file fuzzylite.h.
◆ Operation
The documentation for this class was generated from the following file: