ncdengine/provider/server/src/ncdnodeitemmetadata.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 18:47:04 +0300
branchRCL_3
changeset 61 cd189dac02f7
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Implements CNcdNodeItemMetaData class
*
*/


#include "ncdnodeitemmetadata.h"
#include "ncdnodeclassids.h"
#include "ncd_pp_dataentity.h"


CNcdNodeItemMetaData* CNcdNodeItemMetaData::NewL( const CNcdNodeIdentifier& aIdentifier, 
                                                  CNcdNodeManager& aNodeManager )
    {
    CNcdNodeItemMetaData* self =   
        CNcdNodeItemMetaData::NewLC( aIdentifier, aNodeManager );
    CleanupStack::Pop( self );
    return self;        
    }

CNcdNodeItemMetaData* CNcdNodeItemMetaData::NewLC( const CNcdNodeIdentifier& aIdentifier,
                                                   CNcdNodeManager& aNodeManager )
    {
    CNcdNodeItemMetaData* self = 
        new( ELeave ) CNcdNodeItemMetaData( NcdNodeClassIds::ENcdItemNodeMetaDataClassId,
                                            aNodeManager );
    CleanupClosePushL( *self );
    self->ConstructL( aIdentifier );
    return self;        
    }


CNcdNodeItemMetaData::CNcdNodeItemMetaData( NcdNodeClassIds::TNcdNodeClassId aClassId,
                                            CNcdNodeManager& aNodeManager )
: CNcdNodeMetaData( aClassId, aNodeManager )
    {
    }

void CNcdNodeItemMetaData::ConstructL( const CNcdNodeIdentifier& aIdentifier )
    {
    CNcdNodeMetaData::ConstructL( aIdentifier );
    }

CNcdNodeItemMetaData::~CNcdNodeItemMetaData()
    {
    }        
    

void CNcdNodeItemMetaData::InternalizeL( MNcdPreminetProtocolDataEntity& aData )
    {
    CNcdNodeMetaData::InternalizeL( aData );
    }

void CNcdNodeItemMetaData::ExternalizeL( RWriteStream& aStream )
    {
    CNcdNodeMetaData::ExternalizeL( aStream );
    }
    
void CNcdNodeItemMetaData::InternalizeL( RReadStream& aStream )
    {
    CNcdNodeMetaData::InternalizeL( aStream );
    }
    
void CNcdNodeItemMetaData::ExternalizeDataForRequestL( RWriteStream& aStream ) const
    {
    CNcdNodeMetaData::ExternalizeDataForRequestL( aStream );
    }