diff options
Diffstat (limited to 'codemaker/source/idlmaker/idltype.hxx')
-rw-r--r-- | codemaker/source/idlmaker/idltype.hxx | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/codemaker/source/idlmaker/idltype.hxx b/codemaker/source/idlmaker/idltype.hxx index 84ced9a9208f..d3fa71abff2b 100644 --- a/codemaker/source/idlmaker/idltype.hxx +++ b/codemaker/source/idlmaker/idltype.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -29,8 +29,8 @@ #ifndef INCLUDED_CODEMAKER_SOURCE_IDLMAKER_IDLTYPE_HXX #define INCLUDED_CODEMAKER_SOURCE_IDLMAKER_IDLTYPE_HXX -#include <codemaker/typemanager.hxx> -#include <codemaker/dependency.hxx> +#include <codemaker/typemanager.hxx> +#include <codemaker/dependency.hxx> enum BASETYPE { @@ -39,7 +39,7 @@ enum BASETYPE BT_ANY, BT_TYPE, BT_BOOLEAN, - BT_CHAR, + BT_CHAR, BT_STRING, BT_FLOAT, BT_DOUBLE, @@ -59,7 +59,7 @@ enum IdlTypeDecl CPPUTYPEDECL_ALLTYPES, CPPUTYPEDECL_NOINTERFACES, CPPUTYPEDECL_ONLYINTERFACES -}; +}; class IdlOptions; class FileStream; @@ -69,7 +69,7 @@ class IdlType public: IdlType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~IdlType(); @@ -88,34 +88,34 @@ public: virtual void dumpType(FileStream& o, const ::rtl::OString& type) throw( CannotDumpException ); - ::rtl::OString getBaseType(const ::rtl::OString& type); - void dumpIdlGetType(FileStream& o, const ::rtl::OString& type, sal_Bool bDecl=sal_False, IdlTypeDecl eDeclFlag=CPPUTYPEDECL_ALLTYPES); + ::rtl::OString getBaseType(const ::rtl::OString& type); + void dumpIdlGetType(FileStream& o, const ::rtl::OString& type, sal_Bool bDecl=sal_False, IdlTypeDecl eDeclFlag=CPPUTYPEDECL_ALLTYPES); BASETYPE isBaseType(const ::rtl::OString& type); - void dumpConstantValue(FileStream& o, sal_uInt16 index); + void dumpConstantValue(FileStream& o, sal_uInt16 index); virtual sal_uInt32 getMemberCount(); - virtual sal_uInt32 getInheritedMemberCount(); + virtual sal_uInt32 getInheritedMemberCount(); - void inc(sal_uInt32 num=4); - void dec(sal_uInt32 num=4); - ::rtl::OString indent(); - ::rtl::OString indent(sal_uInt32 num); + void inc(sal_uInt32 num=4); + void dec(sal_uInt32 num=4); + ::rtl::OString indent(); + ::rtl::OString indent(sal_uInt32 num); protected: - virtual sal_uInt32 checkInheritedMemberCount(const TypeReader* pReader); - - ::rtl::OString checkSpecialIdlType(const ::rtl::OString& type); - ::rtl::OString checkRealBaseType(const ::rtl::OString& type, sal_Bool bResolveTypeOnly = sal_False); + virtual sal_uInt32 checkInheritedMemberCount(const TypeReader* pReader); + ::rtl::OString checkSpecialIdlType(const ::rtl::OString& type); + ::rtl::OString checkRealBaseType(const ::rtl::OString& type, sal_Bool bResolveTypeOnly = sal_False); + protected: - sal_uInt32 m_inheritedMemberCount; - - sal_uInt32 m_indentLength; - ::rtl::OString m_typeName; - ::rtl::OString m_name; - TypeReader m_reader; - TypeManager& m_typeMgr; - TypeDependency m_dependencies; + sal_uInt32 m_inheritedMemberCount; + + sal_uInt32 m_indentLength; + ::rtl::OString m_typeName; + ::rtl::OString m_name; + TypeReader m_reader; + TypeManager& m_typeMgr; + TypeDependency m_dependencies; }; class InterfaceType : public IdlType @@ -123,26 +123,26 @@ class InterfaceType : public IdlType public: InterfaceType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~InterfaceType(); - sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); + sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); - void dumpAttributes(FileStream& o); - void dumpMethods(FileStream& o); + void dumpAttributes(FileStream& o); + void dumpMethods(FileStream& o); - sal_uInt32 getMemberCount(); - sal_uInt32 getInheritedMemberCount(); + sal_uInt32 getMemberCount(); + sal_uInt32 getInheritedMemberCount(); protected: - sal_uInt32 checkInheritedMemberCount(const TypeReader* pReader); + sal_uInt32 checkInheritedMemberCount(const TypeReader* pReader); protected: - sal_uInt32 m_inheritedMemberCount; - sal_Bool m_hasAttributes; - sal_Bool m_hasMethods; + sal_uInt32 m_inheritedMemberCount; + sal_Bool m_hasAttributes; + sal_Bool m_hasMethods; }; class ModuleType : public IdlType @@ -150,14 +150,14 @@ class ModuleType : public IdlType public: ModuleType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~ModuleType(); - virtual sal_Bool dump(IdlOptions* pOptions) throw( CannotDumpException ); - sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); - sal_Bool hasConstants(); + virtual sal_Bool dump(IdlOptions* pOptions) throw( CannotDumpException ); + sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); + sal_Bool hasConstants(); }; class ConstantsType : public ModuleType @@ -165,12 +165,12 @@ class ConstantsType : public ModuleType public: ConstantsType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~ConstantsType(); - virtual sal_Bool dump(IdlOptions* pOptions) throw( CannotDumpException ); + virtual sal_Bool dump(IdlOptions* pOptions) throw( CannotDumpException ); }; class StructureType : public IdlType @@ -178,14 +178,14 @@ class StructureType : public IdlType public: StructureType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~StructureType(); - sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); + sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); - void dumpSuperMember(FileStream& o, const ::rtl::OString& super); + void dumpSuperMember(FileStream& o, const ::rtl::OString& super); }; class ExceptionType : public IdlType @@ -193,14 +193,14 @@ class ExceptionType : public IdlType public: ExceptionType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~ExceptionType(); - sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); + sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); - void dumpSuperMember(FileStream& o, const ::rtl::OString& super); + void dumpSuperMember(FileStream& o, const ::rtl::OString& super); }; class EnumType : public IdlType @@ -208,12 +208,12 @@ class EnumType : public IdlType public: EnumType(TypeReader& typeReader, const ::rtl::OString& typeName, - const TypeManager& typeMgr, + const TypeManager& typeMgr, const TypeDependency& typeDependencies); virtual ~EnumType(); - sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); + sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); }; class TypeDefType : public IdlType @@ -226,18 +226,18 @@ public: virtual ~TypeDefType(); - sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); + sal_Bool dumpHFile(FileStream& o) throw( CannotDumpException ); }; sal_Bool produceType(const ::rtl::OString& typeName, - TypeManager& typeMgr, + TypeManager& typeMgr, TypeDependency& typeDependencies, IdlOptions* pOptions) throw( CannotDumpException ); /** - * This function returns a C++ scoped name, represents the namespace + * This function returns a C++ scoped name, represents the namespace * scoping of this type, e.g. com:.sun::star::uno::XInterface. If the scope of * the type is equal scope, the relativ name will be used. */ |