ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
CommandLine Class Reference

Class to handle command line options for this application. More...

Inheritance diagram for CommandLine:
Collaboration diagram for CommandLine:

Classes

struct  regex_sub
 

Public Types

typedef std::string history_msg_type
 
typedef bool with_fr_event_type
 
typedef bool with_fr_msg_type
 
typedef bool with_fr_sim_event_type
 
typedef bool with_fr_summary_type
 
typedef bool with_fr_table_type
 
typedef INT_4U block_size_type
 
typedef std::list< std::string > channel_container_type
 
typedef CommandLineOptions::option_type option_type
 
typedef std::pair< object_type, request_typearget_typerequest_type
 
typedef std::list< request_typerequest_container_type
 
typedef std::pair< INT_4U, INT_4U > range_info_type
 
typedef std::vector< range_info_typerange_type
 

Public Member Functions

 CommandLine (int ArgC, char **ArgV)
 
const channel_set_typeChannelsOfTypeProc () const
 
void ChannelsOfTypeProc (const std::string &Value)
 
const channel_set_typeChannelsOfTypeSerData () const
 
const channel_set_typeChannelsOfTypeSimData () const
 
const channel_set_typeChannelType () const
 
void ChannelType (const std::string &Value)
 
const std::string & Description () const
 
void Description (const std::string &Value)
 
const detector_typeDetector () const
 
INT_4U Duration () const
 
void Duration (INT_4U Value)
 
const history_msg_typeHistoryMsg () const
 
INT_4U Iterations () const
 
void Iterations (INT_4U Value)
 
const std::string & ProgramName () const
 
const GPSTime & StartTime () const
 
void StartTime (const GPSTime &Value)
 
bool TestFrameMode () const
 
void TestFrameMode (bool Value)
 
version_type Version () const
 
void Version (version_type Value)
 
bool WithFrEvent () const
 
bool WithFrMsg () const
 
bool WithFrSimEvent () const
 
bool WithFrSummary () const
 
bool WithFrTable () const
 
void Usage (int ExitValue) const
 
 CommandLine (int ArgC, char **ArgV)
 
block_size_type BlockSize () const
 
void Eval ()
 
bool MemoryMappedIO () const
 
void Usage (int ExitValue) const
 
 CommandLine (argc_type ArgC, char **ArgV)
 
bool BadOption () const
 
INT_4U BlockSize () const
 
const std::string & Compression () const
 
INT_4U Level () const
 
bool MemoryMappedIO () const
 
const std::string & OutputName () const
 
void Usage (int ExitValue) const
 
 CommandLine (int ArgC, char **ArgV)
 
bool BadOption () const
 
void Usage (int ExitValue) const
 
 CommandLine (int ArgC, char **ArgV)
 
const channels_typeChannels () const
 
const filenames_typeFilenames () const
 
const std::string & Output () const
 
void Usage (int ExitValue) const
 
void operator() ()
 
 CommandLine (int ArgC, char **ArgV)
 
bool BadOption () const
 
size_t BlockSize () const
 
const channel_container_typeChannels () const
 
bool ListChannels () const
 
bool Raw () const
 
bool SilentData () const
 
bool UseMemoryMappedIO () const
 
bool UseTOCOptimization () const
 
void Usage (int ExitValue) const
 
 CommandLine (argc_type ArgC, argv_type ArgV)
 
bool BadOption () const
 
INT_4U BlockSize () const
 
INT_4U MaximumDataElements () const
 
bool MemoryMappedIO () const
 
bool Silent () const
 
bool SilentData () const
 
void Usage (int ExitValue) const
 
 CommandLine (int ArgC, char **ArgV)
 
void Usage (int ExitValue) const
 
bool BadOption () const
 
void Range (INT_4U First, INT_4U Last)
 
const range_typeRanges () const
 
void RangesPop ()
 
const request_container_typeRequests () const
 
bool ScientificNotation () const
 
void ScientificNotation (bool Value)
 
bool SilentData () const
 
void SilentData (bool Value)
 
 CommandLine (int ArgC, char **ArgV)
 
