ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkFDFCommonImageIO.h File Reference
#include <itkFDFImageIO.h>
#include <itkIndent.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <iterator>
#include <algorithm>
+ Include dependency graph for itkFDFCommonImageIO.h:

Go to the source code of this file.


template<class T >
void ConvertFromString (std::string s, T &value)
std::string ParseLine (std::string line)
template<class T >
void PrintVector (std::ostream &os, std::string name, const std::vector< T > &vect)
std::string RemoveCharacters (std::string, char)
template<class T >
void StringToVector (std::string value, std::vector< T > &values)
void Tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ")

Function Documentation

template<class T >
void ConvertFromString ( std::string  s,
T &  value 

Definition at line 38 of file itkFDFCommonImageIO.h.

Referenced by StringToVector().

std::string ParseLine ( std::string  line)
template<class T >
void PrintVector ( std::ostream &  os,
std::string  name,
const std::vector< T > &  vect 

Definition at line 70 of file itkFDFCommonImageIO.h.

std::string RemoveCharacters ( std::string  ,
template<class T >
void StringToVector ( std::string  value,
std::vector< T > &  values 

Definition at line 46 of file itkFDFCommonImageIO.h.

References ConvertFromString(), and Tokenize().

void Tokenize ( const std::string &  str,
std::vector< std::string > &  tokens,
const std::string &  delimiters = " " 

Referenced by StringToVector().