Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TSecureId Class Reference

A class used to represent the Secure ID of a process or executable image. More...

#include <e32cmn.h>

Public Member Functions

 TSecureId ()
 Default constructor.
 
 TSecureId (TUint32 aId)
 Construct 'this' using a TUint32.
 
 operator TUint32 () const
 Convert 'this' into a TUint32.
 
 TSecureId (TUid aId)
 Construct 'this' using a TUid.
 
 operator TUid () const
 Convert 'this' into a TUid.
 

Public Attributes

TUint32 iId
 

Detailed Description

A class used to represent the Secure ID of a process or executable image.

Constructors and conversion operators are provided to enable conversion of this class to and from both TUint32 and TUid objects.

Because this class has non-default constructors, compilers will not initialise this objects at compile time, instead code will be generated to construct the object at run-time. This is wastefull, and Symbian OS DLLs are not permitted to have such uninitialised data. To overcome these problems a macro is provided to construct a const object which behaves like a TSecureId. This is _LIT_SECURE_ID. This macro should be used where it is desirable to define const TSecureId objects, like in header files. E.g. Instead of writing:

const TSecureId MyId = 0x1234567
A class used to represent the Secure ID of a process or executable image.
Definition e32cmn.h:2041

use

_LIT_SECURE_ID(MyId, 0x1234567)
#define _LIT_SECURE_ID(name, value)
Macro for compile-time definition of a secure ID.
Definition e32cmn.h:2158
See also
_LIT_SECURE_ID
API status
Published to all clients. Released API.

Definition at line 2040 of file e32cmn.h.

Constructor & Destructor Documentation

◆ TSecureId() [1/3]

TSecureId::TSecureId ( )
inline

Default constructor.

This leaves the object in an undefined state

(generated from Symbian Developer Library)

◆ TSecureId() [2/3]

TSecureId::TSecureId ( TUint32  aId)
inline

Construct 'this' using a TUint32.

Parameters
aIdThe value for the ID

(generated from Symbian Developer Library)

◆ TSecureId() [3/3]

TSecureId::TSecureId ( TUid  aId)
inline

Construct 'this' using a TUid.

Parameters
aIdThe value for the ID

(generated from Symbian Developer Library)

Member Function Documentation

◆ operator TUid()

TSecureId::operator TUid ( ) const
inline

Convert 'this' into a TUid.

(generated from Symbian Developer Library)

◆ operator TUint32()

TSecureId::operator TUint32 ( ) const
inline

Convert 'this' into a TUint32.

(generated from Symbian Developer Library)

Member Data Documentation

◆ iId

TUint32 TSecureId::iId

Definition at line 2049 of file e32cmn.h.


The documentation for this class was generated from the following files: