ARTS 2.5.11 (git: 6827797f)
|
Implementation of agendas. More...
#include "agenda_record.h"
#include <iostream>
#include <map>
#include "debug.h"
#include "groups.h"
#include "messages.h"
#include "workspace_global_data.h"
#include "workspace_ng.h"
#include "wsv_aux.h"
Go to the source code of this file.
Namespaces | |
namespace | global_data |
Functions | |
void | define_agenda_map () |
bool | check_agenda_data () |
Check that agendas.cc and workspace.cc are consistent. | |
ostream & | operator<< (ostream &os, const AgRecord &agr) |
Output operator for AgRecord. | |
void | write_agenda_wrapper_header (ofstream &ofs, const AgRecord &agr, bool is_agenda_array) |
Write a agenda wrapper header. | |
Variables | |
map< String, Index > | global_data::AgendaMap |
The map associated with agenda_data. | |
const Array< AgRecord > | global_data::agenda_data |
The lookup information for the agendas. | |
const ArrayOfGroupRecord | global_data::wsv_groups |
The names associated with Wsv groups as Strings. | |
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.
Definition at line 110 of file agenda_record.cc.
References global_data::agenda_data, global_data::AgendaMap, ARTS_ASSERT, DEBUG_ONLY, get_wsv_group_id(), global_data::wsv_data, and global_data::WsvMap.
Referenced by main().
void define_agenda_map | ( | ) |
Definition at line 90 of file agenda_record.cc.
References global_data::agenda_data, and global_data::AgendaMap.
Referenced by main().
ostream & operator<< | ( | ostream & | os, |
const AgRecord & | agr | ||
) |
Output operator for AgRecord.
os | Output stream. |
agr | Agenda record. |
Definition at line 171 of file agenda_record.cc.
void write_agenda_wrapper_header | ( | ofstream & | ofs, |
const AgRecord & | agr, | ||
bool | is_agenda_array | ||
) |
Write a agenda wrapper header.
ofs | The stream to write to. |
agr | Agenda record. |
Definition at line 218 of file agenda_record.cc.
References AgRecord::In(), AgRecord::Name(), AgRecord::Out(), global_data::wsv_data, and global_data::wsv_groups.
Referenced by main().