#include <CInvalidPacketStateException.h>
Inheritance diagram for CInvalidPacketStateException:
Public Methods | |
CInvalidPacketStateException (bool WasOpen, const char *pszAction) | |
CInvalidPacketStateException (const CInvalidPacketStateException &rhs) | |
~CInvalidPacketStateException () | |
CInvalidPacketStateException & | operator= (const CInvalidPacketStateException &rhs) |
int | operator== (const CInvalidPacketStateException &rhs) |
int | operator!= (const CInvalidPacketStateException &rhs) |
int | getWasOpen () const |
Int_t | ReasonCode () const |
virtual const char * | ReasonText () const |
Protected Methods | |
void | BuildReasonText () |
Private Attributes | |
bool | m_nWasOpen |
nonzero if packet was open. | |
string | m_sReasonText |
Reason for exception is built here. |
Definition at line 304 of file CInvalidPacketStateException.h.
|
Default constructor. This is called when declarations of the form e.g.:
Definition at line 287 of file CInvalidPacketStateException.cpp. References BuildReasonText(). |
|
Copy construction. This is invoked when e.g. an object is passed by value to a function. The copy constructor makes a clone of the rhs object.
Definition at line 300 of file CInvalidPacketStateException.cpp. References BuildReasonText(). |
|
Definition at line 314 of file CInvalidPacketStateException.h. |
|
Re-computes the reason text from the object's member variables. The implicit inputs to this function include:
Definition at line 363 of file CInvalidPacketStateException.cpp. References m_nWasOpen, and m_sReasonText. Referenced by CInvalidPacketStateException(), and operator=(). |
|
Definition at line 325 of file CInvalidPacketStateException.h. References m_nWasOpen. |
|
Definition at line 318 of file CInvalidPacketStateException.h. References operator==(). |
|
Assignment operation. This member function supports assignment of an object of this class to an object of the same class.
Definition at line 313 of file CInvalidPacketStateException.cpp. References BuildReasonText(), m_nWasOpen, and CReadoutException::operator=(). |
|
Equality comparison. Definition at line 326 of file CInvalidPacketStateException.cpp. References m_nWasOpen, and CReadoutException::operator==(). Referenced by operator!=(). |
|
Returns the state of the open flag in the segment. cast to integer. Definition at line 339 of file CInvalidPacketStateException.cpp. References m_nWasOpen. |
|
Returns a text string which describes why the exception was thrown. Definition at line 350 of file CInvalidPacketStateException.cpp. References m_sReasonText. |
|
nonzero if packet was open.
Definition at line 307 of file CInvalidPacketStateException.h. Referenced by BuildReasonText(), getWasOpen(), operator=(), operator==(), and ReasonCode(). |
|
Reason for exception is built here.
Definition at line 308 of file CInvalidPacketStateException.h. Referenced by BuildReasonText(), and ReasonText(). |