|
|
|
|
|
||
Modules | |
| Interface Functions | |
Classes | |
| class | fastformat_exception |
| Root class for all FastFormat exception. More... | |
Functions | |
| int | fastformat_init (void) |
| Initialises the FastFormat library. | |
| void | fastformat_uninit (void) |
| Uninitialises the FastFormat library. | |
| ff_char_t const * | fastformat_getInitCodeString (int code) |
| Returns a constant pointer to a non-NULL non-modifiable nul-terminated string representing the initialisation code. | |
| size_t | fastformat_getInitCodeStringLength (int code) |
| Returns the length of the string returned by fastformat_getInitCodeString(). | |
| int | init () |
| Equivalent to fastformat_init(). | |
| void | uninit () |
| Equivalent to fastformat_uninit(). | |
| ff_char_t const * | getInitCodeString (int code) |
| Equivalent to fastformat_getInitCodeString(). | |
| size_t | getInitCodeStringLength (int code) |
| Equivalent to fastformat_getInitCodeStringLength(). | |
| string_slice_t | getNewlineForPlatform () |
| Equivalent to fastformat_getNewlineForPlatform(). | |
| ff_char_t const* fastformat::fastformat_getInitCodeString | ( | int | code | ) |
Returns a constant pointer to a non-NULL non-modifiable nul-terminated string representing the initialisation code.
| code | The initialisation code whose string explanation is to be returned. If the code is not recognised, the empty string ("") will be returned. |
Referenced by fastformat::getInitCodeString().
| size_t fastformat::fastformat_getInitCodeStringLength | ( | int | code | ) |
Returns the length of the string returned by fastformat_getInitCodeString().
| code | The initialisation code whose string equivalent is to be returned. If the code is not recognised, 0 will be returned. |
Referenced by fastformat::getInitCodeStringLength().
| int fastformat::fastformat_init | ( | void | ) |
Initialises the FastFormat library.
| <0 | initialisation has failed, and the library cannot be used | |
| >=0 | initialisation has succeeded, and the library can be used. fastformat_uninit() should be called when the library is no longer needed |
FASTFORMAT_NO_AUTO_INIT, which is automatically defined by a Windows DLL build (as detected by the presence of any of the __DLL__, _WINDLL or _USRDLL symbols). Auto-initialisation can be forced regardless of the definition of FASTFORMAT_NO_AUTO_INIT by the definition of the symbol FASTFORMAT_FORCE_AUTO_INIT. Referenced by fastformat_initialiser::fastformat_initialiser(), and fastformat::init().
| void fastformat::fastformat_uninit | ( | void | ) |
Uninitialises the FastFormat library.
Should be called for every call to fastformat_init() that returns a non-negative code
FASTFORMAT_NO_AUTO_INIT, which is automatically defined by a Windows DLL build (as detected by the presence of any of the __DLL__, _WINDLL, _USRDLL or _AFXDLL symbols). Auto-initialisation can be forced regardless of the definition of FASTFORMAT_NO_AUTO_INIT by the definition of the symbol FASTFORMAT_FORCE_AUTO_INIT. Referenced by fastformat::uninit(), and fastformat_initialiser::~fastformat_initialiser().
| ff_char_t const* fastformat::getInitCodeString | ( | int | code | ) | [inline] |
Equivalent to fastformat_getInitCodeString().
References fastformat::fastformat_getInitCodeString().
| size_t fastformat::getInitCodeStringLength | ( | int | code | ) | [inline] |
Equivalent to fastformat_getInitCodeStringLength().
References fastformat::fastformat_getInitCodeStringLength().
| string_slice_t fastformat::getNewlineForPlatform | ( | ) | [inline] |
Equivalent to fastformat_getNewlineForPlatform().
References fastformat::fastformat_getNewlineForPlatform().
| int fastformat::init | ( | ) | [inline] |
| void fastformat::uninit | ( | ) | [inline] |
|
|
|
| FastFormat Library documentation © Matthew Wilson, 2006-2009 |
|