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

Object default constructor.

Exceptions
std::bad_alloc

Definition at line 157 of file parser.cpp.

References m_dictionaries, and m_styles.

Referenced by clone(), and on_lib_load().

158  :
159 string(),
160 m_dictionaries(NULL),
161 m_styles(NULL)
162 {
163  try {
164  m_dictionaries = new chain<dictionary>;
165  m_styles = new chain<style>;
166  }
167 
168  catch (...) {
169  delete m_dictionaries;
170  throw;
171  }
172 }
173 
174 catch (...) {
175  delete[] m_data;
176  m_data = NULL;
177  m_dictionaries = NULL;
178  m_styles = NULL;
179 }
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

+ Here is the caller graph for this function: