|
Gemmi C++ API
|
#include <seqid.hpp>
Public Types | |
| enum | { None =N } |
| using | value_type = int |
Public Member Functions | |
| OptionalInt ()=default | |
| OptionalInt (int n) | |
| bool | has_value () const |
| std::string | str (char null='?') const |
| OptionalInt & | operator= (int n) |
| bool | operator== (const OptionalInt &o) const |
| bool | operator!= (const OptionalInt &o) const |
| bool | operator< (const OptionalInt &o) const |
| bool | operator== (int n) const |
| bool | operator!= (int n) const |
| OptionalInt | operator+ (OptionalInt o) const |
| OptionalInt | operator- (OptionalInt o) const |
| OptionalInt & | operator+= (int n) |
| OptionalInt & | operator-= (int n) |
| operator int () const | |
| operator bool () const | |
| int & | operator* () |
| const int & | operator* () const |
| int & | emplace (int n) |
| void | reset () noexcept |
Public Attributes | |
| int | value = None |
| using gemmi::OptionalInt< N >::value_type = int |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |