added: Space::Remove(const wchar_t * name)

Space::Remove(const std::wstring & name)


git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@395 e52654a7-88a9-db11-a3e9-0013d4bc506e
master
Tomasz Sowa 11 years ago
parent f29a7a41d4
commit 0b97609811

@ -431,6 +431,24 @@ return val;
void Space::Remove(const wchar_t * name)
{
tmp_name = name;
table_single.erase(tmp_name);
table.erase(tmp_name);
}
void Space::Remove(const std::wstring & name)
{
table_single.erase(name);
table.erase(name);
}
Space & Space::AddSpace(const wchar_t * name)

@ -225,6 +225,10 @@ public:
std::wstring & Add(const wchar_t * name, const std::wstring & value);
std::wstring & Add(const std::wstring & name, const std::wstring & value);
void Remove(const wchar_t * name);
void Remove(const std::wstring & name);
Space & AddSpace(const wchar_t * name);
Space & AddSpace(const std::wstring & name);

Loading…
Cancel
Save