CAknQueryValueTextArray Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknqueryvaluetext.h>

Detailed Description

Wraps a descriptor array.

Public Types

typedef CDesCArray  TextArray
  Typedef for array.
enum   { KSafeSizeOfDescriptorForTextFormat = 32 }

Public Member Functions

IMPORT_C  ~CAknQueryValueTextArray ()
IMPORT_C void  SetArray (TextArray &aArray)
  Set the array of values.
IMPORT_C TextArray Array () const
  Get the array of values as a TArray.
IMPORT_C TInt  FormattedStringSize () const
  Return the size of a maximal time string formated using the format string that was supplied during construction of this instance.
virtual IMPORT_C TInt  MdcaCount () const
virtual IMPORT_C TPtrC  MdcaPoint (TInt aIndex) const
  Returns array element, pass through to contained descriptor array.

Static Public Member Functions

static IMPORT_C CAknQueryValueTextArray NewL ()
  Two-phased constructor.
static IMPORT_C CAknQueryValueTextArray NewLC ()
  Two-phased constructor.

Protected Member Functions

  CAknQueryValueTextArray ()
void  ConstructL ()
  2nd stage construction.

Member Typedef Documentation

typedef CDesCArray CAknQueryValueTextArray::TextArray
 

Typedef for array.


Member Enumeration Documentation

anonymous enum
 
Enumerator:
KSafeSizeOfDescriptorForTextFormat 

Constructor & Destructor Documentation

IMPORT_C CAknQueryValueTextArray::~CAknQueryValueTextArray  ) 
 
CAknQueryValueTextArray::CAknQueryValueTextArray  )  [protected]
 

Member Function Documentation

IMPORT_C TextArray* CAknQueryValueTextArray::Array  )  const
 

Get the array of values as a TArray.

Note that client can use any implementation of array class, but the array is treated as a TArray.

Returns:
array of values, ownership is not passed
void CAknQueryValueTextArray::ConstructL  )  [protected]
 

2nd stage construction.

IMPORT_C TInt CAknQueryValueTextArray::FormattedStringSize  )  const
 

Return the size of a maximal time string formated using the format string that was supplied during construction of this instance.

Two versions to eliminate compiler warnings.

Returns:
length of formatted string.
virtual IMPORT_C TInt CAknQueryValueTextArray::MdcaCount  )  const [virtual]
 
Returns:
count of contained array
virtual IMPORT_C TPtrC CAknQueryValueTextArray::MdcaPoint TInt  aIndex  )  const [virtual]
 

Returns array element, pass through to contained descriptor array.

Parameters:
aIndex  index of element to return
Returns:
descriptor representing array element, ownership is not passed
static IMPORT_C CAknQueryValueTextArray* CAknQueryValueTextArray::NewL  )  [static]
 

Two-phased constructor.

static IMPORT_C CAknQueryValueTextArray* CAknQueryValueTextArray::NewLC  )  [static]
 

Two-phased constructor.

IMPORT_C void CAknQueryValueTextArray::SetArray TextArray aArray  ) 
 

Set the array of values.

Note that client can use any implementation of array class, but must pass in a TArray generated from it (by calling the Array() method on the array class)

Parameters:
aArray  array of values, ownership is passed

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

Copyright © Nokia Corporation 2001-2008
Back to top