VR-Forces 4.2 Class Documentation
Functions
parseCSV.h File Reference

Go to the source code of this file.

Functions

template<typename Container >
void parseCSV (Container &container, std::string const &in)
 This was adapted from an improved strtok function from the gnu libstdc++ FAQ : http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/stringtok_h.txt It was changed to leave whitespace alone, and insert nulls into the list for empty fields (i.e.

Detailed Description

Function Documentation

template<typename Container >
void parseCSV ( Container &  container,
std::string const &  in 
)

This was adapted from an improved strtok function from the gnu libstdc++ FAQ : http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/stringtok_h.txt It was changed to leave whitespace alone, and insert nulls into the list for empty fields (i.e.

",,").


Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)