added to Space:
Space & get_add_space(const wchar_t * field); Space & get_add_space(const std::wstring & field);
This commit is contained in:
@@ -1689,6 +1689,27 @@ Space * Space::get_space(const std::wstring & field)
|
||||
}
|
||||
|
||||
|
||||
Space & Space::get_add_space(const wchar_t * field)
|
||||
{
|
||||
pt::Space * space = get_space(field);
|
||||
|
||||
if( !space )
|
||||
{
|
||||
return add_empty_space(field);
|
||||
}
|
||||
|
||||
return *space;
|
||||
}
|
||||
|
||||
|
||||
Space & Space::get_add_space(const std::wstring & field)
|
||||
{
|
||||
return get_add_space(field.c_str());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
bool * Space::get_bool(const wchar_t * field)
|
||||
{
|
||||
Space * space = get_space(field);
|
||||
|
Reference in New Issue
Block a user