diff -r 000000000000 -r ba25891c3a9e secureswitools/swisistools/source/interpretsislib/cardinality.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/secureswitools/swisistools/source/interpretsislib/cardinality.h Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* +*/ + + +#ifndef CARDINALITY_H +#define CARDINALITY_H + +#include +#include "serialisable.h" +#include "symbiantypes.h" +#include + +class Serialiser; +class Deserialiser; +/** +* @file CARDINALITY.H +* +* @internalComponent +* @released +*/ +class Cardinality : public Serialisable// + { +public: + /** + Constructor + */ + Cardinality (); + virtual ~Cardinality (); + + virtual void Internalize(Deserialiser& des); + virtual void Externalize(Serialiser& ser); + + operator TUint32() const { return iSize; } + + TUint32 GetSize() const + { return iSize; } + + void SetSize(TUint32 aSize) + { iSize = aSize; } + +private: + TUint32 iSize; + }; + +#endif /* CARDINALITY_H */