eVaf
util.h File Reference

Global utility functions for eVaf. More...

#include "libcommon.h"
#include <QString>
#include <QVariant>

Go to the source code of this file.

Namespaces

 eVaf
 Global eVaf namespace.
 
 eVaf::Common
 Common eVaf library.
 

Functions

COMMON_EXPORT QByteArray eVaf::Common::binFromEscapedCharArray (QByteArray const &str)
 Converts escaped 7-bit character arrays to binary arrays. More...
 
COMMON_EXPORT QByteArray eVaf::Common::binToEscapedCharArray (QByteArray const &src)
 Converts binary arrays to escaped 7-bit character arrays. More...
 
bool eVaf::Common::isFalse (QString const &str)
 Tests if the string means 'false'. More...
 
bool eVaf::Common::isTrue (QString const &str)
 Tests if the string means 'true'. More...
 
COMMON_EXPORT QString eVaf::Common::strFromEscapedCharArray (QByteArray const &str)
 Converts escaped 7-bit character arrays to unicode string. More...
 
COMMON_EXPORT QByteArray eVaf::Common::strToEscapedCharArray (QString const &str)
 Converts unicode strings to escaped 7-bit character arrays. More...
 
COMMON_EXPORT QVariant eVaf::Common::toVariant (QString const &value, QVariant const &defaultValue)
 Converts strings to variant values. More...
 

Detailed Description

Global utility functions for eVaf.

Author
Enar Vaikene

Copyright (c) 2011 Enar Vaikene

This file is part of the eVaf C++ cross-platform application development framework.

This file can be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.

Alternatively, this file may be used in accordance with the Commercial License Agreement provided with the Software.

Definition in file util.h.