Rogue Wave 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)
 Assigns an object to the array element. More...
 

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)

Assigns an object to the array element.

Exceptions
IlsUpdateForbiddenIf the function IlsObject::isUpdateAllowed() returns IlsFalse for the type in which the relation is declared.
IlsOwnershipCycleIf cycles are detected among ownership relations.
IlsAlreadyInsertedIf the supplied object is already owned.

© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.