template <typename ValueT>

class MaybeConstantView

Defined at line 30 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

MaybeConstantView is a "view" type that "reads" a value passed into its

constructor.

This is used internally by generated structure view classes to provide views

of parameters; in this way, parameters can be treated like fields in the

generated code.

Public Methods

void MaybeConstantView<ValueT> ()

Defined at line 32 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

void MaybeConstantView<ValueT> (ValueT value)

Defined at line 33 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

void MaybeConstantView<ValueT> (const MaybeConstantView<ValueT> & )

Defined at line 34 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

void MaybeConstantView<ValueT> (MaybeConstantView<ValueT> && )

Defined at line 35 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

MaybeConstantView<ValueT> & operator= (const MaybeConstantView<ValueT> & )

Defined at line 36 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

MaybeConstantView<ValueT> & operator= (MaybeConstantView<ValueT> && )

Defined at line 37 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

void ~MaybeConstantView<ValueT> ()

Defined at line 38 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

ValueT Read ()

Defined at line 40 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

ValueT UncheckedRead ()

Defined at line 41 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h

bool Ok ()

Defined at line 42 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_constant_view.h