ARTS  2.3.1285(git:92a29ea9-dirty)
ArtsOut Class Reference

#include <messages.h>

Inheritance diagram for ArtsOut:
ArtsOut0 ArtsOut1 ArtsOut2 ArtsOut3

Public Member Functions

 ArtsOut (const int p, const Verbosity &v)
 
int get_priority () const
 
const Verbosityget_verbosity () const
 
bool sufficient_priority () const
 Does the current message have sufficient priority for output? More...
 
bool sufficient_priority_agenda () const
 Does the current message have sufficient priority for agenda? More...
 
bool sufficient_priority_screen () const
 Does the current message have sufficient priority for screen? More...
 
bool sufficient_priority_file () const
 Does the current message have sufficient priority for file? More...
 
bool in_main_agenda () const
 Are we in the main agenda? More...
 

Private Attributes

const Verbosityverbosity
 
int priority
 

Detailed Description

Definition at line 87 of file messages.h.

Constructor & Destructor Documentation

◆ ArtsOut()

ArtsOut::ArtsOut ( const int  p,
const Verbosity v 
)
inline

Definition at line 89 of file messages.h.

Member Function Documentation

◆ get_priority()

int ArtsOut::get_priority ( ) const
inline

Definition at line 91 of file messages.h.

Referenced by operator<<().

◆ get_verbosity()

const Verbosity& ArtsOut::get_verbosity ( ) const
inline

Definition at line 92 of file messages.h.

Referenced by arts_exit_with_error_message().

◆ in_main_agenda()

bool ArtsOut::in_main_agenda ( ) const
inline

Are we in the main agenda?

Returns
true if in main agenda, otherwise false.

Definition at line 131 of file messages.h.

◆ sufficient_priority()

bool ArtsOut::sufficient_priority ( ) const
inline

Does the current message have sufficient priority for output?

Returns
true if priority is sufficient, otherwise false.

Definition at line 98 of file messages.h.

◆ sufficient_priority_agenda()

bool ArtsOut::sufficient_priority_agenda ( ) const
inline

Does the current message have sufficient priority for agenda?

Returns
true if priority is sufficient, otherwise false.

Definition at line 107 of file messages.h.

References Verbosity::in_main_agenda.

Referenced by operator<<().

◆ sufficient_priority_file()

bool ArtsOut::sufficient_priority_file ( ) const
inline

Does the current message have sufficient priority for file?

Returns
true if priority is sufficient, otherwise false.

Definition at line 123 of file messages.h.

Referenced by operator<<().

◆ sufficient_priority_screen()

bool ArtsOut::sufficient_priority_screen ( ) const
inline

Does the current message have sufficient priority for screen?

Returns
true if priority is sufficient, otherwise false.

Definition at line 115 of file messages.h.

Referenced by operator<<().

Member Data Documentation

◆ priority

int ArtsOut::priority
private

Definition at line 135 of file messages.h.

◆ verbosity

const Verbosity& ArtsOut::verbosity
private

Definition at line 134 of file messages.h.


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