void Usage (int ExitValue) const
 
bool BadOption () const
 
void DirectoryInput (const std::string &Value)
 
const std::string & DirectoryInput () const
 
void DirectoryOutput (const std::string &Value)
 
const std::string & DirectoryOutput () const
 
const Regex & FilenamePattern () const
 
const std::string & FilenameFormat () const
 
void FilenamePattern (const std::string &Value)
 
const std::string & Format () const
 
const Regex & Pattern () const
 
void Pattern (const std::string &Value)
 
size_t Verbose ()
 
void VerboseInc ()
 
 CommandLine (int ArgC, char **ArgV)
 
void Usage (int ExitValue) const
 
bool BadOption () const
 
size_t BlockSize ()
 
void BlockSize (size_t Value)
 
bool ChecksumFileOnly ()
 
void ChecksumFileOnly (bool Value)
 
bool ChecksumFrames ()
 
void ChecksumFrames (bool Value)
 
bool CollectAllErrors () const
 
void CollectAllErrors (bool Value)
 
bool DataValid ()
 
void DataValid (bool Value)
 
bool DataValidAll ()
 
void DataValidAll (bool Value)
 
bool DuplicateChannelNames ()
 
void DuplicateChannelNames (bool Value)
 
bool Force ()
 
void Force (bool Value)
 
bool MetadataCheck ()
 
void MetadataCheck (bool Value)
 
bool Relax ()
 
void Relax (bool Value)
 
bool RelaxEOFChecksum ()
 
void RelaxEOFChecksum (bool Value)
 
bool UseMemoryMappedIO ()
 
void UseMemoryMappedIO (bool Value)
 
size_t Verbose ()
 
void VerboseInc ()
 
 CommandLine (int ArgC, char **ArgV)
 
void Usage (int ExitValue) const
 
bool BadOption () const
 
size_t BlockSize ()
 
void BlockSize (size_t Value)
 
bool ChecksumFile ()
 
void ChecksumFile (bool Value)
 
bool ChecksumFileOnly ()
 
void ChecksumFileOnly (bool Value)
 
bool ChecksumFrames ()
 
void ChecksumFrames (bool Value)
 
bool ChecksumStructure ()
 
void ChecksumStructure (bool Value)
 
bool Force ()
 
void Force (bool Value)
 
void operator() ()
 
bool RelaxEOFChecksum ()
 
void RelaxEOFChecksum (bool Value)
 
bool UseMemoryMappedIO ()
 
void UseMemoryMappedIO (bool Value)
 
size_t Verbose ()
 
void VerboseInc ()
 

Private Types

enum  compression_type { COMPRESSION_BLOCK , COMPRESSION_FR_STRUCTS , COMPRESSION_STREAM }
 
enum  mode_type { MODE_COMPRESS , MODE_CREATE_DICTIONARY }
 
