CLI toolkit definition.
More...
#include <stdlib.h>
#include "cli/namespace.h"
#include "cli/tk_stl.h"
Go to the source code of this file.
|
template<class T > |
const void * | UnusedParameter (const T &T_UnusedParam) |
| Dummy function that aims to avoid warnings for unused parameters. More...
|
|
const bool | operator== (const char *const STR_String1, const tk::String &STR_String2) |
| Comparison operator. More...
|
|
const bool | operator== (const tk::String &STR_String1, const char *const STR_String2) |
| Comparison operator. More...
|
|
const bool | operator== (const tk::String &STR_String1, const tk::String &STR_String2) |
| Comparison operator. More...
|
|
const bool | operator!= (const char *const STR_String1, const tk::String &STR_String2) |
| Difference operator. More...
|
|
const bool | operator!= (const tk::String &STR_String1, const char *const STR_String2) |
| Difference operator. More...
|
|
const bool | operator!= (const tk::String &STR_String1, const tk::String &STR_String2) |
| Difference operator. More...
|
|
const bool | operator< (const tk::String &STR_String1, const tk::String &STR_String2) |
| Lower operator. More...
|
|
const bool | operator> (const tk::String &STR_String1, const tk::String &STR_String2) |
| Greater operator. More...
|
|
const bool | operator<= (const tk::String &STR_String1, const tk::String &STR_String2) |
| Lower or equal operator. More...
|
|
const bool | operator>= (const tk::String &STR_String1, const tk::String &STR_String2) |
| Greater or equal operator. More...
|
|
CLI toolkit definition.
- Author
- Alexis Royer
Definition in file tk.h.
◆ operator!=() [1/3]
const bool operator!= |
( |
const char *const |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Difference operator.
- Returns
- true if strings differ, false otherwise.
- Parameters
-
STR_String1 | First string to compare. |
STR_String2 | Second string to compare. |
◆ operator!=() [2/3]
const bool operator!= |
( |
const tk::String & |
STR_String1, |
|
|
const char *const |
STR_String2 |
|
) |
| |
Difference operator.
- Returns
- true if strings differ, false otherwise.
- Parameters
-
STR_String1 | First string to compare. |
STR_String2 | Second string to compare. |
◆ operator!=() [3/3]
const bool operator!= |
( |
const tk::String & |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Difference operator.
- Returns
- true if strings differ, false otherwise.
- Parameters
-
STR_String1 | First string to compare. |
STR_String2 | Second string to compare. |
◆ operator<()
const bool operator< |
( |
const tk::String & |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Lower operator.
- Returns
- true string1 is "lower than" string2, false otherwise.
- Parameters
-
STR_String1 | Supposed lower string. |
STR_String2 | Supposed upper string. |
◆ operator<=()
const bool operator<= |
( |
const tk::String & |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Lower or equal operator.
- Returns
- true string1 is "lower than" or equals string2, false otherwise.
- Parameters
-
STR_String1 | Supposed lower string. |
STR_String2 | Supposed upper string. |
◆ operator==() [1/3]
const bool operator== |
( |
const char *const |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Comparison operator.
- Returns
- true if strings are equal, false otherwise.
- Parameters
-
STR_String1 | First string to compare. |
STR_String2 | Second string to compare. |
◆ operator==() [2/3]
const bool operator== |
( |
const tk::String & |
STR_String1, |
|
|
const char *const |
STR_String2 |
|
) |
| |
Comparison operator.
- Returns
- true if strings are equal, false otherwise.
- Parameters
-
STR_String1 | First string to compare. |
STR_String2 | Second string to compare. |
◆ operator==() [3/3]
const bool operator== |
( |
const tk::String & |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Comparison operator.
- Returns
- true if strings are equal, false otherwise.
- Parameters
-
STR_String1 | First string to compare. |
STR_String2 | Second string to compare. |
◆ operator>()
const bool operator> |
( |
const tk::String & |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Greater operator.
- Returns
- true string1 is "greater than" string2, false otherwise.
- Parameters
-
STR_String1 | Supposed upper string. |
STR_String2 | Supposed lower string. |
◆ operator>=()
const bool operator>= |
( |
const tk::String & |
STR_String1, |
|
|
const tk::String & |
STR_String2 |
|
) |
| |
Greater or equal operator.
- Returns
- true string1 is "greater than" or equals string2, false otherwise.
- Parameters
-
STR_String1 | Supposed upper string. |
STR_String2 | Supposed lower string. |
◆ UnusedParameter()
template<class T >
const void* UnusedParameter |
( |
const T & |
T_UnusedParam | ) |
|
Dummy function that aims to avoid warnings for unused parameters.
Does strictly nothing, but avoids warnings for unused parameters.
- Parameters
-
T_UnusedParam | Unused parameter to avoid warnings for. |
Definition at line 49 of file tk.h.
Referenced by Queue< T >::Queue(), and String::String().