ARTS  2.0.49
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_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
 

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.

References priority.

Referenced by operator<<().

◆ get_verbosity()

const Verbosity& ArtsOut::get_verbosity ( ) const
inline

Definition at line 92 of file messages.h.

References verbosity.

◆ in_main_agenda()

bool ArtsOut::in_main_agenda ( ) const
inline

Definition at line 124 of file messages.h.

References Verbosity::is_main_agenda(), and verbosity.

Referenced by operator<<().

◆ sufficient_priority_agenda()

bool ArtsOut::sufficient_priority_agenda ( ) const
inline

Does the current message have sufficient priority for agenda?

Parameters
priorityPriority of current message.
Returns
true if priority is sufficient, otherwise false.

Definition at line 99 of file messages.h.

References Verbosity::get_agenda_verbosity(), priority, and verbosity.

Referenced by operator<<().

◆ sufficient_priority_file()

bool ArtsOut::sufficient_priority_file ( ) const
inline

Does the current message have sufficient priority for file?

Parameters
priorityPriority of current message.
Returns
true if priority is sufficient, otherwise false.

Definition at line 119 of file messages.h.

References Verbosity::get_file_verbosity(), priority, and verbosity.

Referenced by operator<<().

◆ sufficient_priority_screen()

bool ArtsOut::sufficient_priority_screen ( ) const
inline

Does the current message have sufficient priority for screen?

Parameters
priorityPriority of current message.
Returns
true if priority is sufficient, otherwise false.

Definition at line 109 of file messages.h.

References Verbosity::get_screen_verbosity(), priority, and verbosity.

Referenced by operator<<().

Member Data Documentation

◆ priority

int ArtsOut::priority
private

◆ verbosity


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