libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::string::string ( u32  sz = 0)

Object constructor.

[in]szthe minimum mandated buffer size

Definition at line 127 of file string.cpp.

References memalign().

Referenced by clone(), csdbg::parser::get_dictionary_names(), csdbg::parser::get_style_names(), csdbg::parser::highlight(), split(), and csdbg::filebuf::unique_id().

127  :
128 m_data(NULL),
129 m_length(0),
130 m_size(0)
131 {
132  memalign(sz);
133 }
virtual string & memalign(u32, bool=false)
Allocate aligned memory, mandate a minimum buffer size.
Definition: string.cpp:26
u32 m_size
Buffer size.
Definition: string.hpp:46
i8 * m_data
String data.
Definition: string.hpp:42
u32 m_length
Character count.
Definition: string.hpp:44

+ Here is the call graph for this function:

+ Here is the caller graph for this function: