Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
a633a96c
Kaydet (Commit)
a633a96c
authored
Şub 19, 2013
tarafından
Stefan Schick
Kaydeden (comit)
Miklos Vajna
Şub 20, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Translated comments from german to english
Change-Id: Ibe383f8a9c630fdccfe7718880acb78a4298220e
üst
39dd9b64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
introspection.cxx
stoc/source/inspect/introspection.cxx
+21
-21
No files found.
stoc/source/inspect/introspection.cxx
Dosyayı görüntüle @
a633a96c
...
@@ -84,11 +84,11 @@ typedef WeakImplHelper3< XIntrospectionAccess, XMaterialHolder, XExactName > Int
...
@@ -84,11 +84,11 @@ typedef WeakImplHelper3< XIntrospectionAccess, XMaterialHolder, XExactName > Int
//==================================================================================================
//==================================================================================================
// Spe
zial-Wert fuer Method-Concept, um "normale" Funktionen kennzeichnen zu koennen
// Spe
cial value for Method-Concept, to be able to mark "normal" functions
#define MethodConcept_NORMAL_IMPL 0x80000000
#define MethodConcept_NORMAL_IMPL 0x80000000
// Method
e zur Feststellung, ob eine Klasse von einer anderen abgeleitet ist
// Method
to assert, if a class is derived from another class
sal_Bool
isDerivedFrom
(
Reference
<
XIdlClass
>
xToTestClass
,
Reference
<
XIdlClass
>
xDerivedFromClass
)
sal_Bool
isDerivedFrom
(
Reference
<
XIdlClass
>
xToTestClass
,
Reference
<
XIdlClass
>
xDerivedFromClass
)
{
{
Sequence
<
Reference
<
XIdlClass
>
>
aClassesSeq
=
xToTestClass
->
getSuperclasses
();
Sequence
<
Reference
<
XIdlClass
>
>
aClassesSeq
=
xToTestClass
->
getSuperclasses
();
...
@@ -110,18 +110,18 @@ sal_Bool isDerivedFrom( Reference<XIdlClass> xToTestClass, Reference<XIdlClass>
...
@@ -110,18 +110,18 @@ sal_Bool isDerivedFrom( Reference<XIdlClass> xToTestClass, Reference<XIdlClass>
//========================================================================
//========================================================================
// ***
Klassifizierung der Properties (kein enum, um Sequence verwenden zu koennen
) ***
// ***
Classification of Properties (no enum, to be able to use Sequence
) ***
// Properties
aus einem
PropertySet-Interface
// Properties
from a
PropertySet-Interface
#define MAP_PROPERTY_SET 0
#define MAP_PROPERTY_SET 0
// Properties
aus
Fields
// Properties
from
Fields
#define MAP_FIELD 1
#define MAP_FIELD 1
// Properties,
die durch get/set-Methoden beschrieben werden
// Properties,
that get described with get/set-Methods
#define MAP_GETSET 2
#define MAP_GETSET 2
// Properties,
die nur eine set-Methode haben
// Properties,
with only a set-Method
#define MAP_SETONLY 3
#define MAP_SETONLY 3
//
Schrittweite, in der die Groesse der Sequences angepasst wir
d
//
Increments, in which the size of Sequences get adjuste
d
#define ARRAY_SIZE_STEP 20
#define ARRAY_SIZE_STEP 20
...
@@ -129,10 +129,10 @@ sal_Bool isDerivedFrom( Reference<XIdlClass> xToTestClass, Reference<XIdlClass>
...
@@ -129,10 +129,10 @@ sal_Bool isDerivedFrom( Reference<XIdlClass> xToTestClass, Reference<XIdlClass>
//**************************************
//**************************************
//*** IntrospectionAccessStatic_Impl ***
//*** IntrospectionAccessStatic_Impl ***
//**************************************
//**************************************
// E
ntspricht dem alten IntrospectionAccessImpl, bildet jetzt den statischen
// E
quals to the old IntrospectionAccessImpl, forms now a static
//
Anteil des neuen Instanz-bezogenen
ImplIntrospectionAccess
//
part of the new Instance-related
ImplIntrospectionAccess
// Hashtable f
uer die Suche nach Namen
// Hashtable f
or the search of names
struct
hashName_Impl
struct
hashName_Impl
{
{
size_t
operator
()(
const
::
rtl
::
OUString
Str
)
const
size_t
operator
()(
const
::
rtl
::
OUString
Str
)
const
...
@@ -159,8 +159,8 @@ typedef boost::unordered_map
...
@@ -159,8 +159,8 @@ typedef boost::unordered_map
IntrospectionNameMap
;
IntrospectionNameMap
;
// Hashtable
zur Zuordnung der exakten Namen zu den zu
Lower-Case
// Hashtable
to assign exact names to the
Lower-Case
//
konvertierten Namen, dient zur Unterst�tzung von
XExactName
//
converted names, for the support of
XExactName
typedef
boost
::
unordered_map
typedef
boost
::
unordered_map
<
<
::
rtl
::
OUString
,
::
rtl
::
OUString
,
...
@@ -177,29 +177,29 @@ class IntrospectionAccessStatic_Impl: public salhelper::SimpleReferenceObject
...
@@ -177,29 +177,29 @@ class IntrospectionAccessStatic_Impl: public salhelper::SimpleReferenceObject
friend
class
ImplIntrospection
;
friend
class
ImplIntrospection
;
friend
class
ImplIntrospectionAccess
;
friend
class
ImplIntrospectionAccess
;
//
CoreReflection halte
n
//
Holding CoreReflectio
n
Reference
<
XIdlReflection
>
mxCoreReflection
;
Reference
<
XIdlReflection
>
mxCoreReflection
;
// InterfaceSequences,
um Zusatz-Infos zu einer Property speichern zu koennen.
// InterfaceSequences,
to save additional information in a property
//
z.B. das Field bei MAP_FIELD, die get/set-Methoden bei MAP_GETSET usw.
//
for example the Field at MAP_FIELD, the get/set-Methods at MAP_GETSET, et cetera
Sequence
<
Reference
<
XInterface
>
>
aInterfaceSeq1
;
Sequence
<
Reference
<
XInterface
>
>
aInterfaceSeq1
;
Sequence
<
Reference
<
XInterface
>
>
aInterfaceSeq2
;
Sequence
<
Reference
<
XInterface
>
>
aInterfaceSeq2
;
// Hashtables f
uer die Namen
// Hashtables f
or names
IntrospectionNameMap
maPropertyNameMap
;
IntrospectionNameMap
maPropertyNameMap
;
IntrospectionNameMap
maMethodNameMap
;
IntrospectionNameMap
maMethodNameMap
;
LowerToExactNameMap
maLowerToExactNameMap
;
LowerToExactNameMap
maLowerToExactNameMap
;
// Sequence
aller Properties, auch zum Liefern aus
getProperties()
// Sequence
of all Properties, also for delivering from
getProperties()
Sequence
<
Property
>
maAllPropertySeq
;
Sequence
<
Property
>
maAllPropertySeq
;
// Mapping
der Properties auf Zugriffs-Arten
// Mapping
of properties to Access-Types
Sequence
<
sal_Int16
>
maMapTypeSeq
;
Sequence
<
sal_Int16
>
maMapTypeSeq
;
//
Klassifizierung der gefundenen Methoden
//
Classification of found methods
Sequence
<
sal_Int32
>
maPropertyConceptSeq
;
Sequence
<
sal_Int32
>
maPropertyConceptSeq
;
//
Anzahl der
Properties
//
Number of
Properties
sal_Int32
mnPropCount
;
sal_Int32
mnPropCount
;
// Anzahl der Properties, die den jeweiligen Konzepten zugeordnet sind
// Anzahl der Properties, die den jeweiligen Konzepten zugeordnet sind
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment