CApNetworkItem Class Reference

API published in: S60 1st Ed
API deprecated in: S60 3rd Ed FP 2

Link against: apengine.lib

Capability Information

Required Capabilities

None

Exceptions

Functions modifying database (Create, Update, Delete) need WriteDeviceData. (CApDataHandler, CApUtils Setxxx functions)


#include <apnetworkitem.h>

Detailed Description

< This class is used to hold the main information of a Network item.

It is used in CApNetworks.


Public Member Functions

virtual IMPORT_C  ~CApNetworkItem ()
  Destructor.
IMPORT_C void  CopyFromL (const CApNetworkItem &aCopyFrom)
  Copies the data from another CApNetworkItem Substitutes the "Assignment operator.".
IMPORT_C const TDesC &  Name () const
  Gets the name of the network group Ownership of the returned text is not passed.
IMPORT_C TUint32  Uid () const
  Gets the UID of this network group.
IMPORT_C void  SetUid (TUint32 aUid)
  Sets a UID of the network group.
IMPORT_C void  SetNameL (const TDesC &aName)
  Sets the network name.

Static Public Member Functions

static IMPORT_C CApNetworkItem NewLC ()
  Two-phased constructor.
static IMPORT_C CApNetworkItem NewLC (CApNetworkItem *aItem)
  Two-phased constructor.

Constructor & Destructor Documentation

virtual IMPORT_C CApNetworkItem::~CApNetworkItem  )  [virtual]
 

Destructor.

Deprecated:

Member Function Documentation

IMPORT_C void CApNetworkItem::CopyFromL const CApNetworkItem aCopyFrom  ) 
 

Copies the data from another CApNetworkItem Substitutes the "Assignment operator.".

Returns:
No return value.
Deprecated:
IMPORT_C const TDesC& CApNetworkItem::Name  )  const
 

Gets the name of the network group Ownership of the returned text is not passed.

Returns:
The name of the network group
Deprecated:
static IMPORT_C CApNetworkItem* CApNetworkItem::NewLC CApNetworkItem aItem  )  [static]
 

Two-phased constructor.

Leaves on failure, places instance on cleanup stack.

Parameters:
aItem  a pointer to a CApNetworkItem.
Returns:
The constructed CApNetworkItem.
Deprecated:
static IMPORT_C CApNetworkItem* CApNetworkItem::NewLC  )  [static]
 

Two-phased constructor.

Leaves on failure, places instance on cleanup stack.

Returns:
The constructed CApNetworkItem.
Deprecated:
IMPORT_C void CApNetworkItem::SetNameL const TDesC &  aName  ) 
 

Sets the network name.

Parameters:
aName  The name to set.
Deprecated:
IMPORT_C void CApNetworkItem::SetUid TUint32  aUid  ) 
 

Sets a UID of the network group.

Parameters:
aUid  a uid to set.
Deprecated:
IMPORT_C TUint32 CApNetworkItem::Uid  )  const
 

Gets the UID of this network group.

Returns:
The UID of this network group
Deprecated:

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

Copyright © Nokia Corporation 2001-2008
Back to top