19#ifndef itkFancyString_h
20#define itkFancyString_h
26#include "ITKIOXMLExport.h"
59 operator const char *()
const;
76 ToData(std::vector<T> & outputData,
int count = -1);
100 template <
typename T>
109 template <
typename T>
120 operator const std::string &()
const;
132 template <
typename T>
140 template <
typename T>
158 Trim(
const std::string & dislike =
" \t\n\r");
178 Split(std::string & lpart, std::string & rpart,
const std::string & delims =
"=:")
const;
182 Split(std::vector<std::string> & result,
const std::string & delims =
";|")
const;
189 Split(std::map<std::string, std::string> & result,
const std::string & delims =
";|");
193 MatchWith(
const std::string & s2,
bool ignoreCase =
true);
197 StartWith(
const std::string & s2,
bool ignoreCase =
true);
201 EndWith(
const std::string & s2,
bool ignoreCase =
true);
314#ifndef ITK_MANUAL_INSTANTIATION
315# include "itkFancyString.hxx"
Array class with size defined at construction time.
A special string type that is used to aid I/O operations in DOM-based object readers/writers.
void Split(std::map< std::string, std::string > &result, const std::string &delims=";|")
FancyString & FromData(const std::vector< T > &inputData)
FancyString & ToLowerCase()
void Split(std::string &lpart, std::string &rpart, const std::string &delims="=:") const
FancyString & ToData(T &outputData)
FancyString & ToData(Array< T > &outputData, int count=-1)
FancyString & FromData(const Array< T > &inputData)
FancyString & TrimRight(const std::string &dislike=" \t\n\r")
bool StartWith(const std::string &s2, bool ignoreCase=true)
const std::string & ToString() const
FancyString & FromData(const T &inputData)
FancyString & operator=(const char *s)
FancyString(const char *s)
FancyString & TrimLeft(const std::string &dislike=" \t\n\r")
FancyString & ToData(std::vector< T > &outputData, int count=-1)
FancyString & Trim(const std::string &dislike=" \t\n\r")
void Append(const FancyString &str)
FancyString(const std::string &str)
bool ContainSub(const std::string &s2, bool ignoreCase=true)
bool MatchWith(const std::string &s2, bool ignoreCase=true)
void Split(std::vector< std::string > &result, const std::string &delims=";|") const
FancyString & operator=(const std::string &str)
bool EndWith(const std::string &s2, bool ignoreCase=true)
FancyString & ToUpperCase()
bool ITKIOXML_EXPORT operator==(itk::FancyString &s, const std::string &)
bool ITKIOXML_EXPORT operator!=(itk::FancyString &s, const std::string &)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void ClearContent(FancyString &input)
std::istream & operator>>(std::istream &is, Point< T, VPointDimension > &vct)
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)