CLbtGeoCell Class Reference
class CLbtGeoCell : public CLbtGeoAreaBase
|
Geographical cellular area.
Geographical cellular area is defined by the area covered by a network cell. Client applications must specify complete CGI information of the serving cell while defining a geographical cellular area. This includes the Mobile Country Code (MCC), Mobile Network Code (MNC), Location Area Code (LAI) and the Cell Identity (CI). In addition client applications must also mention the the Network Type.
lbt.lib
Constructor & Destructor Documentation
CLbtGeoCell()
CLbtGeoCell
|
(
|
)
|
[protected]
|
CLbtGeoCell(const CLbtGeoCell &)
By default, prohibit copy constructor
~CLbtGeoCell()
IMPORT_C
|
~CLbtGeoCell
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CGISpecifiedDuringCreation()
TBool
|
CGISpecifiedDuringCreation
|
(
|
)
|
const [virtual]
|
This method is for furture use and is currently not supported.
CellId()
IMPORT_C
TUint
|
CellId
|
(
|
)
|
const
|
Gets the cell id. If the cell code has not been set before, the returned value is zero.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
Symbian 2nd phase constructor.
ConstructL(RMobilePhone::TMobilePhoneNetworkMode, TNetworkCountryCode, TNetworkIdentity, TUint, TUint)
Symbian 2nd phase constructor.
DoExternalizeL(RWriteStream &)
void
|
DoExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [protected, virtual]
|
Parameters
RWriteStream
& aStream
|
Stream to which the object should be externalized.
|
DoInternalizeL(RReadStream &)
void
|
DoInternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[protected, virtual]
|
Parameters
RReadStream
& aStream
|
Stream from which the object should be internalized.
|
LocationAreaCode()
IMPORT_C
TUint
|
LocationAreaCode
|
(
|
)
|
const
|
Gets the location area code. If the location area code has not been set before, the returned value is zero.
NetworkCountryCode()
Gets the network country code. If the country code has not been set before, the returned value is zero.
NetworkIdentityCode()
Gets the network identity code. If the network identity code has not been set before, the returned value is zero.
NetworkType()
IMPORT_C
RMobilePhone::TMobilePhoneNetworkMode
|
NetworkType
|
(
|
)
|
const
|
Returns the type of network
NewL()
Allocates and constructs a new geographical cellular area object. In the returned object,the country code,network code,location area code and cell id are set to zero.
-
leave
-
Other standard Symbian error code, such as KErrNoMemory
NewL(RMobilePhone::TMobilePhoneNetworkMode, TNetworkCountryCode, TNetworkIdentity, TUint, TUint)
Allocates and constructs a new geographical cellular area object.
-
panic
-
ELbtErrArgument If inputs are negative or zero.
-
leave
-
Other standard Symbian error code, such as KErrNoMemory
Parameters
RMobilePhone::TMobilePhoneNetworkMode
aNetworkType
|
The network type
|
TNetworkCountryCode
aCountryCode
|
The network country code
|
TNetworkIdentity
aNetworkId
|
The network identity code
|
TUint
aLocationAreaCode
|
The location area code
|
TUint
aCellId
|
The cell id
|
NewLC()
Allocates and constructs a new geographical cellular area object and pushes it onto cleanup stack. In the returned object,the country code,network code,location area code and cell id are set to zero.
-
leave
-
Other standard Symbian error code, such as KErrNoMemory
NewLC(RMobilePhone::TMobilePhoneNetworkMode, TNetworkCountryCode, TNetworkIdentity, TUint, TUint)
Allocates and constructs a new geographical cellular area object and pushes it onto cleanup stack.
-
panic
-
ELbtErrArgument If inputs are negative or zero.
-
leave
-
Other standard Symbian error code, such as KErrNoMemory
Parameters
RMobilePhone::TMobilePhoneNetworkMode
aNetworkType
|
The network type
|
TNetworkCountryCode
aCountryCode
|
The network country code
|
TNetworkIdentity
aNetworkId
|
The network identity code
|
TUint
aLocationAreaCode
|
The location area code
|
TUint
aCellId
|
The cell id
|
SetCellId(TUint)
IMPORT_C void
|
SetCellId
|
(
|
TUint
|
aCellId
|
)
|
|
Parameters
TUint
aCellId
|
The cell id.
|
SetLocationAreaCode(TUint)
IMPORT_C void
|
SetLocationAreaCode
|
(
|
TUint
|
aLocationAreaCode
|
)
|
|
Sets the location area code.
Parameters
TUint
aLocationAreaCode
|
The location area code.
|
SetNetworkCountryCode(TNetworkCountryCode)
Sets the network country code.
-
panic
-
ELbtErrArgument If the input location area code is negative or zero.
SetNetworkIdentityCode(TNetworkIdentity)
Sets the network identity code.
-
panic
-
ELbtErrArgument If the input location area code is negative or zero.
SetNetworkType(RMobilePhone::TMobilePhoneNetworkMode)
IMPORT_C void
|
SetNetworkType
|
(
|
RMobilePhone::TMobilePhoneNetworkMode
|
aNetworkType
|
)
|
|
Parameters
RMobilePhone::TMobilePhoneNetworkMode
aNetworkType
|
The type of network
|
ValidateCellInformationL()
void
|
ValidateCellInformationL
|
(
|
)
|
|
Validates cell information.
-
leave
-
KErrArgument if any of the mandatory parameters have not been specified.
ValidateCreateCellInformationL()
void
|
ValidateCreateCellInformationL
|
(
|
)
|
|
Validates create cell information.
-
leave
-
KErrArgument if any of the mandatory parameters have not been specified.
operator=(const CLbtGeoCell &)
Prohibit assigment operator
Member Data Documentation
TUint
iCountryCode
TUint
|
iCountryCode
|
[private]
|
TUint
iLocationAreaCode
TUint
|
iLocationAreaCode
|
[private]
|
TUint
iNetworkId
TUint
|
iNetworkId
|
[private]
|
RMobilePhone::TMobilePhoneNetworkMode
iNetworkType
RMobilePhone::TMobilePhoneNetworkMode
|
iNetworkType
|
[private]
|
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.