ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

util.cpp File Reference

#include "common/util.h"
#include "common/debug.h"
Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

namespace  Common
 

Internal interface to the QuickTime audio decoder.


Defines

#define FORBIDDEN_SYMBOL_EXCEPTION_isalnum
#define FORBIDDEN_SYMBOL_EXCEPTION_isalpha
#define FORBIDDEN_SYMBOL_EXCEPTION_isdigit
#define FORBIDDEN_SYMBOL_EXCEPTION_isxdigit
#define FORBIDDEN_SYMBOL_EXCEPTION_isnumber
#define FORBIDDEN_SYMBOL_EXCEPTION_islower
#define FORBIDDEN_SYMBOL_EXCEPTION_isspace
#define FORBIDDEN_SYMBOL_EXCEPTION_isupper
#define FORBIDDEN_SYMBOL_EXCEPTION_isprint
#define FORBIDDEN_SYMBOL_EXCEPTION_ispunct
#define ENSURE_ASCII_CHAR(c)

Functions

void Common::hexdump (const byte *data, int len, int bytesPerLine=16, int startOffset=0)
 Print a hexdump of the data passed in.
bool Common::parseBool (const String &val, bool &valAsBool)
 Parse a string for a boolean value.
bool Common::isAlnum (int c)
 Test whether the given character is alphanumeric (a-z, A-Z, 0-9).
bool Common::isAlpha (int c)
 Test whether the given character is an alphabetic letter (a-z, A-Z).
bool Common::isDigit (int c)
 Test whether the given character is a decimal-digit (0-9).
bool Common::isXDigit (int c)
 Test whether the given character is a hwzadecimal-digit (0-9 or A-F).
bool Common::isLower (int c)
 Test whether the given character is a lower-case letter (a-z).
bool Common::isSpace (int c)
 Test whether the given character is a white-space.
bool Common::isUpper (int c)
 Test whether the given character is an upper-case letter (A-Z).
bool Common::isPrint (int c)
 Test whether the given character is printable.
bool Common::isPunct (int c)
 Test whether the given character is a punctuation character, (i.e not alphanumeric.

Define Documentation

#define ENSURE_ASCII_CHAR (   c  ) 
Value:
if (c < 0 || c > 127) \
            return false

Definition at line 117 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isalnum

Definition at line 23 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isalpha

Definition at line 24 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isdigit

Definition at line 25 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_islower

Definition at line 28 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isnumber

Definition at line 27 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isprint

Definition at line 31 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_ispunct

Definition at line 32 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isspace

Definition at line 29 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isupper

Definition at line 30 of file util.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_isxdigit

Definition at line 26 of file util.cpp.



Generated on Sat Jul 13 2019 05:01:48 for ResidualVM by doxygen 1.7.1
curved edge   curved edge