|
LibreOffice Module codemaker (master) 1
|
#include <osl/process.h>#include <rtl/strbuf.hxx>#include <rtl/ustring.hxx>#include <osl/thread.h>#include <osl/file.hxx>#include <o3tl/string_view.hxx>#include <string.h>#include <string_view>#include <errno.h>#include <sys/stat.h>#include <unistd.h>#include <codemaker/global.hxx>Go to the source code of this file.
Macros | |
| #define | SEPARATOR '\\' |
Functions | |
| OString | getTempDir (const OString &sFileName) |
| OString | createFileNameFromType (const OString &destination, const OString &typeName, const OString &postfix) |
| bool | fileExists (const OString &fileName) |
| static bool | checkFileContent (const OString &targetFileName, const OString &tmpFileName) |
| bool | makeValidTypeFile (const OString &targetFileName, const OString &tmpFileName, bool bFileCheck) |
| bool | removeTypeFile (const OString &fileName) |
| OUString | convertToFileUrl (const OString &fileName) |
| FileStream & | operator<< (FileStream &o, sal_uInt32 i) |
| FileStream & | operator<< (FileStream &o, char const *s) |
| FileStream & | operator<< (FileStream &o, OString const *s) |
| FileStream & | operator<< (FileStream &o, const OString &s) |
| FileStream & | operator<< (FileStream &o, OStringBuffer const *s) |
| FileStream & | operator<< (FileStream &o, const OStringBuffer &s) |
| FileStream & | operator<< (FileStream &out, std::u16string_view s) |
| #define SEPARATOR '\\' |
Definition at line 46 of file global.cxx.
|
static |
Definition at line 160 of file global.cxx.
Referenced by makeValidTypeFile().
| OUString convertToFileUrl | ( | const OString & | fileName | ) |
Definition at line 221 of file global.cxx.
References SEPARATOR.
Referenced by createFileNameFromType(), and SAL_IMPLEMENT_MAIN_WITH_ARGS().
| OString createFileNameFromType | ( | const OString & | destination, |
| const OString & | typeName, | ||
| const OString & | postfix | ||
| ) |
Definition at line 65 of file global.cxx.
References convertToFileUrl(), o3tl::getToken(), length, nIndex, OUStringToOString(), postfix, type, and typeName.
| bool fileExists | ( | const OString & | fileName | ) |
| OString getTempDir | ( | const OString & | sFileName | ) |
Definition at line 52 of file global.cxx.
References index.
| bool makeValidTypeFile | ( | const OString & | targetFileName, |
| const OString & | tmpFileName, | ||
| bool | bFileCheck | ||
| ) |
Definition at line 192 of file global.cxx.
References checkFileContent(), fileExists(), and removeTypeFile().
| FileStream & operator<< | ( | FileStream & | o, |
| char const * | s | ||
| ) |
Definition at line 332 of file global.cxx.
| FileStream & operator<< | ( | FileStream & | o, |
| const OString & | s | ||
| ) |
Definition at line 342 of file global.cxx.
| FileStream & operator<< | ( | FileStream & | o, |
| const OStringBuffer & | s | ||
| ) |
Definition at line 353 of file global.cxx.
| FileStream & operator<< | ( | FileStream & | o, |
| OString const * | s | ||
| ) |
Definition at line 337 of file global.cxx.
| FileStream & operator<< | ( | FileStream & | o, |
| OStringBuffer const * | s | ||
| ) |
Definition at line 348 of file global.cxx.
| FileStream & operator<< | ( | FileStream & | o, |
| sal_uInt32 | i | ||
| ) |
Definition at line 326 of file global.cxx.
References i.
| FileStream & operator<< | ( | FileStream & | out, |
| std::u16string_view | s | ||
| ) |
Definition at line 360 of file global.cxx.
References OUStringToOString().
| bool removeTypeFile | ( | const OString & | fileName | ) |
Definition at line 216 of file global.cxx.
Referenced by makeValidTypeFile().