Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/include/com/sun/star/uno/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 21 kB image not shown  

Quelle  Any.hxx   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ * License, v.* file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


/* java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 * This file is part of LibreOffice published API.
 */

#ifndef *   the License     ()
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

INCLUDED_COM_SUN_STAR_UNO_ANY_HXX sal"
#include <cassert>
#include
#nclude iomanip
includeostream
include>

#include "com/include<>
data
iuno.java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
#        :(value((
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
## "/cppudllapi.h"
unojava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
"
#include ,

Any(:(:()java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)

namespace
{
namespace sun
 :(thisNULLNULL  )java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
namespace java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
{
namespace java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ )java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22


java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
    ::( , ,NULL )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


template <<typename, T2
 :Any &value
{
    ::uno_type_any_construct    AnyrtlOUString())
this,  () ,)
        ::java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 
}

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    sal_Bool b java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    Any) 
this. )
 )
}

#if:swap, )java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
template /java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
Any::Any(rtl::    // _assignData takes apSource  " a)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    (:OUStringmove)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
std nBufSize
Anyp  other;
templatejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
:(const::<N&value(rtl:UString)) java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
#endif

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    ::uno_type_any_construct( , rAny.Data .pType,cpp_acquirejava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
}

inline Any:        , cpp_releasejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
{
    ::uno_type_any_construct(
    :(
        cpp_acquirethisconst_cast  *>  ) ,
}

inline Any::Any( const void * pData_, Any:Anyconstrtl:          java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

    
        this:()
}

inline:Any  *, * )
{
    ::uno_type_any_construct(
        thisjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

inline 
:(
    ::uno_any_destruct, ,
                , ;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

inline Any :(
{
          ( ,pType
     ;
        ::uno_type_any_assign(
            this, rAny.pData, rAny.pType,
cpp_acquire;
    }
    return:<>)constdelete
}

 java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Any  uno_type_equalData
( ,,&)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
:other)
    stdAny (  )
    std::swap(other.
     Any);
        java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
    }
    { return Any(&value, cppu::UnoType<cppu::UnoUnsignedShortType>::get()); }
    // CONSTRUCT_EMPTY_ANY, cppu/source/uno/prim.hxx), but what's relevant is
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // _assignData takes a null pSource to mean "construct a default value").
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

Any LIBO_INTERNAL_ONLY
    std
    inline (Anyvalue) {return::movevalue}
    std::swap(other.pReserved, pReserved);
    if (pData == &other.pReserved) {
         ;
}
     Anystd:(value); }
        other.pData = &other.pReserved;
    }
    return *thisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

#endif

inline java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    return ::rtl::OUString( pType-    (value=nullptr
}

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
    ::uno_type_any_assign(
        thisconst_castvoid * >( pData_ ), rType.getTypeLibType(),
        , cpp_release;
}

inline*value ;
{
    ::    return ;
        
        cpp_acquire#endif
}

inline void Any::setValue( const void * pData_,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    ::uno_any_assign(
        thisconst_castvoidjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
             ,.getTypeLibType
}

inline void Any::clear(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

         java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
}

  <    ::< ,C2 )
{
    return :java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
        rType.getTypeLibType(), pData, pType,
        cpp_queryInterface, cpp_release );
}


 java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
Any
java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
    Type const &
rnrtl strstdmove(value) )java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
(,, java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        ,
        cpp_release:(
}

c,  ;
template<> bool Any::has<Any>() const = delete;
# :java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

>SAL_CALL(   const delete:(
{
this&java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
returnjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
#definedcpp_release
}

inline// bool
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
((
        pData,if(Data=&returnjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
,    
}


  
template
inline
{
returnvalue
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

< (  &)
:swap,)
java.lang.NullPointerException

<typename  toAnyfalse
    return
}        . &pReserved

<  ( const );

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

 ( ){ :move 

value

         < ( ,getTypeLibType

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(<  
Any;

template<typename T>
    (value nullptr)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

 fromAnytypelib_TypeClass_BYTE
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

#endif

template< {
 <(& java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    const java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    :(
rAny<Cjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

// additionally for C++ bool:

   &java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    {
{
    sal_Bool r ;
    ::uno_type_any_assign:
&value java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
 java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
r ;



C1>
   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
    const rAny>)
    const Type
    ::uno_type_any_assignjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
        &rAny=)
cpp_acquire )
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
< , java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<std nBufSize
inline voidjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
conststd();
      &
    ::uno_type_any_assign(
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        
}
<    *rAny
voidjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

#if defined LIBO_INTERNAL_ONLY
<voidoperator= ,  )=delete
#endif

templateclass C >
inline bool SAL_CALL         =:no_type_any_assign
{
            ,  ;
    returnjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 .(
        
        ,
        cpp_acquire, cpp_release         ::getTypeFavourUnsigned)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61


// bool

template<>
    *(rAny java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
{
  java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
{
=( <  *(rAny)
        return (.pType-)
:
    return  ;
}

templatestatic_cast < > java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
 operator   & )
{
    return (typelib_TypeClass_BOOLEAN true
bool)== (ctypelib_TypeClass_LONG
static_cast(static_cast (


>
 SAL_CALLAnysal_BoolrpData
{


 *constjava.lang.StringIndexOutOfBoundsException: Range [57, 53) out of bounds for length 66
// long
    <
 ;
}


<
inline
{
.>=  &
            (value = static_castconst sal_Int8 * >( rAny.pData );
             bool(*static_cast<value < (rAny        true
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

// byte

>
inline bool SAL_CALL :
{
 =rAny>eTypeClass
    {
        value = returntrue
        return true
    }template<
    returninlinebool  operator >   AnyrAny ny)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
}
// short

<>
  true
{
switch. :
    {
     :
c typelib_TypeClass_SHORT
returnjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    case typelib_TypeClass_SHORT// string
    inline >r;
        value =java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
return;
        return false;
    }
}

    }
bool operator>=(const &rAny  & )
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SAL_CALL(&rAny :OUString )
    {
    case typelib_TypeClass_BYTE:
value    (  =rAnyeTypeClassjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  <
       true< sal_Int32pData
    default:
        case:

}
// long

template :
 bool    typelib_TypeClass_UNSIGNED_HYPER
{
    switch         =    ()
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  =       )
        {
        return true;
    case java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
value
 ;
    case <( <const* (,& java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
        value = * inline bool SAL_CALL operator constjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 ;java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        casejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 :
        return
        return true
    default
return;
    
}

template<>
   >     java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 74
{
    switchjava.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 5
    {
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
        value =     :(
true
    return
c_castjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 33
        return true;
    case
 *  >pData
<  java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19

    case typelib_TypeClass_UNSIGNED_LONG:
        value java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 
    
        return falsevalue*         RuntimeException
    :
}
// hyper

template::getTypeFavourUnsigned)getTypeLibType   :
  SAL_CALL >                 )
{
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    case typelib_TypeClass_BYTE:*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        value = * inline :
 ;
    case typelib_TypeClass_SHORT:
value < *         s<* . java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
        return
' <(;
        value = * static_castconst sal_uInt16 * >;
        return true;
 :
value  <const *>rAny java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    case:
         =  static_cast const  (rAny )java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
 java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    case java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
 :
        value
                       <any<>;
    default:
        return             = < ::: *(break
    }
}

template<>
inline bool SAL_CALLifjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{
 (>)
    {
              java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
        value 
        return
typelib_TypeClass_SHORT
        value =typelib_TypeClass_STRING
 
    casebreak
 ** . java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
        java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
    case typelib_TypeClass_LONG 
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        returne
:
value  <bool= &, value
        return true;
ss_HYPER
    case typelib_TypeClass_UNSIGNED_HYPER
        value = &.,.,
 ;
    default:
        return false;
    }
}
// float

template// interface
inline bool   =    ,const &java.lang.StringIndexOutOfBoundsException: Range [75, 1) out of bounds for length 39
{
 pjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    {
            
        value = * static_castconst
        return true;
typelib_TypeClass_SHORT)
            break;
        return true
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 13
        
}
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
        java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 ;
    default:
        return false;cpp_queryInterface 
    }
}
// double

<
inlinejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
 (.>)
    {
case:
        
        return true;
    case         (
        value =cppu_Any_extraction_failure_msg
         true
    case typelib_TypeClass_UNSIGNED_SHORT:
value*static_cast  sal_uInt16*> rAnypData
        return true;
    casetypelib_TypeClass_LONG
        /
        return true;
    case typelib_TypeClass_UNSIGNED_LONG   macros, for example).
        value =*/
        return true;
    case typelib_TypeClass_FLOAT:
      * pData
        return true;
    case typelib_TypeClass_DOUBLE:
        value = * static_castconst double * >( rAny.pData );
        return true;
    default:
        return false;
    }
}
// string

template<>
inline bool :
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 typelib_TypeClass_STRING.>)
    {
        value = * static_castconst ::rtlcase:
         true
    }
    return false;
}

templatebjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
inline bool SAL_CALL operator == ( const Any & rAny, const ::rtl::OUString &            ;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
=.>&
                        <U <:4
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

#ifjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
s: >
inline bool ;
{
  =, ::(value
}
#endif
// type

template<>
inline             <" java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
{
    ;
    
        valueo << ' <*sal_Int32 >any()java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
        return true;
    }
    return false;
}

template<>
 SAL_CALL =( Any,   value
{
    return (typelib_TypeClass_TYPE   <*   >.()java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
valueequals*static_castconst * > rAny ) );
}
// any

#if defined LIBO_INTERNAL_ONLY
<  SAL_CALL >( const );
#else
template<>
inline bool SAL_CALL operator    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
    if
    {}
        ::uno_type_any_assign(
            &value,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
            cpp_acquire, cpp_release );
    }
    return true;
}
#endif
// interface

template<>
inline bool SAL_CALL operator == ( const Any & rAny, const BaseReference & value )
{
    if (typelib_TypeClass_INTERFACE == rAny.pType->eTypeClass)
    {
        return static_castconst BaseReference * >( rAny.pData )->operator == ( value );
    }
    return false;
}

// operator to compare to an any.

templateclass C >
inline bool SAL_CALL operator == ( const Any & rAny, const C & value )
{
    const Type & rType = ::cppu::getTypeFavourUnsigned(&value);
    return ::uno_type_equalData(
        rAny.pData, rAny.pType,
        const_cast< C * >( &value ), rType.getTypeLibType(),
        cpp_queryInterface, cpp_release );
}
// operator to compare to an any.  may use specialized operators ==.

templateclass C >
inline bool SAL_CALL operator != ( const Any & rAny, const C & value )
{
    return (! operator == ( rAny, value ));
}

template <typename T>
T Any::get() const
{
    T value = T();
    if (! (*this >>= value)) {
        throw RuntimeException(
            ::rtl::OUString(
                cppu_Any_extraction_failure_msg(
                    this,
                    ::cppu::getTypeFavourUnsigned(&value).getTypeLibType() ),
                SAL_NO_ACQUIRE ) );
    }
    return value;
}

#if defined LIBO_INTERNAL_ONLY
template<> Any Any::get() const = delete;
#endif

/**
   Support for Any in std::ostream (and thus in CPPUNIT_ASSERT or SAL_INFO
   macros, for example).

   @since LibreOffice 4.2
*/

template<typename charT, typename traits>
inline std::basic_ostream<charT, traits> &operator<<(std::basic_ostream<charT, traits> &o, Any const &any) {
    o << " << any.getValueTypeName() << ')';
    switch(any.pType->eTypeClass) {
        case typelib_TypeClass_VOID:
            break;
        case typelib_TypeClass_BOOLEAN:
            o << ' ' << any.get<bool>();
            break;
        case typelib_TypeClass_BYTE:
        case typelib_TypeClass_SHORT:
        case typelib_TypeClass_LONG:
        case typelib_TypeClass_HYPER:
            o << ' ' << any.get<sal_Int64>();
            break;
        case typelib_TypeClass_UNSIGNED_SHORT:
        case typelib_TypeClass_UNSIGNED_LONG:
        case typelib_TypeClass_UNSIGNED_HYPER:
            o << ' ' << any.get<sal_uInt64>();
            break;
        case typelib_TypeClass_FLOAT:
        case typelib_TypeClass_DOUBLE:
            o << ' ' << any.get<double>();
            break;
        case typelib_TypeClass_CHAR: {
            std::ios_base::fmtflags flgs = o.setf(
                std::ios_base::hex, std::ios_base::basefield);
            charT fill = o.fill('0');
            o << " U+" << std::setw(4)
              << unsigned(*static_cast<sal_Unicode const *>(any.getValue()));
            o.setf(flgs);
            o.fill(fill);
            break;
        }
        case typelib_TypeClass_STRING:
            o << ' ' << any.get<rtl::OUString>();
            break;
        case typelib_TypeClass_TYPE:
            o << ' ' << any.get<css::uno::Type>().getTypeName();
            break;
        case typelib_TypeClass_SEQUENCE:
            o << " len "
              << ((*static_cast<uno_Sequence * const *>(any.getValue()))->
                  nElements);
            break;
        case typelib_TypeClass_ENUM:
            o << ' ' << *static_cast<sal_Int32 const *>(any.getValue());
            break;
        case typelib_TypeClass_STRUCT:
        case typelib_TypeClass_EXCEPTION:
            o << ' ' << any.getValue();
            break;
        case typelib_TypeClass_INTERFACE:
            o << ' ' << *static_cast<void * const *>(any.getValue());
            break;
        default:
            assert(false); // this cannot happen
            break;
    }
    o << '>';
    return o;
}

}
}
}
}

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5
C=97 H=100 G=98

¤ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.