OmniSciDB  04ee39c94c
DefaultInputParser< TOKEN_LIST_TYPE > Class Template Reference

#include <InputTokenizers.h>

Public Member Functions

template<typename INPUT_TYPE >
TOKEN_LIST_TYPE extract_tokens (INPUT_TYPE &input_stream)
 

Detailed Description

template<typename TOKEN_LIST_TYPE>
class DefaultInputParser< TOKEN_LIST_TYPE >

Definition at line 9 of file InputTokenizers.h.

Member Function Documentation

◆ extract_tokens()

template<typename TOKEN_LIST_TYPE >
template<typename INPUT_TYPE >
TOKEN_LIST_TYPE DefaultInputParser< TOKEN_LIST_TYPE >::extract_tokens ( INPUT_TYPE &  input_stream)
inline

Definition at line 12 of file InputTokenizers.h.

12  {
13  TOKEN_LIST_TYPE token_list;
14 
15  std::istringstream input_resolver(input_stream);
16  std::string input_token;
17  while (input_resolver >> input_token) {
18  token_list.push_back(input_token);
19  }
20 
21  return token_list;
22  }

The documentation for this class was generated from the following file: