LibreOffice Module codemaker (master) 1
|
#include <includes.hxx>
Public Member Functions | |
Includes (rtl::Reference< TypeManager > manager, Dependencies const &dependencies, bool hpp) | |
~Includes () | |
void | add (OString const &entityName) |
void | addCassert () |
void | addAny () |
void | addReference () |
void | addSequence () |
void | addType () |
void | addCppuMacrosHxx () |
void | addCppuUnotypeHxx () |
void | addOslMutexHxx () |
void | addRtlStrbufHxx () |
void | addRtlStringH () |
void | addRtlTextencH () |
void | addRtlUstrbufHxx () |
void | addRtlUstringH () |
void | addRtlUstringHxx () |
void | addRtlInstanceHxx () |
void | addSalTypesH () |
void | addTypelibTypeclassH () |
void | addTypelibTypedescriptionH () |
void | addCustom (const OUString &s) |
void | dump (FileStream &out, OUString const *companionHdl, bool exceptions) |
Static Public Member Functions | |
static void | dumpInclude (FileStream &out, OString const &entityName, bool hpp) |
Private Member Functions | |
Includes (Includes const &)=delete | |
Includes & | operator= (const Includes &)=delete |
bool | isInterfaceType (std::string_view entityName) const |
Private Attributes | |
rtl::Reference< TypeManager > | m_manager |
Dependencies::Map | m_map |
bool | m_hpp |
bool | m_includeCassert |
bool | m_includeAny |
bool | m_includeReference |
bool | m_includeSequence |
bool | m_includeType |
bool | m_includeCppuMacrosHxx |
bool | m_includeCppuUnotypeHxx |
bool | m_includeOslMutexHxx |
bool | m_includeRtlStrbufHxx |
bool | m_includeRtlStringH |
bool | m_includeRtlTextencH |
bool | m_includeRtlUstrbufHxx |
bool | m_includeRtlUstringH |
bool | m_includeRtlUstringHxx |
bool | m_includeRtlInstanceHxx |
bool | m_includeSalTypesH |
bool | m_includeTypelibTypeclassH |
bool | m_includeTypelibTypedescriptionH |
std::vector< OUString > | m_custom |
Definition at line 33 of file includes.hxx.
Includes::Includes | ( | rtl::Reference< TypeManager > | manager, |
Dependencies const & | dependencies, | ||
bool | hpp | ||
) |
Definition at line 41 of file includes.cxx.
Includes::~Includes | ( | ) |
Definition at line 69 of file includes.cxx.
|
privatedelete |
void Includes::add | ( | OString const & | entityName | ) |
Definition at line 72 of file includes.cxx.
References add(), codemaker::UnoType::Any, args, b2u(), codemaker::UnoType::Boolean, codemaker::UnoType::Byte, codemaker::UnoType::Char, codemaker::UnoType::decompose(), codemaker::UnoType::Double, codemaker::UnoType::Enum, codemaker::UnoType::Exception, codemaker::UnoType::Float, codemaker::UnoType::Hyper, codemaker::UnoType::Interface, codemaker::cppumaker::Dependencies::KIND_NORMAL, codemaker::UnoType::Long, m_includeAny, m_includeRtlUstringHxx, m_includeSalTypesH, m_includeSequence, m_includeType, m_manager, m_map, n, codemaker::UnoType::PlainStruct, codemaker::UnoType::PolymorphicStructTemplate, codemaker::UnoType::Sequence, codemaker::UnoType::Short, codemaker::UnoType::String, codemaker::UnoType::Type, codemaker::UnoType::Typedef, codemaker::UnoType::UnsignedHyper, codemaker::UnoType::UnsignedLong, and codemaker::UnoType::UnsignedShort.
Referenced by add().
|
inline |
Definition at line 43 of file includes.hxx.
References m_includeAny.
|
inline |
Definition at line 42 of file includes.hxx.
References m_includeCassert.
|
inline |
Definition at line 47 of file includes.hxx.
References m_includeCppuMacrosHxx.
|
inline |
Definition at line 48 of file includes.hxx.
References m_includeCppuUnotypeHxx.
|
inline |
Definition at line 61 of file includes.hxx.
References m_custom.
|
inline |
Definition at line 49 of file includes.hxx.
References m_includeOslMutexHxx.
|
inline |
Definition at line 44 of file includes.hxx.
References m_includeReference.
|
inline |
Definition at line 56 of file includes.hxx.
References m_includeRtlInstanceHxx.
|
inline |
Definition at line 50 of file includes.hxx.
References m_includeRtlStrbufHxx.
|
inline |
Definition at line 51 of file includes.hxx.
References m_includeRtlStringH.
|
inline |
Definition at line 52 of file includes.hxx.
References m_includeRtlTextencH.
|
inline |
Definition at line 53 of file includes.hxx.
References m_includeRtlUstrbufHxx.
|
inline |
Definition at line 54 of file includes.hxx.
References m_includeRtlUstringH.
|
inline |
Definition at line 55 of file includes.hxx.
References m_includeRtlUstringHxx.
|
inline |
Definition at line 57 of file includes.hxx.
References m_includeSalTypesH.
|
inline |
Definition at line 45 of file includes.hxx.
References m_includeSequence.
|
inline |
Definition at line 46 of file includes.hxx.
References m_includeType.
|
inline |
Definition at line 58 of file includes.hxx.
References m_includeTypelibTypeclassH.
|
inline |
Definition at line 59 of file includes.hxx.
References m_includeTypelibTypedescriptionH.
void Includes::dump | ( | FileStream & | out, |
OUString const * | companionHdl, | ||
bool | exceptions | ||
) |
Definition at line 136 of file includes.cxx.
References dumpInclude(), codemaker::cppumaker::dumpNamespaceClose(), codemaker::cppumaker::dumpNamespaceOpen(), codemaker::cppumaker::dumpTypeIdentifier(), first, isInterfaceType(), codemaker::cppumaker::Dependencies::KIND_BASE, codemaker::cppumaker::Dependencies::KIND_EXCEPTION, m_custom, m_hpp, m_includeAny, m_includeCassert, m_includeCppuMacrosHxx, m_includeCppuUnotypeHxx, m_includeOslMutexHxx, m_includeReference, m_includeRtlInstanceHxx, m_includeRtlStrbufHxx, m_includeRtlStringH, m_includeRtlTextencH, m_includeRtlUstrbufHxx, m_includeRtlUstringH, m_includeRtlUstringHxx, m_includeSalTypesH, m_includeSequence, m_includeType, m_includeTypelibTypeclassH, m_includeTypelibTypedescriptionH, m_map, ns, and u2b().
|
static |
Definition at line 262 of file includes.cxx.
Referenced by dump().
|
private |
Definition at line 269 of file includes.cxx.
References b2u(), codemaker::UnoType::Interface, and m_manager.
Referenced by dump().
|
private |
Definition at line 95 of file includes.hxx.
Referenced by addCustom(), and dump().
|
private |
Definition at line 76 of file includes.hxx.
Referenced by dump().
|
private |
Definition at line 78 of file includes.hxx.
|
private |
Definition at line 77 of file includes.hxx.
Referenced by addCassert(), and dump().
|
private |
Definition at line 82 of file includes.hxx.
Referenced by addCppuMacrosHxx(), and dump().
|
private |
Definition at line 83 of file includes.hxx.
Referenced by addCppuUnotypeHxx(), and dump().
|
private |
Definition at line 84 of file includes.hxx.
Referenced by addOslMutexHxx(), and dump().
|
private |
Definition at line 79 of file includes.hxx.
Referenced by addReference(), and dump().
|
private |
Definition at line 91 of file includes.hxx.
Referenced by addRtlInstanceHxx(), and dump().
|
private |
Definition at line 85 of file includes.hxx.
Referenced by addRtlStrbufHxx(), and dump().
|
private |
Definition at line 86 of file includes.hxx.
Referenced by addRtlStringH(), and dump().
|
private |
Definition at line 87 of file includes.hxx.
Referenced by addRtlTextencH(), and dump().
|
private |
Definition at line 88 of file includes.hxx.
Referenced by addRtlUstrbufHxx(), and dump().
|
private |
Definition at line 89 of file includes.hxx.
Referenced by addRtlUstringH(), and dump().
|
private |
Definition at line 90 of file includes.hxx.
Referenced by add(), addRtlUstringHxx(), and dump().
|
private |
Definition at line 92 of file includes.hxx.
Referenced by add(), addSalTypesH(), and dump().
|
private |
Definition at line 80 of file includes.hxx.
Referenced by add(), addSequence(), and dump().
|
private |
Definition at line 81 of file includes.hxx.
|
private |
Definition at line 93 of file includes.hxx.
Referenced by addTypelibTypeclassH(), and dump().
|
private |
Definition at line 94 of file includes.hxx.
Referenced by addTypelibTypedescriptionH(), and dump().
|
private |
Definition at line 74 of file includes.hxx.
Referenced by add(), and isInterfaceType().
|
private |
Definition at line 75 of file includes.hxx.