libcdx: Interfaces to the Channel Data Exchange (CDX) File Format
C++, Python, and Matlab library to exchange data for radio propagation channels
ReadContinuousDelayFile.h
Go to the documentation of this file.
1 
7 #ifndef SNREADCIRFILE_H_
8 #define SNREADCIRFILE_H_
9 
10 #include <boost/shared_ptr.hpp>
11 
12 #include "ReadFile.h"
13 
14 namespace CDX {
15 
22 public:
23  typedef boost::shared_ptr<ReadContinuousDelayFile> ptr;
24 
25  ReadContinuousDelayFile(std::string _filename);
26  virtual ~ReadContinuousDelayFile();
27 
35  cir_t get_cir(std::string link, unsigned int cir_num);
36 
41  unsigned int get_nof_cirs() const {
42  return nof_cirs;
43  }
44 
45 protected:
46  unsigned int nof_cirs;
47  std::map<std::string, H5::Group *> cir_groups;
48 
49  // for function get_cir:
50  H5::CompType *cp_echo;
51 };
52 
53 } // end of namespace CDX
54 
55 #endif /* SNREADCIRFILE_H_ */
unsigned int get_nof_cirs() const
Return the number of CIRs in file.
Definition: ReadContinuousDelayFile.h:41
Struct used as return value for function ReadContinuousDelayCDXFile::get_cir.
Definition: File.h:66
Reads CIRs from CDX file.
Definition: ReadContinuousDelayFile.h:21
cir_t get_cir(std::string link, unsigned int cir_num)
returns CIR with a given number
Definition: ReadContinuousDelayFile.cpp:73
Base class for reading CDX files.
Definition: ReadFile.h:16
Contains all CDX classes and types.
Definition: File.cpp:19