ldas-tools-framecpp  2.9.3
Macros | Typedefs | Functions
test_frameCPP_cpp.cc File Reference
#include <sys/stat.h>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <boost/test/included/unit_test.hpp>
#include <boost/pointer_cast.hpp>
#include <boost/scoped_array.hpp>
#include <boost/shared_ptr.hpp>
#include "ldastoolsal/Exec.hh"
#include "ldastoolsal/fstream.hh"
#include "framecpp/Common/BaseMemoryBuffer.hh"
#include "framecpp/Common/DynamicMemoryBuffer.hh"
#include "framecpp/Common/MemoryBuffer.hh"
#include "framecpp/Common/FrameBuffer.hh"
#include "framecpp/IFrameStream.hh"
#include "framecpp/OFrameStream.hh"
#include "framecpp/FrameH.hh"
#include "framecpp/FrRawData.hh"
#include "framecpp/FrVect.hh"
Include dependency graph for test_frameCPP_cpp.cc:

Macros

#define BOOST_TEST_MAIN
 
#define SMALL_FRAMES_TYPE   1
 
#define FH_VERSION   Version_8
 

Typedefs

typedef FrameCPP::Common::FrameBufferInterface::Scanner Scanner
 
typedef FrameBuffer< LDASTools::AL::filebuf > frame_buffer_type
 
typedef boost::shared_ptr< FrameCPP::Common::FrameHbuild_frame_type
 
typedef FrameCPP::Common::FrameSpec::version_type frame_version_type
 
typedef GPSTime start_time_type
 
typedef REAL_8 dt_type
 

Functions

static build_frame_type create_frame (frame_version_type Version, start_time_type Start, dt_type Dt)
 
const std::string & TEST_DIR ()
 
const std::string & filename_source (int Spec=FRAME_SPEC_CURRENT)
 
void test_dynamic_memory_buffer ()
 
void test_memory_buffer ()
 
 BOOST_AUTO_TEST_CASE (test_memory_buffer_ro)
 
 BOOST_AUTO_TEST_CASE (test_scanner)
 
 BOOST_AUTO_TEST_CASE (test_standard)
 
 BOOST_AUTO_TEST_CASE (test_small_frames)
 
 BOOST_AUTO_TEST_CASE (test_read_events)
 
template<frame_version_type >
build_frame_type frameh (start_time_type StartTime, dt_type Dt)
 
template<>
build_frame_type frameh< 8 > (start_time_type StartTime, dt_type Dt)
 

Macro Definition Documentation

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

◆ FH_VERSION

#define FH_VERSION   Version_8

◆ SMALL_FRAMES_TYPE

#define SMALL_FRAMES_TYPE   1

Typedef Documentation

◆ build_frame_type

typedef boost::shared_ptr< FrameCPP::Common::FrameH > build_frame_type

◆ dt_type

typedef REAL_8 dt_type

◆ frame_buffer_type

typedef FrameBuffer< LDASTools::AL::filebuf > frame_buffer_type

◆ frame_version_type

◆ Scanner

◆ start_time_type

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( test_memory_buffer_ro  )

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( test_read_events  )

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( test_scanner  )

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( test_small_frames  )

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( test_standard  )

◆ create_frame()

static build_frame_type create_frame ( frame_version_type  Version,
start_time_type  Start,
dt_type  Dt 
)
static

◆ filename_source()

const std::string& filename_source ( int  Spec = FRAME_SPEC_CURRENT)
inline

◆ frameh()

template<frame_version_type >
build_frame_type frameh ( start_time_type  StartTime,
dt_type  Dt 
)

◆ frameh< 8 >()

template<>
build_frame_type frameh< 8 > ( start_time_type  StartTime,
dt_type  Dt 
)

◆ TEST_DIR()

const std::string& TEST_DIR ( )
inline

◆ test_dynamic_memory_buffer()

void test_dynamic_memory_buffer ( )

◆ test_memory_buffer()

void test_memory_buffer ( )