#include <CReadException.h>
Public Member Functions | |
CReadException (const string &rInitialReason=string(""), int nWordsRead=0) | |
Parameterized construction. | |
virtual | ~CReadException () |
Destruction. | |
CReadException (const CReadException &aCReadException) | |
copy | |
CReadException & | operator= (const CReadException &aCReadException) |
Assignment. | |
int | operator== (const CReadException &aCReadException) |
== comparison | |
int | operator!= (const CReadException &aCReadExceptoin) |
!= comparison. | |
int | GetCount () const |
Selector for m_nWordsRead. | |
string | GetString () const |
Selectors for m_sAggregateException. | |
void | AddItem (const string &rMessage) |
Append a string to the aggregate. | |
void | AddCount (int nWords) |
Increment the count. | |
void | Add (const string &rMessage, int nwords) |
AddItem and AddCount. | |
virtual const char * | ReasonText () const |
Really will return m_sAggregateException. | |
virtual Int_t | ReasonCode () const |
Will return m_nWordsRead for now. | |
Private Attributes | |
string | m_sAggregateException |
Aggregate of the exception strings. | |
int | m_nWordsRead |
Number of words successfully read. |
Definition at line 325 of file CReadException.h.
|
Parameterized construction. Parameterized constructor. This constructs a CReadException with optoinal non default initial values for the aggregate exception string and, optionally the number of words read.
Definition at line 320 of file CReadException.cpp. |
|
Destruction.
Definition at line 330 of file CReadException.cpp. |
|
copy Construct a temp copy of a reference object.
Definition at line 340 of file CReadException.cpp. |
|
AddItem and AddCount. Adds an item and a count.
Definition at line 454 of file CReadException.cpp. References AddCount(), and AddItem(). Referenced by CReadOrder::Read(). |
|
Increment the count. Adds the paramter to the m_nWordsRead field.
Definition at line 442 of file CReadException.cpp. References m_nWordsRead. Referenced by Add(). |
|
Append a string to the aggregate. Adds an exception string to the current list in m_sAggregateException. Exception strings are added in such a way that this member remains a valid TCL list.
Definition at line 427 of file CReadException.cpp. References m_sAggregateException. Referenced by Add(). |
|
Selector for m_nWordsRead.
Definition at line 398 of file CReadException.cpp. References m_nWordsRead. Referenced by CReadOrder::Read(). |
|
Selectors for m_sAggregateException.
Definition at line 410 of file CReadException.cpp. References m_sAggregateException. |
|
!= comparison.
Definition at line 386 of file CReadException.cpp. References operator==(). |
|
Assignment. Assigns *this to contain a copy of aCReadException.
Definition at line 355 of file CReadException.cpp. References m_nWordsRead, and m_sAggregateException. |
|
== comparison
Definition at line 373 of file CReadException.cpp. References m_nWordsRead, and m_sAggregateException. Referenced by operator!=(). |
|
Will return m_nWordsRead for now.
Definition at line 475 of file CReadException.cpp. References m_nWordsRead. |
|
Really will return m_sAggregateException.
Definition at line 465 of file CReadException.cpp. References m_sAggregateException. |
|
Number of words successfully read.
Definition at line 330 of file CReadException.h. Referenced by AddCount(), GetCount(), operator=(), operator==(), and ReasonCode(). |
|
Aggregate of the exception strings.
Definition at line 329 of file CReadException.h. Referenced by AddItem(), GetString(), operator=(), operator==(), and ReasonText(). |