VR-Forces 5.0.1 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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)