Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_GEOMETRY_AFFINEMATRIX3D_HPP
2 : : #define INCLUDED_COM_SUN_STAR_GEOMETRY_AFFINEMATRIX3D_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/geometry/AffineMatrix3D.hdl"
7 : :
8 : : #include "com/sun/star/uno/Type.hxx"
9 : : #include "cppu/unotype.hxx"
10 : : #include "sal/types.h"
11 : : #include "typelib/typeclass.h"
12 : : #include "typelib/typedescription.h"
13 : :
14 : : namespace com { namespace sun { namespace star { namespace geometry {
15 : :
16 : 0 : inline AffineMatrix3D::AffineMatrix3D() SAL_THROW(())
17 : : : m00(0)
18 : : , m01(0)
19 : : , m02(0)
20 : : , m03(0)
21 : : , m10(0)
22 : : , m11(0)
23 : : , m12(0)
24 : : , m13(0)
25 : : , m20(0)
26 : : , m21(0)
27 : : , m22(0)
28 : 0 : , m23(0)
29 : : {
30 : 0 : }
31 : :
32 : : inline AffineMatrix3D::AffineMatrix3D(const double& m00_, const double& m01_, const double& m02_, const double& m03_, const double& m10_, const double& m11_, const double& m12_, const double& m13_, const double& m20_, const double& m21_, const double& m22_, const double& m23_) SAL_THROW(())
33 : : : m00(m00_)
34 : : , m01(m01_)
35 : : , m02(m02_)
36 : : , m03(m03_)
37 : : , m10(m10_)
38 : : , m11(m11_)
39 : : , m12(m12_)
40 : : , m13(m13_)
41 : : , m20(m20_)
42 : : , m21(m21_)
43 : : , m22(m22_)
44 : : , m23(m23_)
45 : : {
46 : : }
47 : :
48 : : } } } }
49 : :
50 : : namespace com { namespace sun { namespace star { namespace geometry {
51 : :
52 : 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::geometry::AffineMatrix3D const *) {
53 : : //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
54 : : static ::typelib_TypeDescriptionReference * the_type = 0;
55 [ # # ]: 0 : if (the_type == 0) {
56 : 0 : ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.geometry.AffineMatrix3D");
57 : : }
58 : 0 : return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
59 : : }
60 : :
61 : : } } } }
62 : :
63 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::geometry::AffineMatrix3D const *) SAL_THROW(()) {
64 : : return ::cppu::UnoType< ::com::sun::star::geometry::AffineMatrix3D >::get();
65 : : }
66 : :
67 : : #endif // INCLUDED_COM_SUN_STAR_GEOMETRY_AFFINEMATRIX3D_HPP
|