|
||
class TStreamId;
Provides unique identification for stream within a store.
A store always assigns a new id and constructs and returns an associated TStreamId object when a new stream is created.
Defined in TStreamId
:
ExternalizeL(RWriteStream &)const
Externalises an object of this class to a write stream.InternalizeL(RReadStream &)
Internalises an object of this class from a read stream.TStreamId()
Constructs an uninitialised object. It is necessary because there are also non-d...TStreamId(TUint32)
Constructs the object with the specified stream ID value.Value()const
Gets the stream ID value encapsulated by this object.operator!=(TStreamId)const
Inequality comparison operator. Use this operator to determine whether this stre...operator==(TStreamId)const
Equality comparison operator. Use this operator to determine whether this stream...RStoreWriteStream::CreateL(CStreamStore &)
Creates a new stream.RStoreWriteStream::CreateLC(CStreamStore &)
Creates a new stream, putting a cleanup item onto the cleanup stack.inline TStreamId();
Constructs an uninitialised object. It is necessary because there are also non-default constructors in this class.
inline TStreamId(TUint32 aValue);
Constructs the object with the specified stream ID value.
Users of stores do not normally use this function.
In debug mode, the function checks that the supplied stream ID value is not greater than the maximum permitted value, and raises a STORE-Store 2 panic if it is. In release mode, no checking on the supplied value is done.
The checking of the supplied value is done by a private function implemented in estor. dll. This means that in debug mode, a call is made into estor.dll, but in release mode it is not.
|
inline TBool operator==(TStreamId anId) const;
Equality comparison operator. Use this operator to determine whether this stream id is equal to the specified stream id.
|
|
inline TBool operator!=(TStreamId anId) const;
Inequality comparison operator. Use this operator to determine whether this stream id is unequal to the specified stream id.
|
|
inline void ExternalizeL(RWriteStream &aStream) const;
Externalises an object of this class to a write stream.
The presence of this function means that the standard templated operator<<(RWriteStream &,const T &)
can be used to externalise objects of this class.
|
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalises an object of this class from a read stream.
The presence of this function means that the standard templated operator>>(RReadStream &,T &)
can be used to internalise objects of this class.
Note that the function has assignment semantics. It replaces the old value of the object with a new value read from the read stream.
|
inline TUint32 Value() const;
Gets the stream ID value encapsulated by this object.
|