![]() |
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
![]() |
00001 /******************************************************************************** 00002 * * 00003 * Ascii newline stream handling * 00004 * * 00005 ********************************************************************************* 00006 * Copyright (C) 2003 by Mathew Robertson. All Rights Reserved. * 00007 ********************************************************************************* 00008 * This library is free software; you can redistribute it and/or * 00009 * modify it under the terms of the GNU Lesser General Public * 00010 * License as published by the Free Software Foundation; either * 00011 * version 2.1 of the License, or (at your option) any later version. * 00012 * * 00013 * This library is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00016 * Lesser General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU Lesser General Public * 00019 * License along with this library; if not, write to the Free Software * 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * 00021 ********************************************************************************/ 00022 #ifndef FXEXARRAY_H 00023 #define FXEXARRAY_H 00024 00025 /** 00026 * The purpose of this header is to make using FXArray less frustrating... 00027 * ... as well an anything else that may be useful... 00028 * 00029 * ie. as a programmer you wont need to remember to #include the particulars 00030 * about your platform's placement-new operator. 00031 */ 00032 00033 #ifdef _GNU_SOURCE 00034 # include <new> 00035 #endif 00036 #include <fox/fxver.h> 00037 #include <fox/fxdefs.h> 00038 #include <fox/FXElement.h> 00039 #include <fox/FXArray.h> 00040 #include <fox/FXString.h> 00041 #include <fox/FXObjectList.h> 00042 using namespace FX; 00043 namespace FXEX { 00044 class FXIOHandle; 00045 class FXSocket; 00046 00047 /// support arrays/lists of strings 00048 typedef FXArray<FXString> FXStringList; 00049 00050 /// list of FXint's 00051 typedef FXArray<FXint> FXIntList; 00052 00053 /// List of IO handles 00054 typedef FXObjectListOf<FXIOHandle> FXIOHandleList; 00055 00056 /// lists of sockets 00057 typedef FXObjectListOf<FXSocket> FXSocketList; 00058 00059 } // namespace FXEX 00060 #endif //FXEXARRAY_H