80 itkSetStringMacro(FileName);
85 itkSetMacro(FieldDelimiterCharacter,
char);
88 itkGetMacro(FieldDelimiterCharacter,
char);
92 itkSetMacro(UseStringDelimiterCharacter,
bool);
95 itkGetConstMacro(UseStringDelimiterCharacter,
bool);
98 itkSetMacro(StringDelimiterCharacter,
char);
101 itkGetMacro(StringDelimiterCharacter,
char);
105 itkSetMacro(HasRowHeaders,
bool);
108 itkGetConstMacro(HasRowHeaders,
bool);
112 itkSetMacro(HasColumnHeaders,
bool);
115 itkGetConstMacro(HasColumnHeaders,
bool);
121 itkBooleanMacro(HasRowHeaders);
122 itkBooleanMacro(HasColumnHeaders);
123 itkBooleanMacro(UseStringDelimiterCharacter);
142 template <
typename TData>
147 std::istringstream isstream(str);
149 if ((isstream >> value).fail() || !(isstream >> std::ws).eof())
151 return std::numeric_limits<TData>::quiet_NaN();