DP3
Namespaces | Classes | Typedefs
dp3::parmdb Namespace Reference

Namespaces

 skymodel_to_source_db
 

Classes

class  Axis
 Classes representing a regular or irregular axis. More...
 
class  AxisCache
 This class caches Grid objects. More...
 
class  AxisMapping
 Map the cells of one axis to another. More...
 
class  AxisMappingCache
 This class caches axis mappings. It uses the unique id of the from-axis and to-axis as the key in the cache.
It is meant to avoid creating many identical mappings, because the same axes are used for many parameters. More...
 
class  Box
 Class representing a 2-dim box. More...
 
class  CellIterator
 Utility class that simplifies iterating over a 2-D range of cells. More...
 
class  Grid
 The envelope class for a 2-D grid with regular or irregular axes. -. More...
 
class  GridMapping
 
class  GridRep
 The letter class for a 2-D grid with regular or irregular axes. More...
 
class  OrderedAxis
 Ordered irregularly strided cell centered axis. The cells are ordered and disjoint, but gaps may be present. More...
 
class  Parm
 Class giving access to a parameter. More...
 
class  ParmCache
 A class dealing with caching and handling ParmDB entries. More...
 
class  ParmDB
 Envelope class for a table holding parameters. More...
 
class  ParmDBBlob
 Dummy class to hold parameters in a Blob. More...
 
class  ParmDBCasa
 Class to hold parameters in a Casa table. More...
 
class  ParmDBLocker
 Class to hold a read or write lock on ParmDBs. More...
 
class  ParmDBMeta
 Meta information for the name and type of a ParmDB. More...
 
class  ParmDBRep
 Abstract base class for a table holding parameters. More...
 
class  ParmFacade
 Data access the parameter database. More...
 
class  ParmFacadeLocal
 Data access the a local parameter database. More...
 
class  ParmFacadeRep
 Data access the parameter database. More...
 
class  ParmMap
 A map of parameter name to value set. More...
 
class  ParmSet
 Set of parameters to be used. More...
 
class  ParmValue
 A class containing the values of a parameter. More...
 
class  ParmValueSet
 A class holding information of multiple domains of a parameter. ParmValueSet holds the information of multiple domains of a parameter. It has a grid defining the domains held. More...
 
class  PatchInfo
 Info about a patch. More...
 
class  PatchSumInfo
 Info about a patch direction. More...
 
class  RegularAxis
 Regularly strided cell centered axis. More...
 
class  SourceData
 Class holding a data of a source. More...
 
class  SourceDB
 Envelope class for a table holding source parameters. More...
 
class  SourceDBBase
 
class  SourceDBBlob
 Class for a Blob file holding source parameters. More...
 
class  SourceDBCasa
 Class for a Casa table holding source parameters. More...
 
class  SourceDBRep
 Abstract base class for a table holding source parameters. More...
 
class  SourceDBSkymodel
 
class  SourceInfo
 Info about a source. More...
 

Typedefs

typedef unsigned int ParmId
 Define the type of a parmId. More...
 
typedef std::pair< double, double > Point
 Point: A point in a 2-D space. More...
 

Functions

Box unite (const Box &lhs, const Box &rhs)
 
Box intersect (const Box &lhs, const Box &rhs)
 
std::ostream & operator<< (std::ostream &os, const PatchInfo &info)
 Show the contents of a PatchInfo object. More...
 
blob::BlobOStream operator<< (blob::BlobOStream &os, const PatchInfo &info)
 Write the contents of a PatchInfo object into a blob. More...
 
blob::BlobIStream operator>> (blob::BlobIStream &os, PatchInfo &info)
 Read the contents of a PatchInfo object from a blob. More...
 
void toSkymodel (std::ostream &output, const PatchInfo &patch)
 
void toSkymodel (std::ostream &output, const SourceData &source)
 

Typedef Documentation

◆ ParmId

typedef unsigned int dp3::parmdb::ParmId

Define the type of a parmId.

◆ Point

typedef std::pair<double, double> dp3::parmdb::Point

Point: A point in a 2-D space.

Function Documentation

◆ intersect()

Box dp3::parmdb::intersect ( const Box lhs,
const Box rhs 
)

◆ operator<<() [1/2]

blob::BlobOStream dp3::parmdb::operator<< ( blob::BlobOStream os,
const PatchInfo info 
)

Write the contents of a PatchInfo object into a blob.

◆ operator<<() [2/2]

std::ostream& dp3::parmdb::operator<< ( std::ostream &  os,
const PatchInfo info 
)

Show the contents of a PatchInfo object.

◆ operator>>()

blob::BlobIStream dp3::parmdb::operator>> ( blob::BlobIStream os,
PatchInfo info 
)

Read the contents of a PatchInfo object from a blob.

◆ toSkymodel() [1/2]

void dp3::parmdb::toSkymodel ( std::ostream &  output,
const PatchInfo patch 
)

Output a patch to a skymodel text file.

The output format is used for

showsourcedb mode=skymodel

◆ toSkymodel() [2/2]

void dp3::parmdb::toSkymodel ( std::ostream &  output,
const SourceData source 
)

Output a source to a skymodel text file.

The output format is used for

showsourcedb mode=skymodel

◆ unite()

Box dp3::parmdb::unite ( const Box lhs,
const Box rhs 
)