CLI  2.9
tk.h File Reference

CLI toolkit definition. More...

#include <stdlib.h>
#include "cli/namespace.h"
#include "cli/tk_stl.h"

Go to the source code of this file.

Namespaces

 cli::tk
 CLI classes toolkit.
 

Functions

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...
 

Detailed Description

CLI toolkit definition.

Author
Alexis Royer

Definition in file tk.h.

Function Documentation

◆ 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_String1First string to compare.
STR_String2Second 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_String1First string to compare.
STR_String2Second 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_String1First string to compare.
STR_String2Second 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_String1Supposed lower string.
STR_String2Supposed 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_String1Supposed lower string.
STR_String2Supposed 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_String1First string to compare.
STR_String2Second 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_String1First string to compare.
STR_String2Second 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_String1First string to compare.
STR_String2Second 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_String1Supposed upper string.
STR_String2Supposed 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_String1Supposed upper string.
STR_String2Supposed 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_UnusedParamUnused parameter to avoid warnings for.

Definition at line 49 of file tk.h.

Referenced by Queue< T >::Queue(), and String::String().