ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
string.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

class  string_base< storageT >
 String Class. More...
 
struct  string_base_compare_func< sT, sT2 >
 Compare function for stl container e.g. More...
 
struct  string_base_no_case_compare_func< sT, sT2 >
 Compare function for stl container e.g. More...
 

Namespaces

namespace  A_UTILS_NS
 ADTF A_UTIL Namespace - Within adtf this is used as util or adtf_util.
 

Macros

#define A_UTILS_DEFAULT_SIZE_OF_STRING   64
 Default stack string size.
 

Typedefs

typedef stack_string_base< A_UTILS_DEFAULT_SIZE_OF_STRING, growinheap_out_of_rangecStackString
 cStackString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAULT_SIZE_OF_STRING byte.
 
typedef string_base< cStackStringcString
 cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAULT_SIZE_OF_STRING byte.
 
typedef string_base_compare_func< cStackString, cStackStringcStringCompareFunc
 Compare functor for the cStackString.
 
typedef string_base_no_case_compare_func< cStackString, cStackStringcStringNoCaseCompareFunc
 Compare functor for the cStackString.
 

Functions

template<class sT>
tBool operator== (const tChar *str1, const string_base< sT > &str2)
 String compare if equal.
 
template<class sT>
tBool operator!= (const tChar *str1, const string_base< sT > &str2)
 String compare if not equal.
 
template<class sT>
tBool operator< (const tChar *str1, const string_base< sT > &str2)
 String compare if less than.
 
template<class sT>
tBool operator> (const tChar *str1, const string_base< sT > &str2)
 String compare if greater than.
 
template<class sT>
tBool operator<= (const tChar *str1, const string_base< sT > &str2)
 String compare if less or equal than.
 
template<class sT>
tBool operator>= (const tChar *str1, const string_base< sT > &str2)
 String compare if greater or equal than.
 
template<class sT>
tBool operator== (const std::string &str1, const string_base< sT > &str2)
 String compare if equal.
 
template<class sT>
tBool operator!= (const std::string &str1, const string_base< sT > &str2)
 String compare if not equal.
 
template<class sT>
tBool operator< (const std::string &str1, const string_base< sT > &str2)
 String compare if less than.
 
template<class sT>
tBool operator> (const std::string &str1, const string_base< sT > &str2)
 String compare if greater than.
 
template<class sT>
tBool operator<= (const std::string &str1, const string_base< sT > &str2)
 String compare if less or equal than.
 
template<class sT>
tBool operator>= (const std::string &str1, const string_base< sT > &str2)
 String compare if greater or equal than.
 
template<class sT>
tBool operator== (const string_base< sT > &str1, const std::string &str2)
 String compare if equal.
 
template<class sT>
tBool operator!= (const string_base< sT > &str1, const std::string &str2)
 String compare if not equal.
 
template<class sT>
tBool operator< (const string_base< sT > &str1, const std::string &str2)
 String compare if less than.
 
template<class sT>
tBool operator> (const string_base< sT > &str1, const std::string &str2)
 String compare if greater than.
 
template<class sT>
tBool operator<= (const string_base< sT > &str1, const std::string &str2)
 String compare if less or equal than.
 
template<class sT>
tBool operator>= (const string_base< sT > &str1, const std::string &str2)
 String compare if greater or equal than.
 
template<class sT, class sT2>
string_base< sT > operator+ (const string_base< sT > &str1, const string_base< sT2 > &str2)
 Join two strings.
 
template<class sT>
string_base< sT > operator+ (const tChar *str1, const string_base< sT > &str2)
 Join two strings.
 
template<class sT>
string_base< sT > operator+ (const string_base< sT > &str1, const tChar *str2)
 Join two strings.
 

Variables

template<typename T>
const string_base< T > string_base< T >::Empty
 
template<typename T>
const tSize string_base< T >::InvalidPos = g_npos
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file string.h.

Macro Definition Documentation

◆ A_UTILS_DEFAULT_SIZE_OF_STRING

#define A_UTILS_DEFAULT_SIZE_OF_STRING   64

Default stack string size.

Definition at line 2771 of file string.h.