19 #ifndef __itkFancyString_h
20 #define __itkFancyString_h
56 operator const char * ()
const;
144 void Split( std::string& lpart, std::string& rpart,
const std::string& delims =
"=:" )
const;
147 void Split( std::vector<std::string>& result,
const std::string& delims =
";|" )
const;
153 void Split( std::map<std::string,std::string>& result,
const std::string& delims =
";|" );
156 bool MatchWith(
const std::string& s2,
bool ignoreCase =
true );
159 bool StartWith(
const std::string& s2,
bool ignoreCase =
true );
162 bool EndWith(
const std::string& s2,
bool ignoreCase =
true );
165 bool ContainSub(
const std::string& s2,
bool ignoreCase =
true );
180 FancyString&
operator<<( FancyString& s,
void (*mf)(FancyString&) );
197 FancyString&
operator>>( FancyString& s, std::vector<T>& data );
204 FancyString& operator<<( FancyString& s, const std::vector<T>& data );
216 FancyString&
operator>>( FancyString& s, Array<T>& data );
223 FancyString& operator<<( FancyString& s, const Array<T>& data );
234 FancyString&
operator>>( FancyString& s, T& data );
241 FancyString&
operator<<( FancyString& s,
const T& data );
245 #ifndef ITK_MANUAL_INSTANTIATION
246 #include "itkFancyString.hxx"
249 #endif // __itkFancyString_h