Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Types | Public Member Functions
IlsIndexedPartial< HolderType, TargetType, Relation > Class Template Reference

This class is an intermediate class that stores array elements. More...

#include <ilserver/model.h>

Inherits IlsContext.

Public Types

typedef IlsIndexedPartial< HolderType, TargetType, Relation > Myself
 Myself is the type of the instantiated template class.
 

Public Member Functions

CTargetTypePR getValue ()
 Returns the target of the relation.
 
Myselfoperator= (CTargetTypePR rhs)
 

Detailed Description

template<class HolderType, class TargetType, class Relation>
class IlsIndexedPartial< HolderType, TargetType, Relation >

This class is an intermediate class that stores array elements.

Library: server

See also
IlsOwnsDynamicArray::Partial, IlsOwnsFixedArray::Partial.

Member Function Documentation

◆ operator=()

template<class HolderType , class TargetType , class Relation >
Myself& IlsIndexedPartial< HolderType, TargetType, Relation >::operator= ( CTargetTypePR  rhs)
\short Assigns an object to the array element.

\throw IlsUpdateForbidden If the function
       `IlsObject::isUpdateAllowed()` returns \c IlsFalse for the
       type in which the relation is declared.
\throw IlsOwnershipCycle If cycles are detected among ownership
       relations.
Exceptions
IlsAlreadyInsertedIf the supplied object is already owned.