VisualizationFoundation CATModelIdentificator

Usage: you must use this class as is. You should never derive it.


public class CATModelIdentificator

Class to create a model identifier.
Role: This class is dedicated to be the only link between the graphical representations and their corresponding objects. Refer to to understand how one object can be visualized. This identifier is designed to make graphical representations (that is the "visualization world") independent from their object (that is the "applicative world") and make the link consistent.

The identifier can be seen either as an integer, or as a pointer to one object, or as a generic pointer .

Such an identifier is set on each graphical representation built from the method . The enclosed identifier refers to the object that implements a specialized visualization interface so as to find out the "model" associated with the graphical representation.

See also:


Constructor and Destructor Index


o CATModelIdentificator()
Default constructor.
o CATModelIdentificator(void*)
Constructs an identifier from a pointer.
o CATModelIdentificator(CATINTPTR)
Constructs an identifier from an integer.
o CATModelIdentificator(CATBaseUnknown*)
Constructs an identifier from a pointer to one object.
o CATModelIdentificator(CATModelIdentificator&)
Copy constructor.
o ~CATModelIdentificator()

Method Index


o GetId()
Returns the identifier as a pointer to one object.
o GetIntId()
Returns the identifier as a number.
o GetVoidId()
Returns the identifier as a pointer.
o SetModelId(void*)
Sets the identifier from a pointer.
o SetModelId(CATINTPTR)
Sets the identifier from a number.
o SetModelId(CATBaseUnknown*)
Sets the identifier from a pointer to one object.

Constructor and Destructor


o CATModelIdentificator
public CATModelIdentificator()
Default constructor.
o CATModelIdentificator
public CATModelIdentificator( iP)
Constructs an identifier from a pointer.
Parameters:
iP
the pointer.
o CATModelIdentificator
public CATModelIdentificator( iV)
Constructs an identifier from an integer.
Parameters:
iV
the number.
o CATModelIdentificator
public CATModelIdentificator( iObj)
Constructs an identifier from a pointer to one object.
Parameters:
iObj
the pointer to one object.
o CATModelIdentificator
public CATModelIdentificator( const iIdentifier)
Copy constructor.
Parameters:
iIdentifier
the model identifier to clone.
o ~CATModelIdentificator
public ~CATModelIdentificator()

Methods


o GetId
public GetId()
Returns the identifier as a pointer to one object.
o GetIntId
public GetIntId()
Returns the identifier as a number.
o GetVoidId
public GetVoidId()
Returns the identifier as a pointer.
o SetModelId
public SetModelId( iId)
Sets the identifier from a pointer.
Parameters:
iId
the pointer.
o SetModelId
public SetModelId( iId)
Sets the identifier from a number.
Parameters:
iId
the number.
o SetModelId
public SetModelId( iId)
Sets the identifier from a pointer to one object.
Parameters:
iId
the pointer to one object.

This object is included in the file: CATModelIdentificator.h
If needed, your Imakefile.mk should include the module: CATVisFoundation

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.