All Classes |Grouped Classes |Index

Class CL_PathHelp

Path helper functions. More...

Derived from:

None

Derived by:

None

Group:

IO Data (Core)

#include <ClanLib/core.h>

Class Members:

Operations:

PathType

Path types.

make_absolute

Convert a relative path to an absolute path.

make_relative

Converts an absolute path into a path relative to a base path.

is_absolute

Check if a path is absolute.

is_relative

Check if a path is relative.

normalize

Normalize a path.

add_trailing_slash

Add trailing slash or backslash to path.

remove_trailing_slash

Remove trailing slash or backslash from path.

get_location

Returns the drive (C:) or share name ( \ \ computer \ share)

get_basepath

Returns the path excluding the location and filename.

split_basepath

Splits the path, excluding the location, into parts.

get_fullpath

Returns the path including the location.

get_filename

Returns the filename part of a fullname.

get_basename

Returns the basename part of a fullname.

get_extension

Returns the extension part of a fullname.

get_fullname

Create a fullname from parts.

combine

Concatenates two strings into one adding a trailing slash to first string if missing.