libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::parser::parser ( const parser src)

Object copy constructor.

Parameters
[in]srcthe source object
Exceptions
std::bad_alloc

Definition at line 189 of file parser.cpp.

References m_dictionaries, and m_styles.

190  :
191 string(src),
192 m_dictionaries(NULL),
193 m_styles(NULL)
194 {
195  try {
196  m_dictionaries = src.m_dictionaries->clone();
197  m_styles = src.m_styles->clone();
198  }
199 
200  catch (...) {
201  delete m_dictionaries;
202  throw;
203  }
204 }
205 
206 catch (...) {
207  delete[] m_data;
208  m_data = NULL;
209  m_dictionaries = NULL;
210  m_styles = NULL;
211 }
chain< dictionary > * m_dictionaries
Dictionary collection.
Definition: parser.hpp:42
string(u32=0)
Object constructor.
Definition: string.cpp:127
i8 * m_data
String data.
Definition: string.hpp:42
chain< style > * m_styles
VT100 style collection.
Definition: parser.hpp:44