ARTS  2.2.66
ArtsOut Class Reference

#include <messages.h>

Inheritance diagram for ArtsOut:
Collaboration diagram for ArtsOut:

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

Verbosity verbosity
 
int priority
 

Detailed Description

Definition at line 86 of file messages.h.

Constructor & Destructor Documentation

◆ ArtsOut()

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

Definition at line 88 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.

◆ 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 130 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 97 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 106 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 122 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 114 of file messages.h.

Referenced by operator<<().

Member Data Documentation

◆ priority

int ArtsOut::priority
private

Definition at line 137 of file messages.h.

◆ verbosity

Verbosity ArtsOut::verbosity
private

Definition at line 136 of file messages.h.


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