25#include <rtl/ustring.hxx>
33 FileStream & out, std::u16string_view entityName,
bool fullModuleType)
37 for (sal_Int32
i = 0;
i >= 0;) {
39 if (fullModuleType ||
i >= 0) {
43 out <<
"namespace " <<
id <<
" {";
52 FileStream & out, std::u16string_view entityName,
bool fullModuleType)
56 for (
size_t i = 0;
i != std::u16string_view::npos;) {
57 i = entityName.find(
'.',
i);
58 if (
i != std::u16string_view::npos) {
61 if (fullModuleType ||
i != std::u16string_view::npos) {
74 out << entityName.substr(entityName.rfind(
'.') + 1);
void dumpTypeIdentifier(FileStream &out, std::u16string_view entityName)
bool dumpNamespaceClose(FileStream &out, std::u16string_view entityName, bool fullModuleType)
bool dumpNamespaceOpen(FileStream &out, std::u16string_view entityName, bool fullModuleType)
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)