VieSched++
VieVS VLBI Scheduling Software
VieVS::Ast Class Reference

create Operation in Ast format More...

#include <Ast.h>

Inheritance diagram for VieVS::Ast:
Collaboration diagram for VieVS::Ast:

Public Member Functions

 Ast (const std::string &file)
 constructor More...
 
void writeAstFile (const Network &network, const SourceList &sourceList, const std::vector< Scan > &scans, const boost::property_tree::ptree &xml, const std::shared_ptr< const ObservingMode > &obsModes)
 write ast file More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Private Member Functions

void experiment (const boost::property_tree::ptree &xml)
 write experiment block More...
 
void stationParameters (const Station &station, const std::shared_ptr< const ObservingMode > &obsModes)
 write experiment block More...
 
void scanOutput (const std::vector< Scan > &scans, const SourceList &sourceList, const std::vector< Station > &stations, const std::shared_ptr< const ObservingMode > &obsModes)
 write experiment block More...
 

Private Attributes

std::ofstream of
 output stream object More...
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Detailed Description

create Operation in Ast format

Author
Matthias Schartner
Date
26.02.2019

Constructor & Destructor Documentation

Ast::Ast ( const std::string &  file)
explicit

constructor

Author
Matthias Schartner
Parameters
filefile name

Member Function Documentation

void Ast::experiment ( const boost::property_tree::ptree &  xml)
private

write experiment block

Author
Matthias Schartner
Parameters
xmlparamters.xml file

Here is the call graph for this function:

Here is the caller graph for this function:

void Ast::scanOutput ( const std::vector< Scan > &  scans,
const SourceList sourceList,
const std::vector< Station > &  stations,
const std::shared_ptr< const ObservingMode > &  obsModes 
)
private

write experiment block

Author
Matthias Schartner
Parameters
scanslist of all scans
sourceListlist of all sources
stationslist of stations
obsModesobserving modes

Here is the call graph for this function:

Here is the caller graph for this function:

void Ast::stationParameters ( const Station station,
const std::shared_ptr< const ObservingMode > &  obsModes 
)
private

write experiment block

Author
Matthias Schartner
Parameters
stationstation
obsModesobserving modes

Here is the call graph for this function:

Here is the caller graph for this function:

void Ast::writeAstFile ( const Network network,
const SourceList sourceList,
const std::vector< Scan > &  scans,
const boost::property_tree::ptree &  xml,
const std::shared_ptr< const ObservingMode > &  obsModes 
)

write ast file

Author
Matthias Schartner
Parameters
networkstation network
sourceListlist of all sources
scanslist of all scans
xmlparamters.xml file
obsModesobserving mode

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

unsigned long Ast::nextId = 0
staticprivate

next id for this object type

std::ofstream VieVS::Ast::of
private

output stream object


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