Use objects of the IElemPointer class as element pointers for collections. Element pointers route the operations on the pointers to the referenced elements.
Construct and destructor element pointer objects.
![]() |
public:
IElemPointer(Element*, IExplicitInit = IINIT)
Constructs a pointer of the indicated type from a given C++ pointer.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
IElemPointer()
Constructs a pointer of the indicated type and initializes it with NULL.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these methods to access the element being managed by this object.
![]() |
public:
Element& operator *() const
Returns a reference to the object to which the pointer refers.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
Element* operator ->() const
Returns a C pointer to the object to which the pointer refers.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
operator Element *() const
Implicitly converts this pointer to a C++ pointer.
Windows | OS/2 | AIX |
Yes | Yes | Yes |