diff options
Diffstat (limited to 'autodoc/inc/ary/cpp')
26 files changed, 150 insertions, 150 deletions
diff --git a/autodoc/inc/ary/cpp/c_builtintype.hxx b/autodoc/inc/ary/cpp/c_builtintype.hxx index 0fff94d1e5fc..223aea576ab0 100644 --- a/autodoc/inc/ary/cpp/c_builtintype.hxx +++ b/autodoc/inc/ary/cpp/c_builtintype.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 @@ -44,7 +44,7 @@ namespace cpp { -/** Represents types like void, int, double. +/** Represents types like void, int, double. */ class BuiltInType : public Type { @@ -52,14 +52,14 @@ class BuiltInType : public Type enum E_ClassId { class_id = 1200 }; BuiltInType( - const String & i_sName, + const String & i_sName, E_TypeSpecialisation i_Specialisation ); String SpecializedName() const; static String SpecializedName_( - const char * i_sName, + const char * i_sName, E_TypeSpecialisation i_eTypeSpecialisation ); private: @@ -75,7 +75,7 @@ class BuiltInType : public Type StreamStr & o_rPreName, StreamStr & o_rName, StreamStr & o_rPostName, - const Gate & i_rGate ) const; + const Gate & i_rGate ) const; // DATA String sName; E_TypeSpecialisation @@ -93,8 +93,8 @@ BuiltInType::SpecializedName() const -} // namespace cpp -} // namespace ary +} // namespace cpp +} // namespace ary #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/autodoc/inc/ary/cpp/c_ce.hxx b/autodoc/inc/ary/cpp/c_ce.hxx index 5f7e6353e90a..c351fbfe809f 100644 --- a/autodoc/inc/ary/cpp/c_ce.hxx +++ b/autodoc/inc/ary/cpp/c_ce.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 @@ -58,13 +58,13 @@ class CodeEntity : public ary::cpp::CppEntity typedef Ce_Traits traits_t; // LIFECYCLE - virtual ~CodeEntity() {} + virtual ~CodeEntity() {} // INQUIRY Ce_id CeId() const { return Ce_id(Id()); } const String & LocalName() const; Cid Owner() const; - Lid Location() const; + Lid Location() const; bool IsVisible() const; // ACCESS @@ -78,7 +78,7 @@ class CodeEntity : public ary::cpp::CppEntity virtual const String & inq_LocalName() const = 0; virtual Cid inq_Owner() const = 0; - virtual Lid inq_Location() const = 0; + virtual Lid inq_Location() const = 0; // DATA mutable bool bIsVisible; diff --git a/autodoc/inc/ary/cpp/c_class.hxx b/autodoc/inc/ary/cpp/c_class.hxx index 49b75b72902f..baf15f1fd0ab 100644 --- a/autodoc/inc/ary/cpp/c_class.hxx +++ b/autodoc/inc/ary/cpp/c_class.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 @@ -96,13 +96,13 @@ class Class : public CodeEntity, ~Class(); // OPERATIONS - void Add_BaseClass( + void Add_BaseClass( const S_Classes_Base & i_rBaseClass ); void Add_TemplateParameterType( const String & i_sLocalName, Type_id i_nIdAsType ); - void Add_KnownDerivative( + void Add_KnownDerivative( Ce_id i_nId ) { aKnownDerivatives.Add(i_nId); } @@ -141,7 +141,7 @@ class Class : public CodeEntity, { return aKnownDerivatives; } // INQUIRY - E_ClassKey ClassKey() const; + E_ClassKey ClassKey() const; E_Protection Protection() const; E_Virtuality Virtuality() const { return eVirtuality; } @@ -171,7 +171,7 @@ class Class : public CodeEntity, virtual ClassId get_AryClass() const; // Interface ary::AryGroup - virtual Gid inq_Id_Group() const; + virtual Gid inq_Id_Group() const; virtual const cpp::CppEntity & inq_RE_Group() const; virtual const group::SlotList & @@ -187,10 +187,10 @@ class Class : public CodeEntity, const List_LocalCe& i_rList, const String & i_sName ) const; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; node_t aAssignedNode; - List_Bases aBaseClasses; + List_Bases aBaseClasses; List_TplParam aTemplateParameterTypes; List_LocalCe aClasses; @@ -205,8 +205,8 @@ class Class : public CodeEntity, IdSequence aFriendOperations; IdSequence aKnownDerivatives; - E_ClassKey eClassKey; - E_Protection eProtection; + E_ClassKey eClassKey; + E_Protection eProtection; E_Virtuality eVirtuality; }; diff --git a/autodoc/inc/ary/cpp/c_cppentity.hxx b/autodoc/inc/ary/cpp/c_cppentity.hxx index fab3d2f728fe..5f5dc6b65b99 100644 --- a/autodoc/inc/ary/cpp/c_cppentity.hxx +++ b/autodoc/inc/ary/cpp/c_cppentity.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 diff --git a/autodoc/inc/ary/cpp/c_de.hxx b/autodoc/inc/ary/cpp/c_de.hxx index 8426222ab3b4..7ae40d72cceb 100644 --- a/autodoc/inc/ary/cpp/c_de.hxx +++ b/autodoc/inc/ary/cpp/c_de.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 @@ -62,7 +62,7 @@ class DefineEntity : public ary::cpp::CppEntity // INQUIRY De_id DefId() const { return De_id(Id()); } const String & LocalName() const; - loc::Le_id Location() const; + loc::Le_id Location() const; const StringVector & DefinitionText() const; // ACCESS diff --git a/autodoc/inc/ary/cpp/c_define.hxx b/autodoc/inc/ary/cpp/c_define.hxx index 460ddb79ac1b..2855290187f4 100644 --- a/autodoc/inc/ary/cpp/c_define.hxx +++ b/autodoc/inc/ary/cpp/c_define.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 diff --git a/autodoc/inc/ary/cpp/c_enum.hxx b/autodoc/inc/ary/cpp/c_enum.hxx index 4704c700773f..22bc9eb1763c 100644 --- a/autodoc/inc/ary/cpp/c_enum.hxx +++ b/autodoc/inc/ary/cpp/c_enum.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 @@ -72,7 +72,7 @@ class Enum : public CodeEntity, ~Enum(); // OPERATIONS - void Add_Value( + void Add_Value( Ce_id i_nId ); // INQUIRY @@ -87,13 +87,13 @@ class Enum : public CodeEntity, virtual const String & inq_LocalName() const; virtual Cid inq_Owner() const; - virtual Lid inq_Location() const; + virtual Lid inq_Location() const; // Interface ary::cpp::CppEntity virtual ClassId get_AryClass() const; // Interface ary::AryGroup - virtual Gid inq_Id_Group() const; + virtual Gid inq_Id_Group() const; virtual const cpp::CppEntity & inq_RE_Group() const; virtual const group::SlotList & @@ -102,10 +102,10 @@ class Enum : public CodeEntity, SlotAccessId i_nSlot ) const; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; SequentialIds<Ce_id> aValues; - E_Protection eProtection; + E_Protection eProtection; }; diff --git a/autodoc/inc/ary/cpp/c_enuval.hxx b/autodoc/inc/ary/cpp/c_enuval.hxx index 3ed523baa3f3..03da4b0c62fe 100644 --- a/autodoc/inc/ary/cpp/c_enuval.hxx +++ b/autodoc/inc/ary/cpp/c_enuval.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 @@ -71,13 +71,13 @@ class EnumValue : public CodeEntity virtual const String & inq_LocalName() const; virtual Cid inq_Owner() const; - virtual Lid inq_Location() const; + virtual Lid inq_Location() const; // Interface ary::cpp::CppEntity virtual ClassId get_AryClass() const; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; String sInitialisation; }; diff --git a/autodoc/inc/ary/cpp/c_funct.hxx b/autodoc/inc/ary/cpp/c_funct.hxx index 917ff823f151..55320a15b1d5 100644 --- a/autodoc/inc/ary/cpp/c_funct.hxx +++ b/autodoc/inc/ary/cpp/c_funct.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 @@ -108,7 +108,7 @@ class Function : public CodeEntity virtual const String & inq_LocalName() const; virtual Cid inq_Owner() const; - virtual Lid inq_Location() const; + virtual Lid inq_Location() const; // Interface ary::cpp::CppEntity virtual ClassId get_AryClass() const; @@ -118,12 +118,12 @@ class Function : public CodeEntity typedef std::vector<Type_id> ExceptionTypeList; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; List_TplParam aTemplateParameterTypes; OperationSignature aSignature; Type_id nReturnType; - E_Protection eProtection; - E_Virtuality eVirtuality; + E_Protection eProtection; + E_Virtuality eVirtuality; FunctionFlags aFlags; ParameterInfoList aParameterInfos; Dyn<ExceptionTypeList> diff --git a/autodoc/inc/ary/cpp/c_gate.hxx b/autodoc/inc/ary/cpp/c_gate.hxx index df0af5afbd19..d6b6e5932112 100644 --- a/autodoc/inc/ary/cpp/c_gate.hxx +++ b/autodoc/inc/ary/cpp/c_gate.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 @@ -90,7 +90,7 @@ class Gate RepositoryTitle() const = 0; virtual const CodeEntity * Search_RelatedCe( - Type_id i_type ) const = 0; + Type_id i_type ) const = 0; virtual const ::ary::cpp::CppEntity * Search_Entity( GlobalId i_id ) const = 0; diff --git a/autodoc/inc/ary/cpp/c_macro.hxx b/autodoc/inc/ary/cpp/c_macro.hxx index 8740c2e94015..735684788406 100644 --- a/autodoc/inc/ary/cpp/c_macro.hxx +++ b/autodoc/inc/ary/cpp/c_macro.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 diff --git a/autodoc/inc/ary/cpp/c_namesp.hxx b/autodoc/inc/ary/cpp/c_namesp.hxx index d15c526394f3..deade56a87f7 100644 --- a/autodoc/inc/ary/cpp/c_namesp.hxx +++ b/autodoc/inc/ary/cpp/c_namesp.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 @@ -86,8 +86,8 @@ class Namespace : public CodeEntity, Namespace & i_rParent ); ~Namespace(); // OPERATIONS - void Add_LocalNamespace( - Namespace & io_rLocalNamespace ); + void Add_LocalNamespace( + Namespace & io_rLocalNamespace ); void Add_LocalClass( const String & i_sLocalName, Cid i_nId ); @@ -108,13 +108,13 @@ class Namespace : public CodeEntity, Cid i_nId ); // INQUIRY - virtual uintt Depth() const; - Namespace * Parent() const; + virtual uintt Depth() const; + Namespace * Parent() const; Ce_id Search_Child( const String & i_key ) const; - Namespace * Search_LocalNamespace( - const String & i_sLocalName ) const; + Namespace * Search_LocalNamespace( + const String & i_sLocalName ) const; uintt Get_SubNamespaces( std::vector< const Namespace* > & o_rResultList ) const; @@ -140,13 +140,13 @@ class Namespace : public CodeEntity, virtual const String & inq_LocalName() const; virtual Cid inq_Owner() const; - virtual Lid inq_Location() const; + virtual Lid inq_Location() const; // Interface ary::cpp::CppEntity virtual ClassId get_AryClass() const; // Interface AryGroup - virtual Gid inq_Id_Group() const; + virtual Gid inq_Id_Group() const; virtual const cpp::CppEntity & inq_RE_Group() const; virtual const ary::group::SlotList & @@ -157,7 +157,7 @@ class Namespace : public CodeEntity, typedef std::multimap<String, Ce_id> Map_Operations; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; node_t aAssignedNode; Map_NamespacePtr aLocalNamespaces; @@ -168,8 +168,8 @@ class Namespace : public CodeEntity, Map_LocalCe aLocalVariables; Map_LocalCe aLocalConstants; - Namespace * pParent; - uintt nDepth; + Namespace * pParent; + uintt nDepth; }; diff --git a/autodoc/inc/ary/cpp/c_osigna.hxx b/autodoc/inc/ary/cpp/c_osigna.hxx index 4434f65b877e..717763f29d36 100644 --- a/autodoc/inc/ary/cpp/c_osigna.hxx +++ b/autodoc/inc/ary/cpp/c_osigna.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 @@ -56,16 +56,16 @@ namespace cpp class OperationSignature { public: - typedef std::vector<Type_id> ParameterTypeList; + typedef std::vector<Type_id> ParameterTypeList; OperationSignature( ParameterTypeList i_parameterTypes, // Non const, because it will be swapped with aParameterTypes. E_ConVol i_conVol ); - bool operator==( + bool operator==( const OperationSignature & i_rSig ) const; - bool operator<( + bool operator<( const OperationSignature & i_rSig ) const; @@ -74,17 +74,17 @@ class OperationSignature Parameters() const; E_ConVol ConVol() const; - /** Compares the signatures by length an then by ids of + /** Compares the signatures by length an then by ids of parameter types. So the result is not always human reconstructable. @return like in strcmp(). */ - int Compare( + int Compare( const OperationSignature & i_rSig ) const; private: // DATA - ParameterTypeList aParameterTypes; + ParameterTypeList aParameterTypes; E_ConVol eConVol; }; diff --git a/autodoc/inc/ary/cpp/c_slntry.hxx b/autodoc/inc/ary/cpp/c_slntry.hxx index 3ce842494304..407375bd537e 100644 --- a/autodoc/inc/ary/cpp/c_slntry.hxx +++ b/autodoc/inc/ary/cpp/c_slntry.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 @@ -56,13 +56,13 @@ struct Less_NamespacePtr struct S_Classes_Base { - Type_id nId; - E_Protection eProtection; - E_Virtuality eVirtuality; + Type_id nId; + E_Protection eProtection; + E_Virtuality eVirtuality; String sComment; S_Classes_Base() - : nId(0), + : nId(0), eProtection(PROTECT_global), eVirtuality(VIRTUAL_none) // sComment diff --git a/autodoc/inc/ary/cpp/c_traits.hxx b/autodoc/inc/ary/cpp/c_traits.hxx index 060b0d2ea0ce..80390b155ec7 100644 --- a/autodoc/inc/ary/cpp/c_traits.hxx +++ b/autodoc/inc/ary/cpp/c_traits.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 diff --git a/autodoc/inc/ary/cpp/c_tydef.hxx b/autodoc/inc/ary/cpp/c_tydef.hxx index eefbda569484..e9716c62344b 100644 --- a/autodoc/inc/ary/cpp/c_tydef.hxx +++ b/autodoc/inc/ary/cpp/c_tydef.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 @@ -74,15 +74,15 @@ class Typedef : public CodeEntity virtual const String & inq_LocalName() const; virtual Cid inq_Owner() const; - virtual Lid inq_Location() const; + virtual Lid inq_Location() const; // Interface ary::cpp::CppEntity virtual ClassId get_AryClass() const; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; Type_id nDescribingType; - E_Protection eProtection; + E_Protection eProtection; }; diff --git a/autodoc/inc/ary/cpp/c_type.hxx b/autodoc/inc/ary/cpp/c_type.hxx index 513ec0cefb5f..06f98d797bec 100644 --- a/autodoc/inc/ary/cpp/c_type.hxx +++ b/autodoc/inc/ary/cpp/c_type.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 @@ -58,7 +58,7 @@ namespace cpp -/** Base of all C++ types +/** Base of all C++ types */ class Type : public ::ary::Entity { @@ -72,7 +72,7 @@ class Type : public ::ary::Entity bool IsConst() const; void Get_Text( StreamStr & o_rOut, - const Gate & i_rGate ) const; + const Gate & i_rGate ) const; /** It is guaranteed, that the output is correct, also, if all three output-streams are the same instance. @@ -81,7 +81,7 @@ class Type : public ::ary::Entity StreamStr & o_rPreName, StreamStr & o_rName, StreamStr & o_rPostName, - const Gate & i_rGate ) const; + const Gate & i_rGate ) const; private: virtual Rid inq_RelatedCe() const; // Defaulted to 0. Implemented in c_builtintype.cxx. @@ -90,7 +90,7 @@ class Type : public ::ary::Entity StreamStr & o_rPreName, StreamStr & o_rName, StreamStr & o_rPostName, - const Gate & i_rGate ) const = 0; + const Gate & i_rGate ) const = 0; }; @@ -111,7 +111,7 @@ Type::IsConst() const inline void Type::Get_Text( StreamStr & o_rOut, - const Gate & i_rGate ) const + const Gate & i_rGate ) const { inq_Get_Text( o_rOut, o_rOut, o_rOut, i_rGate ); } @@ -120,7 +120,7 @@ inline void Type::Get_Text( StreamStr & o_rPreName, StreamStr & o_rName, StreamStr & o_rPostName, - const Gate & i_rGate ) const + const Gate & i_rGate ) const { inq_Get_Text( o_rPreName,o_rName,o_rPostName, i_rGate ); } diff --git a/autodoc/inc/ary/cpp/c_types4cpp.hxx b/autodoc/inc/ary/cpp/c_types4cpp.hxx index 2d39819ae458..22b141701946 100644 --- a/autodoc/inc/ary/cpp/c_types4cpp.hxx +++ b/autodoc/inc/ary/cpp/c_types4cpp.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 diff --git a/autodoc/inc/ary/cpp/c_vari.hxx b/autodoc/inc/ary/cpp/c_vari.hxx index e8b2e442486e..b31f04a1ae63 100644 --- a/autodoc/inc/ary/cpp/c_vari.hxx +++ b/autodoc/inc/ary/cpp/c_vari.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 @@ -81,15 +81,15 @@ class Variable : public CodeEntity virtual const String & inq_LocalName() const; virtual Cid inq_Owner() const; - virtual Lid inq_Location() const; + virtual Lid inq_Location() const; // Interface ary::cpp::CppEntity virtual ClassId get_AryClass() const; // DATA - CeEssentials aEssentials; + CeEssentials aEssentials; Type_id nType; - E_Protection eProtection; + E_Protection eProtection; VariableFlags aFlags; String sArraySize; String sInitialisation; diff --git a/autodoc/inc/ary/cpp/c_vfflag.hxx b/autodoc/inc/ary/cpp/c_vfflag.hxx index c198dac67267..b94163d84534 100644 --- a/autodoc/inc/ary/cpp/c_vfflag.hxx +++ b/autodoc/inc/ary/cpp/c_vfflag.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 @@ -45,10 +45,10 @@ struct VariableFlags public: enum E_Flags { - f_static_local = 0x0001, - f_static_member = 0x0002, - f_extern = 0x0004, - f_mutable = 0x0008 + f_static_local = 0x0001, + f_static_member = 0x0002, + f_extern = 0x0004, + f_mutable = 0x0008 }; VariableFlags( @@ -57,15 +57,15 @@ struct VariableFlags void Reset() { nFlags = 0; } - void SetStaticLocal() { nFlags |= f_static_local; } - void SetStaticMember() { nFlags |= f_static_member; } - void SetExtern() { nFlags |= f_extern; } - void SetMutable() { nFlags |= f_mutable; } + void SetStaticLocal() { nFlags |= f_static_local; } + void SetStaticMember() { nFlags |= f_static_member; } + void SetExtern() { nFlags |= f_extern; } + void SetMutable() { nFlags |= f_mutable; } - bool IsStaticLocal() const { return (nFlags & f_static_local) != 0; } - bool IsStaticMember() const { return (nFlags & f_static_member) != 0; } - bool IsExtern() const { return (nFlags & f_extern) != 0; } - bool IsMutable() const { return (nFlags & f_mutable) != 0; } + bool IsStaticLocal() const { return (nFlags & f_static_local) != 0; } + bool IsStaticMember() const { return (nFlags & f_static_member) != 0; } + bool IsExtern() const { return (nFlags & f_extern) != 0; } + bool IsMutable() const { return (nFlags & f_mutable) != 0; } private: UINT16 nFlags; @@ -79,14 +79,14 @@ struct FunctionFlags public: enum E_Flags { - f_static_local = 0x0001, - f_static_member = 0x0002, - f_extern = 0x0004, - f_externC = 0x0008, - f_mutable = 0x0010, - f_inline = 0x0100, - f_register = 0x0200, - f_explicit = 0x0400 + f_static_local = 0x0001, + f_static_member = 0x0002, + f_extern = 0x0004, + f_externC = 0x0008, + f_mutable = 0x0010, + f_inline = 0x0100, + f_register = 0x0200, + f_explicit = 0x0400 }; FunctionFlags( @@ -104,22 +104,22 @@ struct FunctionFlags void Reset() { nFlags = 0; } - void SetStaticLocal() { nFlags |= f_static_local; } - void SetStaticMember() { nFlags |= f_static_member; } - void SetExtern() { nFlags |= f_extern; } - void SetExternC() { nFlags |= f_externC; } - void SetMutable() { nFlags |= f_mutable; } - void SetInline() { nFlags |= f_inline; } - void SetRegister() { nFlags |= f_register; } - void SetExplicit() { nFlags |= f_explicit; } - - bool IsStaticLocal() const { return (nFlags & f_static_local) != 0; } - bool IsStaticMember() const { return (nFlags & f_static_member) != 0; } - bool IsExtern() const { return (nFlags & f_extern) != 0; } - bool IsExternC() const { return (nFlags & f_externC) != 0; } - bool IsMutable() const { return (nFlags & f_mutable) != 0; } - bool IsInline() const { return (nFlags & f_inline) != 0; } - bool IsRegister() const { return (nFlags & f_register) != 0; } + void SetStaticLocal() { nFlags |= f_static_local; } + void SetStaticMember() { nFlags |= f_static_member; } + void SetExtern() { nFlags |= f_extern; } + void SetExternC() { nFlags |= f_externC; } + void SetMutable() { nFlags |= f_mutable; } + void SetInline() { nFlags |= f_inline; } + void SetRegister() { nFlags |= f_register; } + void SetExplicit() { nFlags |= f_explicit; } + + bool IsStaticLocal() const { return (nFlags & f_static_local) != 0; } + bool IsStaticMember() const { return (nFlags & f_static_member) != 0; } + bool IsExtern() const { return (nFlags & f_extern) != 0; } + bool IsExternC() const { return (nFlags & f_externC) != 0; } + bool IsMutable() const { return (nFlags & f_mutable) != 0; } + bool IsInline() const { return (nFlags & f_inline) != 0; } + bool IsRegister() const { return (nFlags & f_register) != 0; } bool IsExplicit() const { return (nFlags & f_explicit) != 0; } private: diff --git a/autodoc/inc/ary/cpp/cp_ce.hxx b/autodoc/inc/ary/cpp/cp_ce.hxx index cb86e44b17d4..ce612f0cfa4e 100644 --- a/autodoc/inc/ary/cpp/cp_ce.hxx +++ b/autodoc/inc/ary/cpp/cp_ce.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 @@ -131,10 +131,10 @@ class CePilot GlobalNamespace() const = 0; virtual const CodeEntity & Find_Ce( - Ce_id i_id ) const = 0; + Ce_id i_id ) const = 0; virtual const CodeEntity * Search_Ce( - Ce_id i_id ) const = 0; + Ce_id i_id ) const = 0; /// It's assumed that i_rSearchedName is an absolute name. virtual const CodeEntity * diff --git a/autodoc/inc/ary/cpp/cp_def.hxx b/autodoc/inc/ary/cpp/cp_def.hxx index 8fd44074523b..64b9b245fdef 100644 --- a/autodoc/inc/ary/cpp/cp_def.hxx +++ b/autodoc/inc/ary/cpp/cp_def.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 diff --git a/autodoc/inc/ary/cpp/cp_type.hxx b/autodoc/inc/ary/cpp/cp_type.hxx index edc536fcea71..c477b23ce2ba 100644 --- a/autodoc/inc/ary/cpp/cp_type.hxx +++ b/autodoc/inc/ary/cpp/cp_type.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 @@ -73,7 +73,7 @@ class TypePilot CheckIn_UsedType( const InputContext & i_context, - DYN UsedType & pass_type ) = 0; + DYN UsedType & pass_type ) = 0; // INQUIRY virtual const Type & Find_Type( diff --git a/autodoc/inc/ary/cpp/inpcontx.hxx b/autodoc/inc/ary/cpp/inpcontx.hxx index 9fea2e2053b7..7acc88d65df7 100644 --- a/autodoc/inc/ary/cpp/inpcontx.hxx +++ b/autodoc/inc/ary/cpp/inpcontx.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 @@ -130,7 +130,7 @@ class InputContext }; // LIFECYCLE - virtual ~InputContext() {} + virtual ~InputContext() {} // OPERATIONS diff --git a/autodoc/inc/ary/cpp/namechain.hxx b/autodoc/inc/ary/cpp/namechain.hxx index 9e85b4ee4b0d..d8894bbdd800 100644 --- a/autodoc/inc/ary/cpp/namechain.hxx +++ b/autodoc/inc/ary/cpp/namechain.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 @@ -49,30 +49,30 @@ class NameSegment { public: NameSegment( - const char * i_sName ); + const char * i_sName ); /** @precond MPT pTemplate. This cannot be used, except of inserting a new element in the segment list of ary::cpp::ut::NameChain. In that case, the template parameter list doe snot yet exist. */ NameSegment( - const NameSegment & i_rSeg ); + const NameSegment & i_rSeg ); ~NameSegment(); // OPERATIONS List_TplParameter & AddTemplate(); // INQUIRY - const String & Name() const; + const String & Name() const; /// @return as strcmp(). - intt Compare( - const NameSegment & i_rOther ) const; - void Get_Text_AsScope( + intt Compare( + const NameSegment & i_rOther ) const; + void Get_Text_AsScope( StreamStr & o_rOut, const ary::cpp::Gate & i_rGate ) const; - void Get_Text_AsMainType( + void Get_Text_AsMainType( StreamStr & o_rName, StreamStr & o_rPostName, const ary::cpp::Gate & @@ -80,7 +80,7 @@ class NameSegment NameSegment& operator=(const NameSegment&); private: - String sName; + String sName; Dyn<List_TplParameter> pTemplate; }; @@ -96,7 +96,7 @@ class NameChain // OPERATIONS void Add_Segment( - const char * i_sSeg ); + const char * i_sSeg ); /** @precond aSegments.size() > 0. Which means: Add_Segment() has to be called at least once before. */ @@ -106,13 +106,13 @@ class NameChain const_iterator begin() const { return aSegments.begin(); } const_iterator end() const { return aSegments.end(); } - /// @return like strcmp. - intt Compare( - const NameChain & i_rChain ) const; + /// @return like strcmp. + intt Compare( + const NameChain & i_rChain ) const; /// @ATTENTION Return value is volatile. Not reentrance enabled. - const String & LastSegment() const; + const String & LastSegment() const; - void Get_Text( + void Get_Text( StreamStr & o_rPreName, StreamStr & o_rName, StreamStr & o_rPostName, diff --git a/autodoc/inc/ary/cpp/usedtype.hxx b/autodoc/inc/ary/cpp/usedtype.hxx index b7f6d68ac4cc..68b1297b9d9d 100644 --- a/autodoc/inc/ary/cpp/usedtype.hxx +++ b/autodoc/inc/ary/cpp/usedtype.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 @@ -65,7 +65,7 @@ class UsedType : public Type public: enum E_ClassId { class_id = 1203 }; - explicit UsedType( + explicit UsedType( Ce_id i_scope ); ~UsedType(); // OPERATORS @@ -138,7 +138,7 @@ class UsedType : public Type const ary::cpp::Gate & i_rGate ) const; // Local - typedef std::vector< ary::cpp::E_ConVol > PtrLevelVector; + typedef std::vector< ary::cpp::E_ConVol > PtrLevelVector; uintt PtrLevel() const { return uintt(aPtrLevels.size()); } Ce_id RecursiveSearchCe_InBaseClassesOf( @@ -159,14 +159,14 @@ class UsedType : public Type // DATA ut::NameChain aPath; - PtrLevelVector aPtrLevels; + PtrLevelVector aPtrLevels; ary::cpp::E_ConVol eConVol_Type; bool bIsReference; bool bIsAbsolute; - bool bRefers2BuiltInType; + bool bRefers2BuiltInType; E_TypeSpecialisation eTypeSpecialisation; - Ce_id nRelatedCe; + Ce_id nRelatedCe; /// Namespace or class scope where the type occurred. Ce_id nScope; @@ -193,12 +193,12 @@ class List_TplParameter const ary::cpp::Gate & i_rGate ) const; /// @return as strcmp(). - intt Compare( + intt Compare( const List_TplParameter & i_rOther ) const; private: - typedef std::vector< DYN TemplateParameter * > Vector_TplArgument; + typedef std::vector< DYN TemplateParameter * > Vector_TplArgument; Vector_TplArgument aTplParameters; }; |