Parse list of strings. More...
#include "mbl_parse_string_list.h"
#include <mbl/mbl_exception.h>
#include <mbl/mbl_parse_block.h>
#include <vcl_sstream.h>
Go to the source code of this file.
Functions | |
void | mbl_parse_string_list (vcl_istream &is, vcl_vector< vcl_string > &items, const vcl_string &comment_str) |
Parse list of strings. | |
void | mbl_parse_string_list (const vcl_string &data, vcl_vector< vcl_string > &items, const vcl_string &comment_str) |
Parse list of strings. |
Parse list of strings.
Definition in file mbl_parse_string_list.cxx.
void mbl_parse_string_list | ( | vcl_istream & | is, |
vcl_vector< vcl_string > & | items, | ||
const vcl_string & | comment_str | ||
) |
Parse list of strings.
Expects format of data:
{ string1 string2 string3 ... }
Throws a mbl_exception_parse_error if it fails.
Definition at line 19 of file mbl_parse_string_list.cxx.
void mbl_parse_string_list | ( | const vcl_string & | data, |
vcl_vector< vcl_string > & | items, | ||
const vcl_string & | comment_str | ||
) |
Parse list of strings.
Expects format of data:
{ string1 string2 string3 ... }
Throws a mbl_exception_parse_error if it fails.
Definition at line 67 of file mbl_parse_string_list.cxx.