include/ert/util/string_util.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2013 Equinor ASA, Norway.
3
4 The file 'string_util.h' is part of ERT - Ensemble based Reservoir Tool.
5
6 ERT is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 ERT is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.
14
15 See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
16 for more details.
17*/
18#ifndef ERT_STRING_UTIL_H
19#define ERT_STRING_UTIL_H
20
21#include <ert/util/int_vector.hpp>
22#include <ert/util/bool_vector.hpp>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28 bool string_util_init_active_list( const char * range_string , int_vector_type * active_list );
29 bool string_util_update_active_list( const char * range_string , int_vector_type * active_list );
30 int_vector_type * string_util_alloc_active_list( const char * range_string );
31
32 bool string_util_init_active_mask( const char * range_string , bool_vector_type * active_mask);
33 bool string_util_update_active_mask( const char * range_string , bool_vector_type * active_mask);
34 bool_vector_type * string_util_alloc_active_mask( const char * range_string );
35
36 bool string_util_update_value_list( const char * range_string , int_vector_type * value_list);
37 bool string_util_init_value_list( const char * range_string , int_vector_type * value_list );
38 int_vector_type * string_util_alloc_value_list(const char * range_string);
39
40#ifdef __cplusplus
41}
42#endif
43#endif
int_vector_type * string_util_alloc_active_list(const char *range_string)
bool string_util_update_value_list(const char *range_string, int_vector_type *value_list)
bool string_util_update_active_list(const char *range_string, int_vector_type *active_list)
bool_vector_type * string_util_alloc_active_mask(const char *range_string)
bool string_util_init_active_mask(const char *range_string, bool_vector_type *active_mask)
int_vector_type * string_util_alloc_value_list(const char *range_string)
bool string_util_update_active_mask(const char *range_string, bool_vector_type *active_mask)
bool string_util_init_value_list(const char *range_string, int_vector_type *value_list)
bool string_util_init_active_list(const char *range_string, int_vector_type *active_list)