![]() |
Stan
2.14.0
probability, sampling & optimization
|
#include <singleton_argument.hpp>
Public Member Functions | |
| singleton_argument () | |
| singleton_argument (const std::string name) | |
| bool | parse_args (std::vector< std::string > &args, interface_callbacks::writer::base_writer &info, interface_callbacks::writer::base_writer &err, bool &help_flag) |
| virtual void | probe_args (argument *base_arg, stan::interface_callbacks::writer::base_writer &w) |
| void | find_arg (const std::string &name, const std::string &prefix, std::vector< std::string > &valid_paths) |
| T | value () |
| bool | set_value (const T &value) |
| std::string | print_value () |
| std::string | print_valid () |
| bool | is_default () |
Public Member Functions inherited from stan::services::valued_argument | |
| virtual void | print (interface_callbacks::writer::base_writer &w, const int depth, const std::string &prefix) |
| virtual void | print_help (interface_callbacks::writer::base_writer &w, const int depth, const bool recurse=false) |
Public Member Functions inherited from stan::services::argument | |
| argument () | |
| argument (const std::string &name) | |
| virtual | ~argument () |
| std::string | name () const |
| std::string | description () const |
| virtual argument * | arg (const std::string &name) |
| int | compute_indent (const int depth) |
Protected Member Functions | |
| virtual bool | is_valid (T value) |
Protected Attributes | |
| std::string | _validity |
| T | _value |
| T | _default_value |
| bool | _constrained |
| T | _good_value |
| T | _bad_value |
Protected Attributes inherited from stan::services::valued_argument | |
| std::string | _default |
| std::string | _value_type |
Protected Attributes inherited from stan::services::argument | |
| std::string | _name |
| std::string | _description |
| int | indent_width |
| int | help_width |
Additional Inherited Members | |
Static Public Member Functions inherited from stan::services::argument | |
| static void | split_arg (const std::string &arg, std::string &name, std::string &value) |
Definition at line 45 of file singleton_argument.hpp.
|
inline |
Definition at line 47 of file singleton_argument.hpp.
|
inlineexplicit |
Definition at line 53 of file singleton_argument.hpp.
|
inlinevirtual |
Reimplemented from stan::services::argument.
Definition at line 113 of file singleton_argument.hpp.
|
inlinevirtual |
Implements stan::services::valued_argument.
Definition at line 139 of file singleton_argument.hpp.
|
inlineprotectedvirtual |
Definition at line 145 of file singleton_argument.hpp.
|
inlinevirtual |
Reimplemented from stan::services::argument.
Definition at line 57 of file singleton_argument.hpp.
|
inlinevirtual |
Implements stan::services::valued_argument.
Definition at line 135 of file singleton_argument.hpp.
|
inlinevirtual |
Implements stan::services::valued_argument.
Definition at line 131 of file singleton_argument.hpp.
|
inlinevirtual |
Reimplemented from stan::services::argument.
Definition at line 96 of file singleton_argument.hpp.
|
inline |
Definition at line 123 of file singleton_argument.hpp.
|
inline |
Definition at line 121 of file singleton_argument.hpp.
|
protected |
Definition at line 153 of file singleton_argument.hpp.
|
protected |
Definition at line 150 of file singleton_argument.hpp.
|
protected |
Definition at line 148 of file singleton_argument.hpp.
|
protected |
Definition at line 152 of file singleton_argument.hpp.
|
protected |
Definition at line 144 of file singleton_argument.hpp.
|
protected |
Definition at line 147 of file singleton_argument.hpp.