class MAGES::Utilities::GenericUtilities

Overview

Generic utilities. More…

class GenericUtilities
{
public:
    // methods

    static string GetExportPath();
    static Color Hex(string hex);
    static string SanitizeFileName(string fileName);
};

Detailed Documentation

Generic utilities.

Methods

static string GetExportPath()

Returns the file export path.

Returns:

The file export path.

static Color Hex(string hex)

Creates a color from a hex string.

Parameters:

hex

The hex string.

Returns:

The created color.

static string SanitizeFileName(string fileName)

Sanitizes a file name and removes invalid characters.

Parameters:

fileName

The file name.

Returns:

The file name safe string.