|
STK++ 1.0
|
00001 00002 /*--------------------------------------------------------------------*/ 00003 /* Copyright (C) 2004-2011 Serge Iovleff 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU Lesser General Public License as 00007 published by the Free Software Foundation; either version 2 of the 00008 License, or (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this program; if not, write to the 00017 Free Software Foundation, Inc., 00018 59 Temple Place, 00019 Suite 330, 00020 Boston, MA 02111-1307 00021 USA 00022 00023 Contact : Serge.Iovleff@stkpp.org 00024 */ 00025 00026 /* 00027 * Project: stkpp::DManager 00028 * created on: 18 juil. 2011 00029 * Purpose: Utilites constants and method when importing data. 00030 * Author: iovleff, serge.iovleff@stkpp.org 00031 * 00032 **/ 00033 00040 #ifndef STK_IMPORT_UTIL_H 00041 #define STK_IMPORT_UTIL_H 00042 00043 #include "../../STKernel/include/STK_String.h" 00044 00045 namespace STK 00046 { 00047 00051 namespace Import 00052 { 00054 enum TypeImport 00055 { 00057 unknown_ =0, 00059 numeric_, 00061 only_numeric_, 00063 string_, 00065 directed_, 00067 intelligent_ 00068 }; 00069 00076 TypeImport StringToTypeImport( String const& type); 00077 00082 String TypeImportToString( TypeImport const& type); 00083 } 00084 00085 } 00086 00087 #endif /* STK_IMPORT_UTIL_H */