bintools/rcomp/inc/STRINGAR.H
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 /*
       
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __STRINGAR_H__
       
    20 #define __STRINGAR_H__
       
    21 
       
    22 #include "ARRAY.H"  
       
    23 #include "ASTRING.H"
       
    24 
       
    25 class StringArray : public Array
       
    26 	{
       
    27 	friend ostream& operator<<(ostream & os, StringArray & s);
       
    28 	friend RCBinaryStream& operator<<(RCBinaryStream & os, StringArray & s);
       
    29 public:
       
    30 	StringArray();
       
    31 	StringArray& operator=(const StringArray& Source);
       
    32 	void Add( String * pNewItem);
       
    33 	};
       
    34 
       
    35 class StringArrayIterator : public ArrayIterator
       
    36 	{
       
    37 public:
       
    38 	StringArrayIterator(const StringArray & c);
       
    39 	String * operator()();
       
    40 	};
       
    41 	
       
    42 
       
    43 #endif