ldas-tools-framecpp
2.7.0
|
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 | total_time_interval_type |
typedef unsigned int | gps_seconds_type |
typedef unsigned int | total_time_interval_type |
Public Member Functions | |
FrameFilename (const std::string &Filename) | |
Constructor. More... | |
const std::string & | Base () const |
Return the base filename. More... | |
const std::string & | Dir () const |
Return the directory component of the filename. More... | |
const std::string & | D () const |
Return the description of the contents of a file. More... | |
gps_seconds_type | G () const |
Return the GPS start time in seconds of the first frame in the. More... | |
const std::string & | S () const |
Return the source of the data. More... | |
total_time_interval_type | T () const |
Return the total time interval covered by the file, in seconds. More... | |
const std::string & | Ext () const |
Return the extension component of the filename. More... | |
FrameFilename (const std::string &Filename) | |
Constructor. More... | |
const std::string & | Base () const |
Return the base filename. More... | |
const std::string & | Dir () const |
Return the directory component of the filename. More... | |
const std::string & | D () const |
Return the description of the contents of a file. More... | |
gps_seconds_type | G () const |
Return the GPS start time in seconds of the first frame in the. More... | |
const std::string & | S () const |
Return the source of the data. More... | |
total_time_interval_type | T () const |
Return the total time interval covered by the file, in seconds. More... | |
const std::string & | Ext () const |
Return the extension component of the filename. More... | |
Private Attributes | |
std::string | m_filename |
Origional text of filename. More... | |
std::string | m_s |
S component of filename. More... | |
std::string | m_d |
D component of filename. More... | |
gps_seconds_type | m_g |
G component of filename. More... | |
total_time_interval_type | m_tt |
T component of filename. More... | |
std::string | m_ext |
std::string | m_base |
Base component of the filename. More... | |
std::string | m_directory |
Directory component of the filename. More... | |
bool | m_good |
state indicating that the name comforms to the spec More... | |
Static Private Attributes | |
static const std::string | m_spec |
Name of document specifying LDAS' naming convetion for frame files. More... | |
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.