|
ldas-tools-framecpp 3.0.4
|
Class to parse frame filename. More...
#include <FrameFilename.hh>
Classes | |
| class | InvalidFrameFilename |
| Exception describing a corrupted frame file name. More... | |
Public Types | |
| typedef unsigned int | gps_seconds_type |
| typedef unsigned int | gps_seconds_type |
| typedef unsigned int | total_time_interval_type |
| typedef unsigned int | total_time_interval_type |
Public Member Functions | |
| FrameFilename (const std::string &Filename) | |
| Constructor. | |
| FrameFilename (const std::string &Filename) | |
| Constructor. | |
| const std::string & | Base () const |
| Return the base filename. | |
| const std::string & | Base () const |
| Return the base filename. | |
| const std::string & | Dir () const |
| Return the directory component of the filename. | |
| const std::string & | Dir () const |
| Return the directory component of the filename. | |
| const std::string & | D () const |
| Return the description of the contents of a file. | |
| const std::string & | D () const |
| Return the description of the contents of a file. | |
| gps_seconds_type | G () const |
| Return the GPS start time in seconds of the first frame in the. | |
| gps_seconds_type | G () const |
| Return the GPS start time in seconds of the first frame in the. | |
| const std::string & | S () const |
| Return the source of the data. | |
| const std::string & | S () const |
| Return the source of the data. | |
| total_time_interval_type | T () const |
| Return the total time interval covered by the file, in seconds. | |
| total_time_interval_type | T () const |
| Return the total time interval covered by the file, in seconds. | |
| const std::string & | Ext () const |
| Return the extension component of the filename. | |
| const std::string & | Ext () const |
| Return the extension component of the filename. | |
Private Attributes | |
| std::string | m_filename |
| Origional text of filename. | |
| std::string | m_s |
| S component of filename. | |
| std::string | m_d |
| D component of filename. | |
| gps_seconds_type | m_g |
| G component of filename. | |
| total_time_interval_type | m_tt |
| T component of filename. | |
| std::string | m_ext |
| std::string | m_base |
| Base component of the filename. | |
| std::string | m_directory |
| Directory component of the filename. | |
| bool | m_good |
| state indicating that the name comforms to the spec | |
Static Private Attributes | |
| static const std::string | m_spec |
| Name of document specifying LDAS' naming convetion for frame files. | |
Class to parse frame filename.
This implemnetation is based on the document LIGO-T010150
| typedef unsigned int FrameCPP::Common::FrameFilename::gps_seconds_type |
| typedef unsigned int FrameCPP::Common::FrameFilename::gps_seconds_type |
| typedef unsigned int FrameCPP::Common::FrameFilename::total_time_interval_type |
| typedef unsigned int FrameCPP::Common::FrameFilename::total_time_interval_type |
| FrameCPP::Common::FrameFilename::FrameFilename | ( | const std::string & | Filename | ) |
Constructor.
| FrameCPP::Common::FrameFilename::FrameFilename | ( | const std::string & | Filename | ) |
Constructor.
|
inline |
Return the base filename.
| const std::string & FrameCPP::Common::FrameFilename::Base | ( | ) | const |
Return the base filename.
|
inline |
Return the description of the contents of a file.
| const std::string & FrameCPP::Common::FrameFilename::D | ( | ) | const |
Return the description of the contents of a file.
|
inline |
Return the directory component of the filename.
| const std::string & FrameCPP::Common::FrameFilename::Dir | ( | ) | const |
Return the directory component of the filename.
|
inline |
Return the extension component of the filename.
| const std::string & FrameCPP::Common::FrameFilename::Ext | ( | ) | const |
Return the extension component of the filename.
|
inline |
Return the GPS start time in seconds of the first frame in the.
| gps_seconds_type FrameCPP::Common::FrameFilename::G | ( | ) | const |
Return the GPS start time in seconds of the first frame in the.
|
inline |
Return the source of the data.
| const std::string & FrameCPP::Common::FrameFilename::S | ( | ) | const |
Return the source of the data.
|
inline |
Return the total time interval covered by the file, in seconds.
| total_time_interval_type FrameCPP::Common::FrameFilename::T | ( | ) | const |
Return the total time interval covered by the file, in seconds.
|
private |
Base component of the filename.
|
private |
D component of filename.
|
private |
Directory component of the filename.
|
private |
|
private |
Origional text of filename.
|
private |
G component of filename.
|
private |
state indicating that the name comforms to the spec
|
private |
S component of filename.
|
staticprivate |
Name of document specifying LDAS' naming convetion for frame files.
|
private |
T component of filename.