#include <e32const.h>
const TInt | KDefaultJustifyWidth |
The default width value used when appending and justifying data in a descriptor.
See also: TDes16::AppendJustify() TDes16::Justify() TDes8::AppendJustify() TDes8::Justify()
const TInt | KNumTraceMaskWords |
Defines the number of 32-bit debug trace mask words.
const TInt | KMaxUidName |
Defines the maximum length for the text form of a UID name.
See also: TUidName TUid::Name()
const TInt | KMaxName |
Defines the maximum length of the name of a reference counted object.
See also: TName
const TInt | KMaxKernelName |
Defines the maximum length of the name of a reference counted kernel-side object.
const TInt | KMaxFullName |
Defines the maximum length of the full name of a reference counted object.
See also: TFullName
const TInt | KMaxExitCategoryName |
The maximum length of a category name.
See also: TExitCategoryName
const TInt | KMaxDayName |
The maximum length of the full text name for a day of the week.
See also: TDayName
const TInt | KMaxDayNameAbb |
The maximum length of the abbreviated text name for a day of the week.
See also: TDayNameAbb
const TInt | KMaxDays |
Defines the maximum size of arrays or data structures required to hold the names of the days of the week.
const TInt | KMaxMonthName |
The maximum length of the full text name for a month.
See also: TDayName
const TInt | KMaxMonthNameAbb |
The maximum length of the abbreviated text name for a month.
See also: TMonthNameAbb
const TInt | KMaxMonths |
Defines the maximum size of arrays or data structures required to hold the names of the months of the year.
const TInt | KMaxSuffix |
The maximum length of the text for a date suffix.
See also: TDateSuffix
const TInt | KMaxSuffixes |
Defines the maximum size of arrays and data structures required to hold date suffix strings.
const TInt | KMaxAmPmName |
The maximum length of the text for AM and PM.
See also: TAmPmName
const TInt | KMaxAmPms |
Defines the maximum size of arrays and data structures required to hold am/pm strings.
const TInt | KMaxDateSeparators |
Defines the maximum number of date separator characters in a date string.
const TInt | KMaxTimeSeparators |
Defines the maximum number of time separator characters in a time string.
const TInt | KMaxTranslateTable |
Defines the maximum size of data structures to hold the translate tables for Western European alphabetic conversions.
const TInt | KMaxCurrencySymbol |
The maximum length of the text for a currency symbol.
See also: TCurrencySymbol
const TInt | KMaxShortDateFormatSpec |
The maximum length of the short date format specification text.
See also: TShortDateFormatSpec
const TInt | KMaxLongDateFormatSpec |
The maximum length of the short date format specification text.
See also: TLongDateFormatSpec
const TInt | KMaxTimeFormatSpec |
The maximum length of the time string formatting commands.
See also: TTimeFormatSpec
const TInt | KMaxVersionName |
The maximum length of the character representation of version information.
See also: TVersion::Name()
const TInt | KMaxDeviceInfo |
Defines the maximum length of a TDeviceInfo object.
See also: TDeviceInfo
const TInt | KMaxMediaPassword |
The maximum size of the password required to unlock a media drive.
const TInt | KMinHeapSize |
Defines the minimum size of a new heap.
Functions that require a new heap to be allocated will either panic, or will reset the required heap size to this value if a smaller heap size is specified.
See also: UserHeap RThread::Create()
const TInt | KDefaultStackSize |
A default stack size that can be used when creating threads.
const TInt | KIndexPtr |
Defines an index value that is interpreted by the TKey class, and derived classes, as having a specific meaning.
See also: TKey::SetPtr() TKey::At()
const TInt | KHandleNoClose |
A flag used by the kernel to mark a handle as not being closable.
const TInt | KHandleFlagLocal |
A flag used by the kernel to mark a handle as being local.
const TInt | KCurrentProcessHandle |
A flag used by the Kernel to indicate the current process.
const TInt | KCurrentThreadHandle |
A flag used by the Kernel to indicate the current thread.
const TInt | KNullUnit |
The device unit that must be passed in a call to RBusLogicalChannel::DoCreate(), if units are not permitted.
See also: RBusLogicalChannel
const TInt | KMaxUnits |
The maximum unit number that can be passed in a call to RBusLogicalChannel::DoCreate().
See also: RBusLogicalChannel
const TInt | KMaxMessageArguments |
Defines the maximum number of message arguments that can be passed across the user side/kernel side boundary.
const TInt | KDefaultRealWidth |
The default width of the character representation of a real number, used by the default constructor of a TRealFormat object and the formatting functions of descriptors.
See also: TRealFormat TDes16::AppendFormat() TDes8::AppendFormat()
const TInt | KMinHeapGrowBy |
The default value used by UserHeap::ChunkHeap() for defining increments to the size of a chunk, when no explicit value specified by the caller.
See also: UserHeap::ChunkHeap()
const TInt | KDeltaTimerDefaultGranularity |
The timer granularity used by a CDeltaTimer object is now the tick period and this constant is obsolete.
See also: CDeltaTimer
const TInt | KRequestPending |
The value to which CActive::iStatus is set by an active object's service provider before the service provider initiates an asynchronous request.
See also: CActive
const TUint | KDriveAttRedirected |
Drive attribute - output from a process on one drive is redirected to another drive.
const TUint | KDriveAttSubsted |
Drive attribute - drive letter has been substituted (assigned a path).
const TUint | KDriveAttLogicallyRemovable |
Drive attribute - drive is logically removable (can be taken offline from Symbian OS). If not logically removable then physically removable e.g. a card can be take out.
const TUint | KDriveAttHidden |
Drive attribute - drive is hidden. A drive which has its hidden attribute set would be excluded from the list of available drives.
const TUint | KDriveAttAll |
Drive attribute - It can be set in a search in order to instruct that all drives should be returned.
const TUint | KDriveAttExclude |
Drive attribute - It can be set in combination with other drive attributes in order to exclude during a drive search, drives with these attributes set.
const TUint | KDriveAttExclusive |
Drive attribute - It can be set in combination with other drive attributes in order to search and return exclusively drives with these attributes set.
const TUint | KDriveAttMatchedFlags |
Used as a mask in order to extract the actual drive attributes.
const TUint | KDriveAttMatchedAtt |
Used as a mask in order to extract the extra(ex KDriveAttAll ,KDriveAttExclude, KDriveAttExclusive ,0) drive attributes.
const TUint | KMediaAttVariableSize |
Media attribute - the media capacity can change over time.
const TUint | KMediaAttWriteProtected |
Media attribute - media is write-protected.
const TUint | KMediaAttLockable |
Media attribute - media is lockable; this is provided for lockable multi-media cards
const TUint | KMediaAttLocked |
Media attribute - media is locked; this is provided for lockable multi-media cards
const TUint | KMediaAttDeleteNotify |
Media attribute - media supports TBusLocalDrive::DeleteNotify()
const TUint | KDriveFileNone |
Identifies a non-file system. That is a partition without any file system layer.
const TInt | KRealFormatTypesMask |
A mask for the set of flags that govern the general format of the character representation of a real number.
These are the flags with symbols starting KRealFormat...
const TInt | KRealFormatFixed |
Defines the general format of the character representation of a real number. The TRealFormat::iType data member is set to one of these.
The real number is converted to fixed format which has the general pattern: "nnn.ddd", where nnn is the integer portion and ddd is the decimal portion. A negative value is prefixed by a minus sign.
The number of decimal places generated is defined by the value of TRealFormat::iPlaces. Trailing zeroes are generated as required. If necessary, the decimal portion is rounded to fit the specification. If this value is zero, no decimal point and no decimal portion is generated.
Triad separation is available, defined by TRealFormat::iTriad and TRealFormat::iTriLen.
Note that a zero value is converted either to the form "0.000..." with iPlaces '0' characters after the decimal point, if iPlaces is greater than zero, or to "0" if iPlaces is zero.
See also: TRealFormat
const TInt | KRealFormatExponent |
Defines the general format of the character representation of a real number. The TRealFormat::iType data member is set to one of these.
The real number is converted to scientific format with one non-zero digit before the decimal point and a number of digits after the decimal point. Hence the number has the general pattern: "n.dddE+ee" or "n.dddE-ee", or "n.dddE+eee" or "n.dddE-eee".
The decimal portion is followed by the character 'E', a sign ('+' or '-') and the exponent as two digits, including leading zeroes, if necessary. If necessary, the decimal portion is rounded.
A negative value is prefixed by a minus sign.
If the flag KUseSigFigs is not set, TRealFormat::iPlaces defines the number of digits which follow the decimal point. If the flag KUseSigFigs is set, iPlaces defines the maximum number of significant digits to be generated.
Note that, by default, exponents are limited to two digits. Those numbers that require three digits must have the flag KAllowThreeDigitExp set. If iPlaces is zero, the value is rounded to one digit of precision and no decimal point is included.
Triad separation is not available.
Note that a zero value is converted either to the form "0.000...E+00" with iPlaces '0' characters after the decimal point, if iPlaces is greater than zero, or to "0E+00" if iPlaces is zero.
See also: TRealFormat
const TInt | KRealFormatGeneral |
Defines the general format of the character representation of a real number. The TRealFormat::iType data member is set to one of these.
The real number is converted either to fixed or scientific format. The format chosen is the one which can present the greater number of significant digits. Where both formats can present the same number of significant digits, fixed format is used.
The number of decimal places generated depends only on the value of TRealFormat::iWidth; the value of the iPlaces member is ignored.
Trailing zeroes in the decimal portion are discarded.
Triad separation is not available.
Note that a zero value is converted to "0".
See also: TRealFormat
const TInt | KRealFormatNoExponent |
Defines the general format of the character representation of a real number. The TRealFormat::iType data member is set to one of these.
The same as KRealFormatFixed but the TRealFormat::iPlaces is interpreted as specifying the maximum number of significant digits.
Trailing zeroes in the decimal portion are discarded.
See also: TRealFormat
const TInt | KRealFormatCalculator |
Defines the general format of the character representation of a real number. The TRealFormat::iType data member is set to one of these.
The same as KRealFormatGeneral but TRealFormat::iPlaces is interpreted as specifying the maximum number of significant digits, and the number is displayed without an exponent whenever possible.
Trailing zeroes in the decimal portion are discarded.
See also: TRealFormat
const TInt | KRealFormatTypeFlagsMask |
A bitmask for all flags except those with symbols starting KRealFormat...
const TInt | KExtraSpaceForSign |
A flag that modifies the format of the character representation of a real number.
It reduces the effective width by one character. This forces a large enough value for TRealFormat::iWidth to be chosen to guarantee that positive and negative numbers can be shown to the same precision.
It applies when TRealFormat::iType is set to KRealFormatFixed or KRealFormatGeneral, and should be ORed into TRealFormat::iType after one of these types has been set.
const TInt | KAllowThreeDigitExp |
A flag that modifies the format of the character representation of a real number.
It allows an exponent to be formatted whose magnitude is greater than 100. If this flag is not set, an attempt to format such a number fails.
If set, three digit exponents are allowed. If not set, only two digit exponents are allowed.
Applies when TRealFormat::iType is set to KRealFormatExponent or KRealFormatGeneral, and should be ORed into TRealFormat::iType after one of these types has been set.
const TInt | KUseSigFigs |
A flag that modifies the format of the character representation of a real number.
If set, the TRealFormat::iPlaces member is interpreted as the maximum number of significant digits to be generated.
Applies when TRealFormat::iType is set to KRealFormatExponent, and should be ORed into TRealFormat::iType after this type has been set.
const TInt | KDoNotUseTriads |
A flag that modifies the format of the character representation of a real number.
It disables triad separation.
Applies when TRealFormat::iType is set to KRealFormatFixed or KRealFormatNoExponent, and should be ORed into TRealFormat::iType after one of these types has been set.
const TInt | KGeneralLimit |
A flag that modifies the format of the character representation of a real number.
If set, this flag limits the precision to KPrecisionLimit digits. If not set, the precision defaults to KMaxPrecision digits.
This flag should be ORed into TRealFormat::iType.
const TInt | KRealInjectiveLimit |
A flag that modifies the format of the character representation of a real number.
If set, this flag allows enough digits of precision such that the mapping from numeric to string form is injective. For a TReal (=double) input argument this means KIEEEDoubleInjectivePrecision digits. This flag overrides the KGeneralLimit flag if both are set.
This flag should be ORed into TRealFormat::iType.
typedef TInt(* | TThreadFunction |
Defines a pointer to a thread function which takes a pointer of type TAny and returns a TInt.
A function of this type is passed as parameter to RThread::Create() when creating a thread. Control passes to this function when the thread is first scheduled for execution.
See also: RThread
typedef TInt(* | TLibraryFunction |
Defines a function that takes no arguments but returns a TInt.
This is a type which is returned from a call to RLibrary::Lookup().
See also: RLibrary
const TUint | KExceptionAbort |
One of a set of flags that categorizes exceptions - associated with the abort exception only.
See also: RThread::SetExceptionHandler() RThread::ModifyExceptionMask()
const TUint | KExceptionKill |
One of a set of flags that categorizes exceptions - associated with the kill exception only.
See also: RThread::SetExceptionHandler() RThread::ModifyExceptionMask()
const TUint | KExceptionUserInterrupt |
One of a set of flags that categorizes exceptions - general and user exceptions.
See also: RThread::SetExceptionHandler() RThread::ModifyExceptionMask()
const TUint | KExceptionFpe |
One of a set of flags that categorizes exceptions - exceptions caused by illegal floating point operations. This exception is not guaranteed to be raised when a hardware floating point implementation is in use.
See also: RThread::SetExceptionHandler() RThread::ModifyExceptionMask()
const TUint | KExceptionFault |
One of a set of flags that categorizes exceptions - exceptions associated with executing instructions; includes protection faults, illegal instruction codes, page faults etc
See also: RThread::SetExceptionHandler() RThread::ModifyExceptionMask()
const TUint | KExceptionInteger |
One of a set of flags that categorizes exceptions - exceptions caused by illegal operations on integer values.
const TUint | KExceptionDebug |
One of a set of flags that categorizes exceptions - exceptions raised when debugging code.
See also: RThread::SetExceptionHandler() RThread::ModifyExceptionMask()
const TUint32 | KSet32 |
Constant that defines the specified bit value.
This is often used as a bit mask.
const TUint32 | KClear32 |
Constant that defines the specified bit value.
This is often used as a bit mask.
const TUint | KNullThreadId |
A constant which represents a thread ID which will never be assigned to a thread. I.e. The following statement is always true; RThread::Id()!=KNullThreadId
See also: TThreadId
const TUint | KNullProcessId |
A constant which represents a process ID which will never be assigned to a process. I.e. The following statement is always true; RProcess::Id()!=KNullProcessId
See also: TProcessId