|
STK++ 1.0
|
The STK::Import namespace contains the constants used in the DManager project when importing data in STK containers. More...
Enumerations | |
| enum | TypeImport { unknown_ = 0, numeric_, only_numeric_, string_, directed_, intelligent_ } |
| define the type of import we want to perform. More... | |
Functions | |
| TypeImport | StringToTypeImport (String const &type) |
| Convert a String to a TypeImport. | |
| String | TypeImportToString (TypeImport const &type) |
| convert a TypeImport to a String. | |
The STK::Import namespace contains the constants used in the DManager project when importing data in STK containers.
define the type of import we want to perform.
Definition at line 54 of file STK_Import_Util.h.
{
unknown_ =0,
numeric_,
only_numeric_,
string_,
directed_,
intelligent_
};
| String STK::Import::TypeImportToString | ( | TypeImport const & | type | ) |
convert a TypeImport to a String.
| type | the type of import we want to use |
Definition at line 66 of file STK_Import_Util.cpp.
References _T, directed_, intelligent_, numeric_, only_numeric_, and string_.
{
if (type == numeric_) return String(_T("numeric"));
if (type == only_numeric_) return String(_T("only_numeric"));
if (type == string_) return String(_T("string"));
if (type == directed_) return String(_T("directed"));
if (type == intelligent_) return String(_T("intelligent"));
return String(_T("unknown"));
}