ARTS  2.4.0(git:4fb77825)
agenda_record.h File Reference

Declarations for AgRecord, storing lookup information for one agenda. More...

#include <iostream>
#include "arts.h"
#include "mystring.h"

Go to the source code of this file.

Classes

class  AgRecord
 Lookup information for one agenda. More...
 

Functions

void define_agenda_data ()
 
void define_agenda_map ()
 
bool check_agenda_data ()
 Check that agendas.cc and workspace.cc are consistent. More...
 
void write_agenda_wrapper_header (ofstream &ofs, const AgRecord &agr, bool is_agenda_array)
 Write a agenda wrapper header. More...
 
ostream & operator<< (ostream &os, const AgRecord &agr)
 Output operator for AgRecord. More...
 

Detailed Description

Declarations for AgRecord, storing lookup information for one agenda.

Author
Stefan Buehler sbueh.nosp@m.ler@.nosp@m.ltu.s.nosp@m.e
Date
Thu Mar 14 08:49:33 2002

Definition in file agenda_record.h.

Function Documentation

◆ check_agenda_data()

bool check_agenda_data ( )

Check that agendas.cc and workspace.cc are consistent.

This functions makes sure, that there is a matching entry in both lookup tables for each agenda.

If the function returns at all, it will return true. The return value is only there so that we can put the function call in an assert statement.

Returns
Always true.

Definition at line 115 of file agenda_record.cc.

References global_data::agenda_data, global_data::AgendaMap, and DEBUG_ONLY.

Referenced by InteractiveWorkspace::initialize(), and main().

◆ define_agenda_data()

void define_agenda_data ( )

Definition at line 44 of file agendas.cc.

References global_data::agenda_data, DESCRIPTION, INPUT, NAME, and OUTPUT.

Referenced by ARTS::init(), InteractiveWorkspace::initialize(), and main().

◆ define_agenda_map()

void define_agenda_map ( )

◆ operator<<()

ostream& operator<< ( ostream &  os,
const AgRecord agr 
)

Output operator for AgRecord.

Parameters
osOutput stream.
agrAgenda record.
Returns
Output stream.

Definition at line 177 of file agenda_record.cc.

References AgRecord::Description(), AgRecord::In(), AgRecord::Name(), Absorption::nelem(), AgRecord::Out(), and Workspace::wsv_data.

◆ write_agenda_wrapper_header()

void write_agenda_wrapper_header ( ofstream &  ofs,
const AgRecord agr,
bool  is_agenda_array 
)

Write a agenda wrapper header.

Parameters
ofsThe stream to write to.
agrAgenda record.

Definition at line 270 of file agenda_record.cc.

References AgRecord::In(), AgRecord::Name(), AgRecord::Out(), Workspace::wsv_data, and global_data::wsv_group_names.

Referenced by main().