TVendorId Class Reference
A class used to represent the Vendor 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_VENDOR_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 TVendorId MyId=0x1234567
use
_LIT_VENDOR_ID(MyId,0x1234567)
_LIT_VENDOR_ID
Constructor & Destructor Documentation
TVendorId()
Default constructor which leaves the object in an undefined state
TVendorId(TUint32)
Construct 'this' using a TUint32
TVendorId(TUid)
TVendorId | ( | TUid | aId | ) | [inline] |
Construct 'this' using a TUid
Parameters
TUid aId | The value for the ID |
Member Functions Documentation
operator TUid()
operator TUid | ( | ) | const [inline] |
Convert 'this' into a TUid
operator TUint32()
operator TUint32 | ( | ) | const [inline] |
Convert 'this' into a TUint32
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.