String class reference
[Base module]
Declaration
#include <QtLua/String>
namespace QtLua {
class String;
};
This class is a member of the QtLua namespace.
This class is declared in QtLua/qtluastring.hh source file, line 47.
Description
Lua use 8 bits character strings so QString is not suitable for QtLua.
This class is used as string object in the QtLua project. It is based on QByteArray with added conversion functions.
This class is also used as exceptions type for exceptions associated with lua errors.
Members
Functions
Members detail
This constructor is declared in QtLua/qtluastring.hh source file, line 50.
Create an empty string
This constructor is declared in QtLua/qtluastring.hh source file, line 52.
Create a string from const char *
This constructor is declared in QtLua/qtluastring.hh source file, line 54.
Create a string from const char * with given length
String(const QByteArray &s)
This constructor is declared in QtLua/qtluastring.hh source file, line 56.
Create a string from QByteArray
String(const QString &s)
This constructor is declared in QtLua/qtluastring.hh source file, line 58.
Copy constructor
String & arg(const QByteArray &arg)
This function is declared in QtLua/qtluastring.hh source file, line 60.
Replace next % character in string with given string
This function is declared in QtLua/qtluastring.hh source file, line 62.
Replace next % character in string with given string
String & arg(const char *arg)
This function is declared in QtLua/qtluastring.hh source file, line 64.
Replace next % character in string with given integer
String & arg(int arg)
This function is declared in QtLua/qtluastring.hh source file, line 66.
Replace next % character in string with given integer
This function is declared in QtLua/qtluastring.hh source file, line 68.
const char * cast operator