Unicorn XML Toolkit
Version 1.50.00

Namespace Core
Class CSystem

class CSystem {
public:
    static bool GetSystemProperty(
        const WCHAR *pszName, CString &strValue);
    static bool GetSystemPath(CString &strSystemPath);
    static bool ResolvePathName(
        const WCHAR *pszFileName, CString &strFullPathName);
    };

The collection of static system-specific functions.

Since:
1.00.00
Version:
1.50.00
Author:
Alexey Gokhberg
Function Summary
bool GetSystemProperty (const WCHAR *pszName, CString &strValue);
����������Returns a value of the specified system property.
bool GetSystemPath (CString &strSystemPath);
����������Returns the system path defined as the full path of the current working directory.
bool ResolvePathName (const WCHAR *pszFileName, CString &strFullPathName);
����������Returns the full (absolute) path name of the file referenced with the specified (possibly relative) path name.

Function Detail

GetSystemProperty

static bool GetSystemProperty(
    const WCHAR *pszName, CString &strValue);

Returns a value of the specified system property.

Implementation of system properties is platform-dependent.

Parameters:
pszName - the name of the system property
strValue - on return, the string value of the requested system property; unspecified if the system property is not found
Returns:
true if the specified system property was found; false otherwise

GetSystemPath

static bool GetSystemPath(CString &strSystemPath);

Returns the system path defined as the full path of the current working directory.

Parameters:
strSystemPath - on return, the system path; unspecified if the function failed
Returns:
true if the system path was obtained successfully; false if the function failed

ResolvePathName

static bool ResolvePathName(
    const WCHAR *pszFileName, CString &strFullPathName);

Returns the full (absolute) path name of the file referenced with the specified (possibly relative) path name.

The algorithm for obtaining the full path name is platform-dependent.

Parameters:
pszFileName - the source path name
strFullPathName - on return, the full path name; unspecified if the function failed
Returns:
true if the full path name was obtained successfully; false if the function failed

Unicorn XML Toolkit
Version 1.50.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.