ldas-tools-framecpp
2.7.0
|
Indexed elements of the FrEvent structure. More...
#include <FrTOCEvent.hh>
Classes | |
struct | event_type |
Public Types | |
typedef INT_4U | nevent_type |
typedef STRING | name_type |
typedef INT_4U | nTotalEvent_type |
typedef INT_4U | gtimesEvent_type |
typedef INT_4U | gtimenEvent_type |
typedef REAL_4 | amplitudeEvent_type |
typedef INT_8U | positionEvent_type |
typedef std::vector< event_type > | events_container_type |
typedef std::map< name_type, events_container_type > | nameEvent_container_type |
typedef INT_4U | nevent_type |
typedef STRING | name_type |
typedef INT_4U | nTotalEvent_type |
typedef INT_4U | gtimesEvent_type |
typedef INT_4U | gtimenEvent_type |
typedef REAL_4 | amplitudeEvent_type |
typedef INT_8U | positionEvent_type |
typedef std::vector< event_type > | events_container_type |
typedef std::map< name_type, events_container_type > | nameEvent_container_type |
Public Member Functions | |
FrTOCEvent () | |
Default constructor. More... | |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
const nameEvent_container_type & | GetEvent () const |
Return all events. More... | |
void | QueryEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
Gather TOC info for FrEvent being written. More... | |
const FrTOCEvent & | operator= (const Previous::FrTOCEvent &Source) |
asignment operator More... | |
bool | operator== (const FrTOCEvent &RHS) const |
equality operator More... | |
FrTOCEvent () | |
Default constructor. More... | |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
const nameEvent_container_type & | GetEvent () const |
Return all events. More... | |
void | QueryEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
Gather TOC info for FrEvent being written. More... | |
const FrTOCEvent & | operator= (const Previous::FrTOCEvent &Source) |
asignment operator More... | |
bool | operator== (const FrTOCEvent &RHS) const |
equality operator More... | |
Static Public Member Functions | |
template<typename SE > | |
static void | Description (Common::Description &Desc) |
The description of structure. More... | |
template<typename SE > | |
static void | Description (Common::Description &Desc) |
The description of structure. More... | |
Static Public Attributes | |
static const int | event_type_size |
Protected Member Functions | |
FrTOCEvent (Common::IStream &Stream) | |
Stream constructor. More... | |
positionEvent_type | positionEvent (INT_4U Frame, const std::string &Event) const |
Locate the position of the event. More... | |
positionEvent_type | positionEvent (const std::string &Event, INT_4U Index) const |
Locate the position of the event. More... | |
void | write (Common::OStream &Stream) const |
Write the structure to the stream. More... | |
FrTOCEvent (Common::IStream &Stream) | |
Stream constructor. More... | |
positionEvent_type | positionEvent (INT_4U Frame, const std::string &Event) const |
Locate the position of the event. More... | |
positionEvent_type | positionEvent (const std::string &Event, INT_4U Index) const |
Locate the position of the event. More... | |
void | write (Common::OStream &Stream) const |
Write the structure to the stream. More... | |
Protected Attributes | |
nameEvent_container_type | m_info |
Indexed elements of the FrEvent structure.
typedef REAL_4 FrameCPP::Version_8::FrTOCEvent::amplitudeEvent_type |
typedef REAL_4 FrameCPP::Version_8::FrTOCEvent::amplitudeEvent_type |
typedef std::vector< event_type > FrameCPP::Version_8::FrTOCEvent::events_container_type |
typedef std::vector< event_type > FrameCPP::Version_8::FrTOCEvent::events_container_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::gtimenEvent_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::gtimenEvent_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::gtimesEvent_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::gtimesEvent_type |
typedef std::map< name_type, events_container_type > FrameCPP::Version_8::FrTOCEvent::nameEvent_container_type |
typedef std::map< name_type, events_container_type > FrameCPP::Version_8::FrTOCEvent::nameEvent_container_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::nevent_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::nevent_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::nTotalEvent_type |
typedef INT_4U FrameCPP::Version_8::FrTOCEvent::nTotalEvent_type |
typedef INT_8U FrameCPP::Version_8::FrTOCEvent::positionEvent_type |
typedef INT_8U FrameCPP::Version_8::FrTOCEvent::positionEvent_type |
FrameCPP::Version_8::FrTOCEvent::FrTOCEvent | ( | ) |
Default constructor.
|
protected |
Stream constructor.
[in] | Stream | The input stream from where the object is being read. |
FrameCPP::Version_8::FrTOCEvent::FrTOCEvent | ( | ) |
Default constructor.
|
protected |
Stream constructor.
[in] | Stream | The input stream from where the object is being read. |
|
inline |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCEvent::Bytes | ( | const Common::StreamBase & | Stream | ) | const |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
|
static |
The description of structure.
[out] | Desc | Storage for the description of the structure. |
|
static |
The description of structure.
[out] | Desc | Storage for the description of the structure. |
|
inline |
Return all events.
const nameEvent_container_type& FrameCPP::Version_8::FrTOCEvent::GetEvent | ( | ) | const |
Return all events.
const FrTOCEvent & FrameCPP::Version_8::FrTOCEvent::operator= | ( | const Previous::FrTOCEvent & | Source | ) |
asignment operator
[in] | Source | The source to be copied. |
const FrTOCEvent& FrameCPP::Version_8::FrTOCEvent::operator= | ( | const Previous::FrTOCEvent & | Source | ) |
asignment operator
[in] | Source | The source to be copied. |
bool FrameCPP::Version_8::FrTOCEvent::operator== | ( | const FrTOCEvent & | RHS | ) | const |
equality operator
[in] | RHS | The FrTOCAdcData object to be compared. |
bool FrameCPP::Version_8::FrTOCEvent::operator== | ( | const FrTOCEvent & | RHS | ) | const |
equality operator
[in] | RHS | The FrTOCAdcData object to be compared. |
|
protected |
Locate the position of the event.
[in] | Frame | Frame offset of the event. |
[in] | Event | The name of the event. |
|
protected |
Locate the position of the event.
[in] | Frame | Frame offset of the event. |
[in] | Event | The name of the event. |
|
protected |
Locate the position of the event.
[in] | Event | The name of the event. |
[in] | Index | Offset of the event. |
|
protected |
Locate the position of the event.
[in] | Event | The name of the event. |
[in] | Index | Offset of the event. |
void FrameCPP::Version_8::FrTOCEvent::QueryEvent | ( | const Common::TOCInfo & | Info, |
INT_4U | FrameOffset, | ||
INT_8U | Position | ||
) |
Gather TOC info for FrEvent being written.
[in] | Info | Information |
[in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
[in] | Position | The byte offset from the start of the file where the structure is written. |
void FrameCPP::Version_8::FrTOCEvent::QueryEvent | ( | const Common::TOCInfo & | Info, |
INT_4U | FrameOffset, | ||
INT_8U | Position | ||
) |
Gather TOC info for FrEvent being written.
[in] | Info | Information |
[in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
[in] | Position | The byte offset from the start of the file where the structure is written. |
|
protected |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
|
protected |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
|
static |
|
protected |