tufao  1.3.0
An asynchronous web framework for C++ built on top of Qt
Tufao::IByteArray Class Reference

This class provides a case insensitive QByteArray. More...

+ Inheritance diagram for Tufao::IByteArray:
+ Collaboration diagram for Tufao::IByteArray:

Public Member Functions

 IByteArray (const QByteArray &ba)
 
 IByteArray (const char *str)
 
 IByteArray (const char *data, int size)
 
 IByteArray (int size, char ch)
 
IByteArrayoperator= (const QByteArray &ba)
 

Detailed Description

This class provides a case insensitive QByteArray.

It inherits from QByteArray and provides non-member functions to overload the common operators:

  • operator !=
  • operator <
  • operator <=
  • operator ==
  • operator >
  • operator >=
Note
Use of overloaded operator '<' is intentionally ambiguous when you combine IByteArray and const char *. This design forces you to make your intent explicit using explicit casts.
Note
All member functions of this class are inlined and should add the minimum (if any) of overhead.

The documentation for this class was generated from the following file: