CNSmlDmPcdata Class Reference

class CNSmlDmPcdata : public CBase

CNSmlDmPcdata is data element in DDF tree structure

Since

Inherits from

Constructor & Destructor Documentation

CNSmlDmPcdata()

CNSmlDmPcdata ( )

Constructor

Example usage:

         // replace <featureUID> with a real UID 

 #include <featmgr/featmgr.h>
 #include <bldvariant.hrh> // for feature definitions

 CMyClass::ConstructL()
     {
     // Sets up TLS, must be done before FeatureManager is used.
     FeatureManager::InitializeLibL();
     // Used in destructor. 
     iFeatMgrInitialized = ETrue;
     }

 CMyClass::ShowMenuL()
     {
     if ( FeatureManager::FeatureSupported( <featureUID> ) )
         {
         // Feature supported, show menu item associated with it.
         }
     }

 CMyClass::~CMyClass()
     {
     // Do not call UnInitializeLib() if InitalizeLib() leaves.
     if ( iFeatMgrInitialized )
         {
	      // Frees the TLS. Must be done after FeatureManager is used.
         FeatureManager::UnInitializeLib();  
         }
     }
        

~CNSmlDmPcdata()

~CNSmlDmPcdata ( )

Destructor

Member Functions Documentation

Compare(const TUint8 *, TInt)

TBool Compare ( const TUint8 * aStr,
TInt aLength
)

Compare data

Parameters

const TUint8 * aStr Data start pointer
TInt aLength Data length

DataL(const TDesC8 &)

void DataL ( const TDesC8 & aData )

Sets data

Parameters

const TDesC8 & aData Data to be set

FreeContent()

void FreeContent ( )

Frees content

Member Data Documentation

TAny * iContent

TAny * iContent

Pointer to the data

TInt iLength

TInt iLength

Length of the data in this PCDATA structure