ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
FrDumpObjects.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <list>
#include <memory>
#include <stdexcept>
#include <string>
#include <vector>
#include <boost/shared_array.hpp>
#include "ldastoolsal/MemChecker.hh"
#include "ldastoolsal/CommandLineOptions.hh"
#include "ldastoolsal/fstream.hh"
#include "ldastoolsal/unordered_map.hh"
#include "ldastoolsal/regex.hh"
#include "ldastoolsal/regexmatch.hh"
#include "ldastoolsal/reverse.hh"
#include "ldastoolsal/types.hh"
#include "framecpp/Common/Verify.hh"
#include "framecpp/FrameCPP.hh"
#include "StandardOptions.hh"
Include dependency graph for FrDumpObjects.cc:

Classes

class  Description
 
struct  Description::info
 
class  FrHeader
 
union  FrHeader::data
 
class  FrObject
 
class  ARRAY_TYPE
 
class  STRING
 
class  PTR_STRUCT
 
class  InputStream
 
class  FrameStream
 
class  SymbolTable
 
class  Output
 
class  CommandLine
 Class to handle command line options for this application. More...
 

Macros

#define READER(T)
 
#define CONVERT(T)
 
#define CONVERT(T)
 
#define CONVERT(T)
 
#define READ(TYPE)
 
#define DUMP(TYPE)
 

Typedefs

typedef INT_2U class_id_type
 
typedef INT_2U version_type
 

Enumerations

enum  { CLASS_ID_COMMON_ELEMENTS = 0 , CLASS_ID_FrSH = 1 , CLASS_ID_FrSE = 2 }
 
enum  data_type_type {
  DATA_TYPE_UNKNOWN , DATA_TYPE_CHAR , DATA_TYPE_CHAR_U , DATA_TYPE_INT_2S ,
  DATA_TYPE_INT_2U , DATA_TYPE_INT_4S , DATA_TYPE_INT_4U , DATA_TYPE_INT_8S ,
  DATA_TYPE_INT_8U , DATA_TYPE_REAL_4 , DATA_TYPE_REAL_8 , DATA_TYPE_STRING ,
  DATA_TYPE_PTR_STRUCT , DATA_TYPE_COMPLEX_8 , DATA_TYPE_COMPLEX_16
}
 
enum  { MODE_STRUCT , MODE_HEX }
 

Functions

static INT_8U ClassSize (const std::string &Class)
 
void depart (int ExitCode)
 
int main (int ArgC, const char **ArgV)
 

Variables

static InputStream IStream
 
static FrameStream FStream
 
static Output Log (std::cout)
 

Macro Definition Documentation

◆ CONVERT [1/3]

#define CONVERT ( T)
Value:
( Class.compare( #T ) == 0 ) \
{ \
T* d = static_cast< T* >( Data ); \
retval << ( *d ); \
}

◆ CONVERT [2/3]

#define CONVERT ( T)
Value:
( DataType == #T ) \
{ \
retval = *( static_cast< T* >( Data ) ); \
}

◆ CONVERT [3/3]

#define CONVERT ( T)
Value:
( DataType == #T ) \
{ \
retval = *( static_cast< T* >( Data ) ); \
}

◆ DUMP

#define DUMP ( TYPE)
Value:
( DATA_TYPE_##TYPE == m_data_type ) \
{ \
dump< TYPE >( retval ); \
}

◆ READ

#define READ ( TYPE)
Value:
( t.compare( #TYPE ) == 0 ) \
{ \
read< TYPE >( Stream, value ); \
m_data_type = DATA_TYPE_##TYPE; \
m_size = value; \
}

◆ READER

#define READER ( T)
Value:
( Class == #T ) \
{ \
retval = new T; \
IStream.Read( retval, sizeof( T ) ); \
if ( m_byte_swapping ) \
{ \
reverse< sizeof( T ) >( retval, 1 ); \
} \
}
object_type Read()
Definition FrameStream.cc:484
Definition compression_beta.cc:308

Typedef Documentation

◆ class_id_type

typedef INT_2U class_id_type

◆ version_type

typedef INT_2U version_type

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CLASS_ID_COMMON_ELEMENTS 
CLASS_ID_FrSH 
CLASS_ID_FrSE 

◆ anonymous enum

anonymous enum
Enumerator
MODE_STRUCT 
MODE_HEX 

◆ data_type_type

Enumerator
DATA_TYPE_UNKNOWN 
DATA_TYPE_CHAR 
DATA_TYPE_CHAR_U 
DATA_TYPE_INT_2S 
DATA_TYPE_INT_2U 
DATA_TYPE_INT_4S 
DATA_TYPE_INT_4U 
DATA_TYPE_INT_8S 
DATA_TYPE_INT_8U 
DATA_TYPE_REAL_4 
DATA_TYPE_REAL_8 
DATA_TYPE_STRING 
DATA_TYPE_PTR_STRUCT 
DATA_TYPE_COMPLEX_8 
DATA_TYPE_COMPLEX_16 

Function Documentation

◆ ClassSize()

static INT_8U ClassSize ( const std::string & Class)
static

◆ depart()

void depart ( int ExitCode)
inline

◆ main()

int main ( int ArgC,
const char ** ArgV )

Variable Documentation

◆ FStream

FrameStream FStream
static

◆ IStream

InputStream IStream
static

◆ Log

Output Log(std::cout) ( std::cout )
static