Stan  2.10.0
probability, sampling & optimization
Public Member Functions | Protected Attributes | List of all members
stan::services::valued_argument Class Referenceabstract

#include <valued_argument.hpp>

Inheritance diagram for stan::services::valued_argument:
stan::services::argument stan::services::list_argument stan::services::singleton_argument< T > stan::services::arg_engine stan::services::arg_method stan::services::arg_metric stan::services::arg_optimize_algo stan::services::arg_sample_algo stan::services::arg_test stan::services::arg_variational_algo stan::services::arg_adapt_delta stan::services::arg_adapt_engaged stan::services::arg_adapt_gamma stan::services::arg_adapt_init_buffer stan::services::arg_adapt_kappa stan::services::arg_adapt_t0 stan::services::arg_adapt_term_buffer stan::services::arg_adapt_window stan::services::arg_data_file stan::services::arg_diagnostic_file stan::services::arg_history_size stan::services::arg_id stan::services::arg_init stan::services::arg_init_alpha stan::services::arg_int_time stan::services::arg_iter stan::services::arg_max_depth stan::services::arg_num_samples stan::services::arg_num_warmup stan::services::arg_output_file stan::services::arg_refresh stan::services::arg_save_iterations stan::services::arg_save_warmup stan::services::arg_seed stan::services::arg_softabs_alpha stan::services::arg_stepsize stan::services::arg_stepsize_jitter stan::services::arg_test_grad_eps stan::services::arg_test_grad_err stan::services::arg_thin stan::services::arg_tolerance stan::services::arg_variational_adapt_engaged stan::services::arg_variational_adapt_iter stan::services::arg_variational_eta stan::services::arg_variational_eval_elbo stan::services::arg_variational_iter stan::services::arg_variational_num_samples stan::services::arg_variational_output_samples stan::services::arg_x_delta

Public Member Functions

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)
 
virtual std::string print_value ()=0
 
virtual std::string print_valid ()=0
 
virtual bool is_default ()=0
 
- 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 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, interface_callbacks::writer::base_writer &w)
 
virtual void find_arg (const std::string &name, const std::string &prefix, std::vector< std::string > &valid_paths)
 
virtual argumentarg (const std::string &name)
 
int compute_indent (const int depth)
 

Protected Attributes

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)
 

Detailed Description

Definition at line 10 of file valued_argument.hpp.

Member Function Documentation

virtual bool stan::services::valued_argument::is_default ( )
pure virtual
virtual void stan::services::valued_argument::print ( interface_callbacks::writer::base_writer w,
const int  depth,
const std::string &  prefix 
)
inlinevirtual

Implements stan::services::argument.

Reimplemented in stan::services::list_argument.

Definition at line 12 of file valued_argument.hpp.

virtual void stan::services::valued_argument::print_help ( interface_callbacks::writer::base_writer w,
const int  depth,
const bool  recurse = false 
)
inlinevirtual

Implements stan::services::argument.

Reimplemented in stan::services::list_argument.

Definition at line 24 of file valued_argument.hpp.

virtual std::string stan::services::valued_argument::print_valid ( )
pure virtual
virtual std::string stan::services::valued_argument::print_value ( )
pure virtual

Member Data Documentation

std::string stan::services::valued_argument::_default
protected

Definition at line 42 of file valued_argument.hpp.

std::string stan::services::valued_argument::_value_type
protected

Definition at line 43 of file valued_argument.hpp.


The documentation for this class was generated from the following file:

     [ Stan Home Page ] © 2011–2016, Stan Development Team.