Unicorn XML Toolkit
Version 1.00.00

Namespace Som
Class CObjectManager

class CObjectManager: public CInterface {
public:
    CObjectManager();
    virtual ~CObjectManager();
public:
    virtual XObject Connect(const CString &strSource) = 0;
    };

The abstract interface to SOM object managers.

This interface is used to access SOM objects which can be referenced, in a platform-dependent way, by identification strings, known to applications. Applications can use properties and methods of these objects to access other objects, which may have no identification strings of their own.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CObject
Constructor/Destructor Summary
CObjectManager ();
����������Constructs the object manager.
~CObjectManager ();
����������Destroys the object manager.

Function Summary
XObject Connect (const CString &strSource);
����������Returns the object referenced by the specified identification string.

Constructor/Destructor Detail

CObjectManager

CObjectManager();

Constructs the object manager.

~CObjectManager

virtual ~CObjectManager();

Destroys the object manager.

Function Detail

Connect

virtual XObject Connect(const CString &strSource) = 0;

Returns the object referenced by the specified identification string.

The exact behavior of this function is platform-dependent. In particular, it is not guaranteed, that the unique object referenced by the given identification string permanently exists. Instead, the platform may create a new object instance each time Connect is called. Therefore, there is no guarantee that sequential calls to Connect with the same identification string as a parameter will return the same result.

Parameters:
strSource - the identification string
Returns:
the object referenced by the specified identification string

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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