Library | File

Class pfcModelItemOId

# include <pfcModelItem.h>

class pfcModelItemOId
 : public virtual pfcIntegerOId
{
    xdeclare(pfcModelItemOId)
    ...
};
This is a COMPACT class.



Description

This class specifies the identifier of a model item.



Method Summary

static pfcModelItemOId_ptrCreate (pfcModelItemType Type, xint Id)
Creates a model-item identifier object.
pfcModelItemTypeGetType ()
The model item type (ITEM_FEATURE, ITEM_SURFACE, and so on)


Methods Inherited from Class pfcIntegerOId:

GetId



Method Detail

pfcModelItemTypeGetType ()

The model item type (ITEM_FEATURE, ITEM_SURFACE, and so on)




static pfcModelItemOId_ptrCreate (pfcModelItemType Type, xint Id)

Creates a model-item identifier object.

A model-item identifier can be passed to pfcParent::GetChild(pfcOId_ptr) .
Parameters:
Type
The model item type
Id
The model item's integer identifier
Returns:
The new ModelItemOId