Unicorn XML Toolkit
Version 1.00.00

Namespace Core
Class CSystem

class CSystem {
public:
    static bool GetSystemProperty(
        const CString &strName, CString &strValue);
    static bool ResolvePathName(
        const CString &strFileName, CString &strFullPathName);
    };

The collection of static system-specific functions.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Function Summary
bool GetSystemProperty (const CString &strName, CString &strValue);
����������Returns a value of the specified system property.
bool ResolvePathName (const CString &strFileName, 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 CString &strName, CString &strValue);

Returns a value of the specified system property.

Implementation of system properties is platform-dependent.

Parameters:
strName - 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

ResolvePathName

static bool ResolvePathName(
    const CString &strFileName, 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:
strFileName - 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; true if the function failed

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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