Unicorn XML Toolkit
Version 1.00.00

Namespace Som
Class CParameterDef

class CParameterDef: public CInterface {
public:
    CParameterDef();
    ~CParameterDef();
public:
    void Create(
        const CString &strName,
        int nType,
        CInterfaceDef *pTypeInterface);
    CString GetName();
    int GetType();
    CInterfaceDef *GetTypeInterface();
    };

The definition of a parameter of an operation in a SOM repository.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CInterfaceDef
Constructor/Destructor Summary
CParameterDef ();
����������Constructs the parameter definition.
~CParameterDef ();
����������Destroys the parameter definition.

Function Summary
void Create (const CString &strName, int nType, CInterfaceDef *pTypeInterface);
����������Creates the parameter definition.
CString GetName ();
����������Returns a name of the parameter.
int GetType ();
����������Returns a type code of the parameter.
CInterfaceDef�* GetTypeInterface ();
����������Returns an interface corresponding to the parameter type.

Constructor/Destructor Detail

CParameterDef

CParameterDef();

Constructs the parameter definition.

~CParameterDef

~CParameterDef();

Destroys the parameter definition.

Function Detail

Create

void Create(
    const CString &strName,
    int nType,
    CInterfaceDef *pTypeInterface);

Creates the parameter definition.

Parameters:
strName - the name of the parameter
nType - the type code of the parameter
pTypeInterface - if the parameter is of type interface ( nType is typeInterface ), points to the appropriate interface definition; otherwise NULL

GetName

CString GetName();

Returns a name of the parameter.

Returns:
the name of the parameter

GetType

int GetType();

Returns a type code of the parameter.

Returns:
the type code of the parameter

GetTypeInterface

CInterfaceDef *GetTypeInterface();

Returns an interface corresponding to the parameter type.

Returns:
the interface corresponding to the parameter type; NULL if the parameter has type code other than typeInterface

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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