Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
stan::common::recorder::no_op Class Reference

Does nothing. More...

#include <no_op.hpp>

Public Member Functions

template<class T >
void operator() (const std::vector< T > &x)
 Do nothing with vector. More...
 
void operator() (const std::string x)
 Do nothing with a string. More...
 
void operator() ()
 Do nothing. More...
 
bool is_recording () const
 Indicator function for whether the instance is recording. More...
 

Detailed Description

Does nothing.

Definition at line 15 of file no_op.hpp.

Member Function Documentation

bool stan::common::recorder::no_op::is_recording ( ) const
inline

Indicator function for whether the instance is recording.

Definition at line 42 of file no_op.hpp.

template<class T >
void stan::common::recorder::no_op::operator() ( const std::vector< T > &  x)
inline

Do nothing with vector.

Template Parameters
Ttype of element
Parameters
xvector of type T

Definition at line 24 of file no_op.hpp.

void stan::common::recorder::no_op::operator() ( const std::string  x)
inline

Do nothing with a string.

Parameters
xstring to print with prefix in front

Definition at line 31 of file no_op.hpp.

void stan::common::recorder::no_op::operator() ( )
inline

Do nothing.

Definition at line 37 of file no_op.hpp.


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

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