Utility Class Reference

This reference page is linked to from the following overview topics: Mudbox 2013.



Detailed Description

This class is collects miscellaneous utility functions.

Definition at line 471 of file kernel.h.

#include <kernel.h>

List of all members.

Static Public Member Functions

static QString  SanitizeFileName (const QString &sName)
  Takes a potential file name as input and returns a sanitized version that should be a legal file name on Windows, Mac OSX, and Linux.

Member Function Documentation

static QString SanitizeFileName ( const QString sName ) [static]

Takes a potential file name as input and returns a sanitized version that should be a legal file name on Windows, Mac OSX, and Linux.

Illegal characters are escaped with the % character, followed by their numeric unicode character code. The % character is escaped with %%.

For example: SanitizeFileName( "material::blue" ) would return "material%58%58blue"

Parameters:
[in] sName The file name to sanitize

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

Utility Utility Utility Utility Utility Utility Utility Utility Utility Utility
Utility Utility Utility Utility Utility Utility Utility Utility Utility Utility