VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
csvUtil.h File Reference

Go to the source code of this file.

Functions

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

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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)