- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Static Public Member Functions

# Utility Class Reference

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

Search for all occurrences

## 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]`

Search for all occurrences

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:

- Mudbox/kernel.h

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