MCPcopy Create free account
hub / github.com/acl-dev/acl / reset

Method reset

lib_acl_cpp/src/mime/rfc2047.cpp:42–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void rfc2047::reset(bool strip_sp /* = true */)
43{
44 std::list<rfc2047_entry*>::iterator it, lt;
45
46 it = lt = m_List.begin();
47 for (; it != m_List.end(); it = lt) {
48 lt++;
49 delete (*it)->pData;
50 delete (*it)->pCharset;
51 delete (*it);
52 m_List.pop_front();
53 }
54 m_pCurrentEntry = NULL;
55 m_status = rfc2047_status_next;
56 m_lastCh = 0;
57 m_stripSp = strip_sp;
58 delete m_coder;
59 m_coder = NULL;
60}
61
62const std::list<rfc2047_entry*>& rfc2047::get_list() const
63{

Callers 1

decode_finishMethod · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected