#include <nonroot_var.hpp>
Public Member Functions | |
| nonroot_var () | |
| Default constructor gives a null variable. | |
| nonroot_var (const var &v) | |
| Assign from a root or a non-root variable. | |
| var | get () const |
| Access the variable. | |
| const var & | ref () const |
| Access the variable. | |
| var & | ref () |
| Access the variable. | |
| bool | operator< (const var &v) const |
| Comparison for use in containers. | |
Definition at line 8 of file nonroot_var.hpp.
| var dynamic::internal::nonroot_var::get | ( | ) | const [inline] |
Access the variable.
This is less efficient than ref() because this converts the value to a root variable
Definition at line 25 of file nonroot_var.hpp.
References dynamic::var_impl::as_root(), and dynamic::var::impl().
| var& dynamic::internal::nonroot_var::ref | ( | ) | [inline] |
Access the variable.
This variable is a non-root variable so must not be returned from a function
Definition at line 41 of file nonroot_var.hpp.
| const var& dynamic::internal::nonroot_var::ref | ( | ) | const [inline] |
Access the variable.
This variable is a non-root variable so must not be returned from a function
Definition at line 33 of file nonroot_var.hpp.
1.5.7.1