enum  option_type {
  OPT_HELP , OPT_BLOCK_SIZE , OPT_COMPRESSION_MODE , OPT_CREATE_DICTIONARY ,
  OPT_DICTIONARY_FILE , OPT_LEVEL , OPT_SEGMENT_SIZE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 
enum  option_types {
  OPT_BLOCK_SIZE , OPT_HELP , OPT_COMPRESSION_LEVEL , OPT_COMPRESSION_MODE ,
  OPT_MEMORY_MAPPED_IO , OPT_OUTPUT , OPT_HELP , OPT_CHANNELS ,
  OPT_OUTPUT , OPT_FILENAMES , OPT_HELP , OPT_BLOCK_SIZE ,
  OPT_CHANNEL , OPT_HELP , OPT_LIST_CHANNELS , OPT_RAW ,
  OPT_SILENT_DATA , OPT_TOC_OPT , OPT_USE_MEMORY_MAPPED_IO , OPT_BLOCK_SIZE ,
  OPT_HELP , OPT_MAXIMUM_DATA_ELEMENTS , OPT_MEMORY_MAPPED_IO , OPT_SILENT ,
  OPT_SILENT_DATA , OPT_ADC , OPT_DUMP , OPT_FRAME_RANGE ,
  OPT_HEADER , OPT_HELP , OPT_LIST , OPT_PROC ,
  OPT_SCIENTIFIC_NOTATION , OPT_SILENT_DATA , OPT_HELP , OPT_DIRECTORY_IN ,
  OPT_DIRECTORY_OUT , OPT_PATTERN , OPT_PATTERN_FILENAME , OPT_VERBOSE ,
  OPT_BLOCK_SIZE , OPT_CHECKSUM_FILE_ONLY , OPT_CHECKSUM_FRAMES , OPT_COLLECT_ALL_ERRORS ,
  OPT_DATA_VALID , OPT_DATA_VALID_ALL , OPT_DUPLICATE_CHANNEL_NAMES , OPT_FORCE ,
  OPT_HELP , OPT_METADATA_CHECK , OPT_METADATA_CHECK_NO , OPT_RELAX ,
  OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE , OPT_BLOCK_SIZE ,
  OPT_CHECKSUM_FILE , OPT_CHECKSUM_FRAMES , OPT_CHECKSUM_STRUCTURE , OPT_FORCE ,
  OPT_HELP , OPT_RELAX_EOF_CHECKSUM , OPT_USE_MEMORY_MAPPED_IO , OPT_VERBOSE
}
 

Private Member Functions

void compress_fr_structs ()
 

Private Attributes

po::options_description m_options
 
channel_set_type m_channel_set
 
channel_set_type channel_proc_set
 
channel_set_type channel_ser_data_set
 
channel_set_type channel_sim_data_set
 
std::string m_description
 
detector_type detector
 
INT_4U m_duration
 
history_msg_type history_msg
 
INT_4U m_iterations
 
std::string m_program_name
 
GPSTime m_start_time
 
bool m_test_frame_mode
 
version_type m_version
 
with_fr_event_type with_fr_event = false
 
with_fr_msg_type with_fr_msg = false
 
with_fr_sim_event_type with_fr_sim_event = false
 
with_fr_summary_type with_fr_summary = false
 
with_fr_table_type with_fr_table = false
 
OptionSet options
 
block_size_type block_size
 
bool memory_mapped_io
 
compression_type compression
 
std::string dictionary_file
 
int level
 
mode_type mode
 
block_size_type segment_size
 
OptionSet m_options
 
INT_4U m_block_size
 
std::string m_compression
 
INT_4U m_level
 
bool m_memory_mapped_io
 
std::string m_output_name
 
channels_type channels
 
filenames_type filenames
 
std::string output
 
size_t bs
 
channel_container_type m_channels
 
bool list_channels
 
bool m_raw
 
bool m_use_memory_mapped_io = false
 
bool silent_data
 
bool toc_optimization
 
INT_4U m_maximum_data_elements
 
bool m_silent
 
bool m_silent_data
 
bool m_scientific_notation
 
request_container_type m_requests
 
range_type m_ranges
 
std::string directory_input
 
std::string directory_output
 
regex_sub pattern
 
regex_sub pattern_filename
 
int verbose
 
size_t m_block_size = DEFAULT_BUFFER_SIZE
 
bool m_checksum_file_only = false
 
bool m_checksum_frames = false
 
bool collect_all_errors = false
 
bool m_data_valid = false
 
bool m_data_valid_all = false
 
bool duplicate_channel_names = true
 
bool m_force = false
 
bool m_metadata_check = false
 
bool m_relax = false
 
bool m_relax_eof_checksum = false
 
size_t m_verbose = 0
 
bool m_checksum_file
 
bool m_checksum_structure
 

Detailed Description

Class to handle command line options for this application.

Member Typedef Documentation

◆ block_size_type

◆ channel_container_type

typedef std::list< std::string > CommandLine::channel_container_type

◆ history_msg_type

◆ option_type

CommandLineOptions::option_type CommandLine::option_type

◆ range_info_type

std::pair< INT_4U, INT_4U > CommandLine::range_info_type

◆ range_type

◆ request_container_type

◆ request_type

◆ with_fr_event_type

◆ with_fr_msg_type

◆ with_fr_sim_event_type

◆ with_fr_summary_type

◆ with_fr_table_type

Member Enumeration Documentation

◆ compression_type

Enumerator
COMPRESSION_BLOCK 
COMPRESSION_FR_STRUCTS 
COMPRESSION_STREAM 

◆ mode_type

enum CommandLine::mode_type
private
Enumerator
MODE_COMPRESS 
MODE_CREATE_DICTIONARY 

◆ option_type

enum typedef CommandLineOptions::option_type CommandLine::option_type
private
Enumerator
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_COMPRESSION_MODE 
OPT_CREATE_DICTIONARY 
OPT_DICTIONARY_FILE 
OPT_LEVEL 
OPT_SEGMENT_SIZE 

◆ option_types [1/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [2/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [3/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [4/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [5/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [6/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [7/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [8/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

◆ option_types [9/9]

Enumerator
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_COMPRESSION_LEVEL 
OPT_COMPRESSION_MODE 
OPT_MEMORY_MAPPED_IO 
OPT_OUTPUT 
OPT_HELP 
OPT_CHANNELS 
OPT_OUTPUT 
OPT_FILENAMES 
OPT_HELP 
OPT_BLOCK_SIZE 
OPT_CHANNEL 
OPT_HELP 
OPT_LIST_CHANNELS 
OPT_RAW 
OPT_SILENT_DATA 
OPT_TOC_OPT 
OPT_USE_MEMORY_MAPPED_IO 
OPT_BLOCK_SIZE 
OPT_HELP 
OPT_MAXIMUM_DATA_ELEMENTS 
OPT_MEMORY_MAPPED_IO 
OPT_SILENT 
OPT_SILENT_DATA 
OPT_ADC 
OPT_DUMP 
OPT_FRAME_RANGE 
OPT_HEADER 
OPT_HELP 
OPT_LIST 
OPT_PROC 
OPT_SCIENTIFIC_NOTATION 
OPT_SILENT_DATA 
OPT_HELP 
OPT_DIRECTORY_IN 
OPT_DIRECTORY_OUT 
OPT_PATTERN 
OPT_PATTERN_FILENAME 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE_ONLY 
OPT_CHECKSUM_FRAMES 
OPT_COLLECT_ALL_ERRORS 
OPT_DATA_VALID 
OPT_DATA_VALID_ALL 
OPT_DUPLICATE_CHANNEL_NAMES 
OPT_FORCE 
OPT_HELP 
OPT_METADATA_CHECK 
OPT_METADATA_CHECK_NO 
OPT_RELAX 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 
OPT_BLOCK_SIZE 
OPT_CHECKSUM_FILE 
OPT_CHECKSUM_FRAMES 
OPT_CHECKSUM_STRUCTURE 
OPT_FORCE 
OPT_HELP 
OPT_RELAX_EOF_CHECKSUM 
OPT_USE_MEMORY_MAPPED_IO 
OPT_VERBOSE 

Constructor & Destructor Documentation

◆ CommandLine() [1/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [2/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [3/11]

CommandLine::CommandLine ( argc_type ArgC,
char ** ArgV )

◆ CommandLine() [4/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [5/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [6/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [7/11]

CommandLine::CommandLine ( argc_type ArgC,
argv_type ArgV )

◆ CommandLine() [8/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [9/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [10/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

◆ CommandLine() [11/11]

CommandLine::CommandLine ( int ArgC,
char ** ArgV )

Member Function Documentation

◆ BadOption() [1/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [2/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [3/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [4/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [5/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [6/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [7/8]

bool CommandLine::BadOption ( ) const
inline

◆ BadOption() [8/8]

bool CommandLine::BadOption ( ) const
inline

◆ BlockSize() [1/8]

size_t CommandLine::BlockSize ( )
inline

◆ BlockSize() [2/8]

size_t CommandLine::BlockSize ( )
inline

◆ BlockSize() [3/8]

CommandLine::block_size_type CommandLine::BlockSize ( ) const
inline

◆ BlockSize() [4/8]

INT_4U CommandLine::BlockSize ( ) const
inline

◆ BlockSize() [5/8]

size_t CommandLine::BlockSize ( ) const
inline

◆ BlockSize() [6/8]

INT_4U CommandLine::BlockSize ( ) const
inline

◆ BlockSize() [7/8]

void CommandLine::BlockSize ( size_t Value)
inline

◆ BlockSize() [8/8]

void CommandLine::BlockSize ( size_t Value)
inline

◆ Channels() [1/2]

const channels_type & CommandLine::Channels ( ) const
inline

◆ Channels() [2/2]

const channel_container_type & CommandLine::Channels ( ) const
inline

◆ ChannelsOfTypeProc() [1/2]

const channel_set_type & CommandLine::ChannelsOfTypeProc ( ) const
inline

◆ ChannelsOfTypeProc() [2/2]

void CommandLine::ChannelsOfTypeProc ( const std::string & Value)
inline

◆ ChannelsOfTypeSerData()

const channel_set_type & CommandLine::ChannelsOfTypeSerData ( ) const
inline

◆ ChannelsOfTypeSimData()

const channel_set_type & CommandLine::ChannelsOfTypeSimData ( ) const
inline

◆ ChannelType() [1/2]

const channel_set_type & CommandLine::ChannelType ( ) const
inline

◆ ChannelType() [2/2]

void CommandLine::ChannelType ( const std::string & Value)
inline

◆ ChecksumFile() [1/2]

bool CommandLine::ChecksumFile ( )
inline

◆ ChecksumFile() [2/2]

void CommandLine::ChecksumFile ( bool Value)
inline

◆ ChecksumFileOnly() [1/4]

bool CommandLine::ChecksumFileOnly ( )
inline

◆ ChecksumFileOnly() [2/4]

bool CommandLine::ChecksumFileOnly ( )
inline

◆ ChecksumFileOnly() [3/4]

void CommandLine::ChecksumFileOnly ( bool Value)
inline

◆ ChecksumFileOnly() [4/4]

void CommandLine::ChecksumFileOnly ( bool Value)
inline

◆ ChecksumFrames() [1/4]

bool CommandLine::ChecksumFrames ( )
inline

◆ ChecksumFrames() [2/4]

bool CommandLine::ChecksumFrames ( )
inline

◆ ChecksumFrames() [3/4]

void CommandLine::ChecksumFrames ( bool Value)
inline

◆ ChecksumFrames() [4/4]

void CommandLine::ChecksumFrames ( bool Value)
inline

◆ ChecksumStructure() [1/2]

bool CommandLine::ChecksumStructure ( )
inline

◆ ChecksumStructure() [2/2]

void CommandLine::ChecksumStructure ( bool Value)
inline

◆ CollectAllErrors() [1/2]

bool CommandLine::CollectAllErrors ( ) const
inline

◆ CollectAllErrors() [2/2]

void CommandLine::CollectAllErrors ( bool Value)
inline

◆ compress_fr_structs()

void CommandLine::compress_fr_structs ( )
private

◆ Compression()

const std::string & CommandLine::Compression ( ) const
inline

◆ DataValid() [1/2]

bool CommandLine::DataValid ( )
inline

◆ DataValid() [2/2]

void CommandLine::DataValid ( bool Value)
inline

◆ DataValidAll() [1/2]

bool CommandLine::DataValidAll ( )
inline

◆ DataValidAll() [2/2]

void CommandLine::DataValidAll ( bool Value)
inline

◆ Description() [1/2]

const std::string & CommandLine::Description ( ) const
inline

◆ Description() [2/2]

void CommandLine::Description ( const std::string & Value)
inline

◆ Detector()

const detector_type & CommandLine::Detector ( ) const
inline

◆ DirectoryInput() [1/2]

const std::string & CommandLine::DirectoryInput ( ) const
inline

◆ DirectoryInput() [2/2]

void CommandLine::DirectoryInput ( const std::string & Value)
inline

◆ DirectoryOutput() [1/2]

const std::string & CommandLine::DirectoryOutput ( ) const
inline

◆ DirectoryOutput() [2/2]

void CommandLine::DirectoryOutput ( const std::string & Value)
inline

◆ DuplicateChannelNames() [1/2]

bool CommandLine::DuplicateChannelNames ( )
inline

◆ DuplicateChannelNames() [2/2]

void CommandLine::DuplicateChannelNames ( bool Value)
inline

◆ Duration() [1/2]

INT_4U CommandLine::Duration ( ) const
inline

◆ Duration() [2/2]

void CommandLine::Duration ( INT_4U Value)
inline

◆ Eval()

void CommandLine::Eval ( )

◆ FilenameFormat()

const std::string & CommandLine::FilenameFormat ( ) const
inline

◆ FilenamePattern() [1/2]

const Regex & CommandLine::FilenamePattern ( ) const
inline

◆ FilenamePattern() [2/2]

void CommandLine::FilenamePattern ( const std::string & Value)
inline

◆ Filenames()

const filenames_type & CommandLine::Filenames ( ) const
inline

◆ Force() [1/4]

bool CommandLine::Force ( )
inline

◆ Force() [2/4]

bool CommandLine::Force ( )
inline

◆ Force() [3/4]

void CommandLine::Force ( bool Value)
inline

◆ Force() [4/4]

void CommandLine::Force ( bool Value)
inline

◆ Format()

const std::string & CommandLine::Format ( ) const
inline

◆ HistoryMsg()

const history_msg_type & CommandLine::HistoryMsg ( ) const
inline

◆ Iterations() [1/2]

INT_4U CommandLine::Iterations ( ) const
inline

◆ Iterations() [2/2]

void CommandLine::Iterations ( INT_4U Value)
inline

◆ Level()

INT_4U CommandLine::Level ( ) const
inline

◆ ListChannels()

bool CommandLine::ListChannels ( ) const
inline

◆ MaximumDataElements()

INT_4U CommandLine::MaximumDataElements ( ) const
inline

◆ MemoryMappedIO() [1/3]

bool CommandLine::MemoryMappedIO ( ) const
inline

◆ MemoryMappedIO() [2/3]

bool CommandLine::MemoryMappedIO ( ) const
inline

◆ MemoryMappedIO() [3/3]

bool CommandLine::MemoryMappedIO ( ) const
inline

◆ MetadataCheck() [1/2]

bool CommandLine::MetadataCheck ( )
inline

◆ MetadataCheck() [2/2]

void CommandLine::MetadataCheck ( bool Value)
inline

◆ operator()() [1/2]

void CommandLine::operator() ( )
inline

◆ operator()() [2/2]

void CommandLine::operator() ( )

◆ Output()

const std::string & CommandLine::Output ( ) const
inline

◆ OutputName()

const std::string & CommandLine::OutputName ( ) const
inline

◆ Pattern() [1/2]

const Regex & CommandLine::Pattern ( ) const
inline

◆ Pattern() [2/2]

void CommandLine::Pattern ( const std::string & Value)
inline

◆ ProgramName()

const std::string & CommandLine::ProgramName ( ) const
inline

◆ Range()

void CommandLine::Range ( INT_4U First,
INT_4U Last )
inline

◆ Ranges()

const range_type & CommandLine::Ranges ( ) const
inline

◆ RangesPop()

void CommandLine::RangesPop ( )
inline

◆ Raw()

bool CommandLine::Raw ( ) const
inline

◆ Relax() [1/2]

bool CommandLine::Relax ( )
inline

◆ Relax() [2/2]

void CommandLine::Relax ( bool Value)
inline

◆ RelaxEOFChecksum() [1/4]

bool CommandLine::RelaxEOFChecksum ( )
inline

◆ RelaxEOFChecksum() [2/4]

bool CommandLine::RelaxEOFChecksum ( )
inline

◆ RelaxEOFChecksum() [3/4]

void CommandLine::RelaxEOFChecksum ( bool Value)
inline

◆ RelaxEOFChecksum() [4/4]

void CommandLine::RelaxEOFChecksum ( bool Value)
inline

◆ Requests()

const request_container_type & CommandLine::Requests ( ) const
inline

◆ ScientificNotation() [1/2]

bool CommandLine::ScientificNotation ( ) const
inline

◆ ScientificNotation() [2/2]

void CommandLine::ScientificNotation ( bool Value)
inline

◆ Silent()

bool CommandLine::Silent ( ) const
inline

◆ SilentData() [1/4]

bool CommandLine::SilentData ( ) const
inline

◆ SilentData() [2/4]

bool CommandLine::SilentData ( ) const
inline

◆ SilentData() [3/4]

bool CommandLine::SilentData ( ) const
inline

◆ SilentData() [4/4]

void CommandLine::SilentData ( bool Value)
inline

◆ StartTime() [1/2]

const GPSTime & CommandLine::StartTime ( ) const
inline

◆ StartTime() [2/2]

void CommandLine::StartTime ( const GPSTime & Value)
inline

◆ TestFrameMode() [1/2]

bool CommandLine::TestFrameMode ( ) const
inline

◆ TestFrameMode() [2/2]

void CommandLine::TestFrameMode ( bool Value)
inline

◆ Usage() [1/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [2/11]

void CommandLine::Usage ( int ExitValue) const

◆ Usage() [3/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [4/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [5/11]

void CommandLine::Usage ( int ExitValue) const

◆ Usage() [6/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [7/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [8/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [9/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [10/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ Usage() [11/11]

void CommandLine::Usage ( int ExitValue) const
inline

◆ UseMemoryMappedIO() [1/5]

bool CommandLine::UseMemoryMappedIO ( )
inline

◆ UseMemoryMappedIO() [2/5]

bool CommandLine::UseMemoryMappedIO ( )
inline

◆ UseMemoryMappedIO() [3/5]

bool CommandLine::UseMemoryMappedIO ( ) const
inline

◆ UseMemoryMappedIO() [4/5]

void CommandLine::UseMemoryMappedIO ( bool Value)
inline

◆ UseMemoryMappedIO() [5/5]

void CommandLine::UseMemoryMappedIO ( bool Value)
inline

◆ UseTOCOptimization()

bool CommandLine::UseTOCOptimization ( ) const
inline

◆ Verbose() [1/3]

size_t CommandLine::Verbose ( )
inline

◆ Verbose() [2/3]

size_t CommandLine::Verbose ( )
inline

◆ Verbose() [3/3]

size_t CommandLine::Verbose ( )
inline

◆ VerboseInc() [1/3]

void CommandLine::VerboseInc ( )
inline

◆ VerboseInc() [2/3]

void CommandLine::VerboseInc ( )
inline

◆ VerboseInc() [3/3]

void CommandLine::VerboseInc ( )
inline

◆ Version() [1/2]

version_type CommandLine::Version ( ) const
inline

◆ Version() [2/2]

void CommandLine::Version ( version_type Value)
inline

◆ WithFrEvent()

bool CommandLine::WithFrEvent ( ) const
inline

◆ WithFrMsg()

bool CommandLine::WithFrMsg ( ) const
inline

◆ WithFrSimEvent()

bool CommandLine::WithFrSimEvent ( ) const
inline

◆ WithFrSummary()

bool CommandLine::WithFrSummary ( ) const
inline

◆ WithFrTable()

bool CommandLine::WithFrTable ( ) const
inline

Member Data Documentation

◆ block_size

block_size_type CommandLine::block_size
private

◆ bs

size_t CommandLine::bs
private

◆ channel_proc_set

channel_set_type CommandLine::channel_proc_set
private

◆ channel_ser_data_set

channel_set_type CommandLine::channel_ser_data_set
private

◆ channel_sim_data_set

channel_set_type CommandLine::channel_sim_data_set
private

◆ channels

channels_type CommandLine::channels
private

◆ collect_all_errors

bool CommandLine::collect_all_errors = false
private

◆ compression

compression_type CommandLine::compression
private

◆ detector

detector_type CommandLine::detector
private

◆ dictionary_file

std::string CommandLine::dictionary_file
private

◆ directory_input

std::string CommandLine::directory_input
private

◆ directory_output

std::string CommandLine::directory_output
private

◆ duplicate_channel_names

bool CommandLine::duplicate_channel_names = true
private

◆ filenames

filenames_type CommandLine::filenames
private

◆ history_msg

history_msg_type CommandLine::history_msg
private

◆ level

int CommandLine::level
private

◆ list_channels

bool CommandLine::list_channels
private

◆ m_block_size [1/2]

size_t CommandLine::m_block_size
private

◆ m_block_size [2/2]

size_t CommandLine::m_block_size = DEFAULT_BUFFER_SIZE
private

◆ m_channel_set

channel_set_type CommandLine::m_channel_set
private

◆ m_channels

channel_container_type CommandLine::m_channels
private

◆ m_checksum_file

bool CommandLine::m_checksum_file
private

◆ m_checksum_file_only

bool CommandLine::m_checksum_file_only = false
private

◆ m_checksum_frames

bool CommandLine::m_checksum_frames = false
private

◆ m_checksum_structure

bool CommandLine::m_checksum_structure
private

◆ m_compression

std::string CommandLine::m_compression
private

◆ m_data_valid

bool CommandLine::m_data_valid = false
private

◆ m_data_valid_all

bool CommandLine::m_data_valid_all = false
private

◆ m_description

std::string CommandLine::m_description
private

◆ m_duration

INT_4U CommandLine::m_duration
private

◆ m_force

bool CommandLine::m_force = false
private

◆ m_iterations

INT_4U CommandLine::m_iterations
private

◆ m_level

INT_4U CommandLine::m_level
private

◆ m_maximum_data_elements

INT_4U CommandLine::m_maximum_data_elements
private

◆ m_memory_mapped_io

bool CommandLine::m_memory_mapped_io
private

◆ m_metadata_check

bool CommandLine::m_metadata_check = false
private

◆ m_options [1/2]

OptionSet CommandLine::m_options
private

◆ m_options [2/2]

OptionSet CommandLine::m_options
private

◆ m_output_name

std::string CommandLine::m_output_name
private

◆ m_program_name

std::string CommandLine::m_program_name
private

◆ m_ranges

range_type CommandLine::m_ranges
private

◆ m_raw

bool CommandLine::m_raw
private

◆ m_relax

bool CommandLine::m_relax = false
private

◆ m_relax_eof_checksum

bool CommandLine::m_relax_eof_checksum = false
private

◆ m_requests

request_container_type CommandLine::m_requests
private

◆ m_scientific_notation

bool CommandLine::m_scientific_notation
private

◆ m_silent

bool CommandLine::m_silent
private

◆ m_silent_data

bool CommandLine::m_silent_data
private

◆ m_start_time

GPSTime CommandLine::m_start_time
private

◆ m_test_frame_mode

bool CommandLine::m_test_frame_mode
private

◆ m_use_memory_mapped_io

bool CommandLine::m_use_memory_mapped_io = false
private

◆ m_verbose

size_t CommandLine::m_verbose = 0
private

◆ m_version

version_type CommandLine::m_version
private

◆ memory_mapped_io

bool CommandLine::memory_mapped_io
private

◆ mode

mode_type CommandLine::mode
private

◆ options

OptionSet CommandLine::options
private

◆ output

std::string CommandLine::output
private

◆ pattern

regex_sub CommandLine::pattern
private

◆ pattern_filename

regex_sub CommandLine::pattern_filename
private

◆ segment_size

block_size_type CommandLine::segment_size
private

◆ silent_data

bool CommandLine::silent_data
private

◆ toc_optimization

bool CommandLine::toc_optimization
private

◆ verbose

int CommandLine::verbose
private

◆ with_fr_event

with_fr_event_type CommandLine::with_fr_event = false
private

◆ with_fr_msg

with_fr_msg_type CommandLine::with_fr_msg = false
private

◆ with_fr_sim_event

with_fr_sim_event_type CommandLine::with_fr_sim_event = false
private

◆ with_fr_summary

with_fr_summary_type CommandLine::with_fr_summary = false
private

◆ with_fr_table

with_fr_table_type CommandLine::with_fr_table = false
private

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