PSCF v1.1
BracketPolicy.h
1#ifndef UTIL_BRACKET_POLICY_H
2#define UTIL_BRACKET_POLICY_H
3
4/*
5* Util Package - C++ Utilities for Scientific Computation
6*
7* Copyright 2010 - 2017, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include <util/global.h>
12
13namespace Util
14{
15
21 namespace BracketPolicy
22 {
23
27 enum Type {Required, Forbidden, Optional};
28
32 void set(BracketPolicy::Type policy);
33
37 Type get();
38
39 };
40
41}
42#endif
File containing preprocessor macros for error handling.
void set(BracketPolicy::Type policy)
Set policy regarding use of bracket delimiters on arrays.
BracketPolicy::Type get()
Get value of bracket policy.
Type
Typeeration of policies regarding use of delimiters on arrays.
Definition: BracketPolicy.h:27
Utility classes for scientific computation.
Definition: accumulators.mod:1