#include <string>
#include <iostream>
#include <strstream>
#include <vector>
#include <errno.h>
#include "stringutil.h"
Go to the source code of this file.
Compounds | |
class | _dataiorec |
io record template class used by dataio. More... | |
class | _dataiorecbase |
io record base class used by ndataio class. Internal use only. More... | |
class | dataio |
dataio main class to perform data input/output features The primitive data that will read/write are: bool, char, wchar_t (wchar_t work? perphaps, no), string, int, long, unsigned, unsigned long, float, double, long double. More... | |
Defines | |
#define | _DATAIODEFAULTCOLUMNSEPARATOR '\t' |
default value of column separator (tab separated). More... | |
#define | _DATAIODEFAULTAUTOLINESEPARATOR '\0' |
default value of line separator that assume standard text file that use one of folowwing new line conventions: 'n' (unix), rn' (ansi - DOS, windows), 'r' (VAX,VMS), 'rn' (unknow (there exist?). More... | |
#define | _DATAIODEFAULTLINESEPARATOR _DATAIODEFAULTAUTOLINESEPARATOR |
default value of line separator (standard text file). More... | |
#define | _DATAIODEFAULTATTRIBSEPARATOR '\0' |
default value for configattribseparator (disabled) if need to read config file, active this as '=' (this is the configuration for most applications) Observe that the activation of attrib separator do not disable the use of column separator to separate variable and data. More... | |
#define | _DATAIODEFAULTDECIMAL '.' |
default value of decimal charecter (as C/C++ locale). More... | |
#define | _DATAIODEFAULTIGNORECASE false |
default value of ignorere case frag (case sensive). More... | |
#define | _DATAIODEFAULTCOMMENTLINE "//" |
default value of comment line marker (C++ line comment). More... | |
#define | _DATAIODEFAULTCOMMENTOPEN "/*" |
default value of comment block open delimiter (C/C++/java comment block marker). More... | |
#define | _DATAIODEFAULTCOMMENTCLOSE "*/" |
default value of comment block close delimiter (C/C++/java comment block marker). More... | |
#define | _DATAIODEFAULTSTDCOMMENTOPEN "/*" |
default value of standard comment block open delimiter (C/C++/java comment block marker). More... | |
#define | _DATAIODEFAULTSTDCOMMENTCLOSE "*/" |
default value of comment block close delimiter (C/C++/java comment block marker). More... | |
#define | _DATAIODEFAULTLINEWRAP "" |
default value of line wrap (append next line) marker (disabled). More... | |
#define | _DATAIODEFAULTMAXCOLUMNONLINE (~0U) |
default value of maximun column on the line. It column exceds this and line wrap is actived (!linewrap.empty() ), operator>>() perform line wrapping. More... | |
#define | _DATAIODEFAULTCOLUMNORIENTED false |
default value of column oriented data flag (is not column oriented). More... | |
#define | _DATAIODEFAULTISTABLE false |
default value of istable data flag (is not the table data). More... | |
#define | _DATAIODEFAULTEMPTYISVALID true |
default value of emptyisvalid data flag (empty is valid value, if suitable). More... | |
#define | _DATAIODEFAULTEXTENDEDMODE true |
default value of extendedmode data flag (work in extended mode). More... | |
#define | _DATAIODEFAULTVALIDATEALL true |
default value of validateall() (the unrefered variables is validated). More... | |
#define | _DATAIODEFAULTCLEAREMPTYTAIL true |
default value for clearemptytail. More... | |
#define | _DATAIODEFAULTSTRINGDELIMITER '\"' |
default value of stringdelimiter() (C/C++ java mode delimiter). More... | |
#define | _DATAIODEFAULTSCAPECHAR '\0' |
default value of scapechar (disabled: for C/C++ java mode char scape sequence, use ''). More... | |
#define | _DATAIODEFAULTTHROWEXCEPTION false |
default value of throwexception (disabled). More... | |
#define | _DATAIODEFAULTPRINTERROR true |
default value of printerror (enabled). More... | |
#define | _DATAIODEFAULTCOLLECTNAMES true |
default value for refersubnames() (collect refered names). More... | |
#define | _DATAIODEFAULTPARSEALLINPUTSTRING false |
default values for parseallinputstring. More... | |
#define | _DATAIODEFAULTSECTIONNAMEOPEN '\0' |
Default value for sectionameopen (disabled: for windows ini file like, use '['). More... | |
#define | _DATAIODEFAULTSECTIONNAMECLOSE '\0' |
Default value for sectionameclose (disabled: for windows ini file like, use ']'). More... | |
#define | _DATAIODEFAULTSTDSECTIONNAMEOPEN '[' |
Default value for sectionameopen for default section mode (windows ini line). More... | |
#define | _DATAIODEFAULTSTDSECTIONNAMECLOSE ']' |
Default value for sectionameclose for default section mode (windows ini file like). More... | |
#define | _DATAIODEFAULTREVERSEBYTEORDER false |
for binary input/output usage default values for reversebyteorder. More... | |
#define | _DATAIODEFAULTYESLIST {"true", "on", "yes", 0} |
used by bool type input: the item on list is assumed true Note: the empty value is assumed false. More... | |
#define | _DATAIODEFAULTNOLIST {"false", "off", "no", 0} |
used by bool type input: the item on list is assumed false Note: if velue is not on yes list and on false list, is assumed false. More... | |
#define | _DATAIODEFAULTYESVALUE "yes" |
defalt word for true value on bool type. More... | |
#define | _DATAIODEFAULTNOVALUE "no" |
defalt word for false value on bool type. More... |