summaryrefslogtreecommitdiff
path: root/indra/llcommon/llboost.h
blob: 7b39ed082e3b2f37c97b645046d7d901294ce9eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** 
 * @file llboost.h
 * @brief helper object & functions for use with boost
 *
 * Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLBOOST_H
#define LL_LLBOOST_H

#include <boost/tokenizer.hpp>

// boost_tokenizer typedef
/* example usage:
	boost_tokenizer tokens(input_string, boost::char_separator<char>(" \t\n"));
	for (boost_tokenizer::iterator token_iter = tokens.begin(); token_iter != tokens.end(); ++token_iter)
	{
		std::string tok = *token_iter;
		process_token_string( tok );
	}
*/
typedef boost::tokenizer<boost::char_separator<char> > boost_tokenizer;

#endif // LL_LLBOOST_H