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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)