Simpatico  v1.10
OptionalLabel.h
1 #ifndef UTIL_OPTIONAL_LABEL_H
2 #define UTIL_OPTIONAL_LABEL_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/param/Label.h>
12 
13 namespace Util
14 {
15 
23  class OptionalLabel : public Label
24  {
25 
26  public:
27 
31  OptionalLabel();
32 
38  explicit OptionalLabel(std::string string);
39 
45  explicit OptionalLabel(const char* string);
46 
52  OptionalLabel(const OptionalLabel& other);
53 
57  virtual ~OptionalLabel();
58 
59  };
60 
61 }
62 #endif
An optional Label string in a file format.
Definition: OptionalLabel.h:23
OptionalLabel()
Default constructor.
Utility classes for scientific computation.
Definition: accumulators.mod:1
A label string in a file format.
Definition: Label.h:36
virtual ~OptionalLabel()
Destructor.