ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
StaticFrDetector.cc File Reference
#include <sstream>
#include <boost/filesystem.hpp>
#include <boost/test/included/unit_test.hpp>
#include "ldastoolsal/fstream.hh"
#include "framecpp/Common/CheckSum.hh"
#include "framecpp/Common/Verify.hh"
#include "framecpp/FrameH.hh"
#include "framecpp/IFrameStream.hh"
#include "framecpp/OFrameStream.hh"
#include "ramp.hh"
Include dependency graph for StaticFrDetector.cc:

Macros

#define BOOST_TEST_MAIN
#define REAL_4_TOLERANCE   0.00000001
#define REAL_8_TOLERANCE   0.000000000001

Typedefs

typedef FrameCPP::FrDetector::FrDetectorCache_element FrDetectorPtr

Functions

void create_frame (const std::string &Filename, bool IncludeFrDetector)
void validate (const std::string &FrameFilename, bool ShouldHaveFrDetector, bool IsFrameFileValid)
void remove_frame (const std::string &Filename)
bool validate_fr_detector (FrDetectorPtr Detector, const std::string &Name, const std::string &Prefix, REAL_8 Longitude, REAL_8 Latitude, REAL_4 Elevation, REAL_4 ArmXazimuth, REAL_4 ArmYazimuth, REAL_4 ArmXaltitude, REAL_4 ArmYaltitude, REAL_4 ArmXmidpoint, REAL_4 ArmYmidpoint, INT_2U DataQualityOffset)
 BOOST_AUTO_TEST_CASE (static_fr_detector_validate_detectors)
 BOOST_AUTO_TEST_CASE (static_fr_detector_search_by_name)
 BOOST_AUTO_TEST_CASE (static_fr_detector_search_by_prefix)
 BOOST_AUTO_TEST_CASE (static_fr_detector_written)
 BOOST_AUTO_TEST_CASE (static_fr_detector_absent)

Variables

static bool METADATA_IS_VALID = true
static bool FR_DETECTOR_IS_PRESENT = true

Macro Definition Documentation

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

◆ REAL_4_TOLERANCE

#define REAL_4_TOLERANCE   0.00000001

◆ REAL_8_TOLERANCE

#define REAL_8_TOLERANCE   0.000000000001

Typedef Documentation

◆ FrDetectorPtr

typedef FrameCPP::FrDetector::FrDetectorCache_element FrDetectorPtr

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( static_fr_detector_absent )

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( static_fr_detector_search_by_name )

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( static_fr_detector_search_by_prefix )

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( static_fr_detector_validate_detectors )

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( static_fr_detector_written )

◆ create_frame()

void create_frame ( const std::string & Filename,
bool IncludeFrDetector )

◆ remove_frame()

void remove_frame ( const std::string & Filename)

◆ validate()

void validate ( const std::string & FrameFilename,
bool ShouldHaveFrDetector,
bool IsFrameFileValid )

◆ validate_fr_detector()

bool validate_fr_detector ( FrDetectorPtr Detector,
const std::string & Name,
const std::string & Prefix,
REAL_8 Longitude,
REAL_8 Latitude,
REAL_4 Elevation,
REAL_4 ArmXazimuth,
REAL_4 ArmYazimuth,
REAL_4 ArmXaltitude,
REAL_4 ArmYaltitude,
REAL_4 ArmXmidpoint,
REAL_4 ArmYmidpoint,
INT_2U DataQualityOffset )

Variable Documentation

◆ FR_DETECTOR_IS_PRESENT

bool FR_DETECTOR_IS_PRESENT = true
static

◆ METADATA_IS_VALID

bool METADATA_IS_VALID = true
static