summaryrefslogtreecommitdiff
path: root/basic/inc/basic/sbxvar.hxx
blob: 0cddcbdf8d17257f8d58a31ed2dc63e3a967b3d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
/*************************************************************************
 *
 * 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
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#ifndef _SBXVAR_HXX
#define _SBXVAR_HXX

#include <rtl/ustring.hxx>
#include <tools/string.hxx>
#include <com/sun/star/bridge/oleautomation/Decimal.hpp>
#include <basic/sbxcore.hxx>

#ifndef __SBX_64
#define __SBX_64

struct SbxINT64
{
    INT32 nHigh; UINT32 nLow;

#if FALSE
    SbxINT64()           : nHigh( 0 ), nLow( 0 ) {}
    SbxINT64( UINT8  n ) : nHigh( 0 ), nLow( n ) {}
    SbxINT64( UINT16 n ) : nHigh( 0 ), nLow( n ) {}
    SbxINT64( UINT32 n ) : nHigh( 0 ), nLow( n ) {}
    SbxINT64( unsigned int n ) : nHigh( 0 ), nLow( n ) {}
    SbxINT64( INT8   n ) : nHigh( n < 0 ? -1 : 0 ), nLow( n ) {}
    SbxINT64( INT16  n ) : nHigh( n < 0 ? -1 : 0 ), nLow( n ) {}
    SbxINT64( INT32  n ) : nHigh( n < 0 ? -1 : 0 ), nLow( n ) {}
    SbxINT64( int    n ) : nHigh( n < 0 ? -1 : 0 ), nLow( n ) {}
    SbxINT64( SbxINT64 &r ) : nHigh( r.nHigh ), nLow( r.nLow ) {}

    SbxINT64( BigInt &r );
    SbxINT64( double n );
#endif
    void CHS()
    {
        nLow  ^= (UINT32)-1;
        nHigh ^= -1;
        nLow++;
        if( !nLow )
            nHigh++;
    }

    // blc/os2i do not like operator =
    void Set(double n)
    {
        if( n >= 0 )
        {
            nHigh = (INT32)(n / (double)4294967296.0);
            nLow  = (UINT32)(n - ((double)nHigh * (double)4294967296.0) + 0.5);
        }
        else {
            nHigh = (INT32)(-n / (double)4294967296.0);
            nLow  = (UINT32)(-n - ((double)nHigh * (double)4294967296.0) + 0.5);
            CHS();
        }
    }
    void Set(INT32 n) { nHigh = n < 0 ? -1 : 0; nLow = n; }

    void SetMax()  { nHigh = 0x7FFFFFFF; nLow = 0xFFFFFFFF; }
    void SetMin()  { nHigh = 0x80000000; nLow = 0x00000000; }
    void SetNull() { nHigh = 0x00000000; nLow = 0x00000000; }

    int operator ! () const { return !nHigh && !nLow; }

    SbxINT64 &operator -= ( const SbxINT64 &r );
    SbxINT64 &operator += ( const SbxINT64 &r );
    SbxINT64 &operator /= ( const SbxINT64 &r );
    SbxINT64 &operator %= ( const SbxINT64 &r );
    SbxINT64 &operator *= ( const SbxINT64 &r );
    SbxINT64 &operator &= ( const SbxINT64 &r );
    SbxINT64 &operator |= ( const SbxINT64 &r );
    SbxINT64 &operator ^= ( const SbxINT64 &r );

    friend SbxINT64 operator - ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator + ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator / ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator % ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator * ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator & ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator | ( const SbxINT64 &l, const SbxINT64 &r );
    friend SbxINT64 operator ^ ( const SbxINT64 &l, const SbxINT64 &r );

    friend SbxINT64 operator - ( const SbxINT64 &r );
    friend SbxINT64 operator ~ ( const SbxINT64 &r );

    static double GetMin() { return ((double)0x7FFFFFFF*(double)4294967296.0
                                     + (double)0xFFFFFFFF)
                                    / CURRENCY_FACTOR; }
    static double GetMax() { return ((double)0x80000000*(double)4294967296.0
                                     + (double)0xFFFFFFFF)
                                    / CURRENCY_FACTOR; }
};

struct SbxUINT64
{
    UINT32 nHigh; UINT32 nLow;
    void Set(double n)
    {
        nHigh = (UINT32)(n / (double)4294967296.0);
        nLow  = (UINT32)(n - ((double)nHigh * (double)4294967296.0));
    }

    void Set(UINT32 n) { nHigh = 0; nLow = n; }

    void SetMax()  { nHigh = 0xFFFFFFFF; nLow = 0xFFFFFFFF; }
    void SetMin()  { nHigh = 0x00000000; nLow = 0x00000000; }
    void SetNull() { nHigh = 0x00000000; nLow = 0x00000000; }

    int operator ! () const { return !nHigh && !nLow; }

    SbxUINT64 &operator -= ( const SbxUINT64 &r );
    SbxUINT64 &operator += ( const SbxUINT64 &r );
    SbxUINT64 &operator /= ( const SbxUINT64 &r );
    SbxUINT64 &operator %= ( const SbxUINT64 &r );
    SbxUINT64 &operator *= ( const SbxUINT64 &r );
    SbxUINT64 &operator &= ( const SbxUINT64 &r );
    SbxUINT64 &operator |= ( const SbxUINT64 &r );
    SbxUINT64 &operator ^= ( const SbxUINT64 &r );

    friend SbxUINT64 operator - ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator + ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator / ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator % ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator * ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator & ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator | ( const SbxUINT64 &l, const SbxUINT64 &r );
    friend SbxUINT64 operator ^ ( const SbxUINT64 &l, const SbxUINT64 &r );

    friend SbxUINT64 operator ~ ( const SbxUINT64 &r );
};

#endif

#ifndef __SBX_SBXVALUES_HXX
#define __SBX_SBXVALUES_HXX

class BigInt;
class SbxDecimal;

struct SbxValues
{
    union {
        sal_Unicode     nChar;
        BYTE            nByte;
        INT16           nInteger;
        INT32           nLong;
        UINT16          nUShort;
        UINT32          nULong;
        float           nSingle;
        double          nDouble;
        SbxINT64        nLong64;
        SbxUINT64       nULong64;
        sal_Int64       nInt64;
        sal_uInt64      uInt64;
        int             nInt;
        unsigned int    nUInt;
        ::rtl::OUString* pOUString;
        SbxDecimal*     pDecimal;

        SbxBase*        pObj;
        sal_Unicode*    pChar;
        BYTE*           pByte;
        INT16*          pInteger;
        INT32*          pLong;
        UINT16*         pUShort;
        UINT32*         pULong;
        float*          pSingle;
        double*         pDouble;
        SbxINT64*       pLong64;
        SbxUINT64*      pULong64;
        sal_Int64*      pnInt64;
        sal_uInt64*     puInt64;
        int*            pInt;
        unsigned int*   pUInt;
        void*           pData;
    };
    SbxDataType  eType;

    SbxValues(): pData( NULL ), eType(SbxEMPTY) {}
    SbxValues( SbxDataType e ): eType(e) {}
    SbxValues( char _nChar ): nChar( _nChar ), eType(SbxCHAR) {}
    SbxValues( BYTE _nByte ): nByte( _nByte ), eType(SbxBYTE) {}
    SbxValues( short _nInteger ): nInteger( _nInteger ), eType(SbxINTEGER ) {}
    SbxValues( long _nLong ): nLong( _nLong ), eType(SbxLONG) {}
    SbxValues( USHORT _nUShort ): nUShort( _nUShort ), eType(SbxUSHORT) {}
    SbxValues( ULONG _nULong ): nULong( _nULong ), eType(SbxULONG) {}
    SbxValues( float _nSingle ): nSingle( _nSingle ), eType(SbxSINGLE) {}
    SbxValues( double _nDouble ): nDouble( _nDouble ), eType(SbxDOUBLE) {}
    SbxValues( int _nInt ): nInt( _nInt ), eType(SbxINT) {}
    SbxValues( unsigned int _nUInt ): nUInt( _nUInt ), eType(SbxUINT) {}
    SbxValues( const ::rtl::OUString* _pString ): pOUString( (::rtl::OUString*)_pString ), eType(SbxSTRING) {}
    SbxValues( SbxBase* _pObj ): pObj( _pObj ), eType(SbxOBJECT) {}
    SbxValues( sal_Unicode* _pChar ): pChar( _pChar ), eType(SbxLPSTR) {}
    SbxValues( void* _pData ): pData( _pData ), eType(SbxPOINTER) {}
    SbxValues( const BigInt &rBig );
};

#endif

#ifndef __SBX_SBXVALUE
#define __SBX_SBXVALUE

struct SbxValues;

class SbxValueImpl;

class SbxValue : public SbxBase
{
    SbxValueImpl* mpSbxValueImplImpl;   // Impl data

    // #55226 Transport additional infos
    SbxValue* TheRealValue( BOOL bObjInObjError ) const;
    SbxValue* TheRealValue() const;
protected:
    SbxValues aData; // Data
    ::rtl::OUString aPic;  // Picture-String
    String          aToolString;  // tool string copy

    virtual void Broadcast( ULONG );    // Broadcast-Call
    virtual ~SbxValue();
    virtual BOOL LoadData( SvStream&, USHORT );
    virtual BOOL StoreData( SvStream& ) const;
public:
    SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_VALUE,1);
    TYPEINFO();
    SbxValue();
    SbxValue( SbxDataType, void* = NULL );
    SbxValue( const SbxValue& );
    SbxValue& operator=( const SbxValue& );
    virtual void Clear();
    virtual BOOL IsFixed() const;

    BOOL IsInteger() const { return BOOL( GetType() == SbxINTEGER  ); }
    BOOL IsLong()    const { return BOOL( GetType() == SbxLONG     ); }
    BOOL IsSingle()  const { return BOOL( GetType() == SbxSINGLE   ); }
    BOOL IsDouble()  const { return BOOL( GetType() == SbxDOUBLE   ); }
    BOOL IsString()  const { return BOOL( GetType() == SbxSTRING   ); }
    BOOL IsDate()    const { return BOOL( GetType() == SbxDATE     ); }
    BOOL IsCurrency()const { return BOOL( GetType() == SbxCURRENCY ); }
    BOOL IsObject()  const { return BOOL( GetType() == SbxOBJECT   ); }
    BOOL IsDataObject()const{return BOOL( GetType() == SbxDATAOBJECT);}
    BOOL IsBool()    const { return BOOL( GetType() == SbxBOOL     ); }
    BOOL IsErr()     const { return BOOL( GetType() == SbxERROR    ); }
    BOOL IsEmpty()   const { return BOOL( GetType() == SbxEMPTY    ); }
    BOOL IsNull()    const { return BOOL( GetType() == SbxNULL     ); }
    BOOL IsChar()    const { return BOOL( GetType() == SbxCHAR     ); }
    BOOL IsByte()    const { return BOOL( GetType() == SbxBYTE     ); }
    BOOL IsUShort()  const { return BOOL( GetType() == SbxUSHORT   ); }
    BOOL IsULong()   const { return BOOL( GetType() == SbxULONG    ); }
    BOOL IsInt()     const { return BOOL( GetType() == SbxINT      ); }
    BOOL IsUInt()    const { return BOOL( GetType() == SbxUINT     ); }
    BOOL IspChar()   const { return BOOL( GetType() == SbxLPSTR    ); }
    BOOL IsNumeric() const;
    BOOL IsNumericRTL() const;  // #41692 Interface for Basic
    BOOL ImpIsNumeric( BOOL bOnlyIntntl ) const;    // Implementation

    virtual SbxClassType GetClass() const;
    virtual SbxDataType GetType() const;
    SbxDataType GetFullType() const;
    BOOL SetType( SbxDataType );

    virtual BOOL Get( SbxValues& ) const;
    BOOL GetNoBroadcast( SbxValues& );
    const SbxValues& GetValues_Impl() const { return aData; }
    virtual BOOL Put( const SbxValues& );

    inline SbxValues * data() { return &aData; }

    SbxINT64 GetCurrency() const;
    SbxINT64 GetLong64() const;
    SbxUINT64 GetULong64() const;
    sal_Int64  GetInt64() const;
    sal_uInt64 GetUInt64() const;
    INT16  GetInteger() const;
    INT32  GetLong() const;
    float  GetSingle() const;
    double GetDouble() const;
    double GetDate() const;
    BOOL   GetBool() const;
    UINT16 GetErr() const;
    const  String& GetString() const;
    const  String& GetCoreString() const;
    ::rtl::OUString GetOUString() const;
    SbxDecimal* GetDecimal() const;
    SbxBase* GetObject() const;
    BOOL     HasObject() const;
    void*  GetData() const;
    sal_Unicode GetChar() const;
    BYTE   GetByte() const;
    UINT16 GetUShort() const;
    UINT32 GetULong() const;
    int    GetInt() const;

    BOOL PutCurrency( const SbxINT64& );
    BOOL PutLong64( const SbxINT64& );
    BOOL PutULong64( const SbxUINT64& );
    BOOL PutInt64( sal_Int64 );
    BOOL PutUInt64( sal_uInt64 );
    BOOL PutInteger( INT16 );
    BOOL PutLong( INT32 );
    BOOL PutSingle( float );
    BOOL PutDouble( double );
    BOOL PutDate( double );
    BOOL PutBool( BOOL );
    BOOL PutErr( USHORT );
    BOOL PutStringExt( const ::rtl::OUString& );     // with extended analysis (International, "TRUE"/"FALSE")
    BOOL PutString( const ::rtl::OUString& );
    BOOL PutString( const sal_Unicode* );   // Type = SbxSTRING
    BOOL PutpChar( const sal_Unicode* );    // Type = SbxLPSTR
    BOOL PutDecimal( SbxDecimal* pDecimal );
    BOOL PutObject( SbxBase* );
    BOOL PutData( void* );
    BOOL PutChar( sal_Unicode );
    BOOL PutByte( BYTE );
    BOOL PutUShort( UINT16 );
    BOOL PutULong( UINT32 );
    BOOL PutInt( int );
    BOOL PutEmpty();
    BOOL PutNull();

    // Special decimal methods
    BOOL PutDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec );
    BOOL fillAutomationDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec );

    virtual BOOL Convert( SbxDataType );
    virtual BOOL Compute( SbxOperator, const SbxValue& );
    virtual BOOL Compare( SbxOperator, const SbxValue& ) const;
    BOOL Scan( const String&, USHORT* = NULL );
    void Format( String&, const String* = NULL ) const;

    // Interface for CDbl in Basic
    static SbxError ScanNumIntnl( const String& rSrc, double& nVal, BOOL bSingle=FALSE );

    // The following operators are definied for easier handling.
    // Error conditions (overflow, conversions) are not
    // taken into consideration.

    inline int operator ==( const SbxValue& ) const;
    inline int operator !=( const SbxValue& ) const;
    inline int operator <( const SbxValue& ) const;
    inline int operator >( const SbxValue& ) const;
    inline int operator <=( const SbxValue& ) const;
    inline int operator >=( const SbxValue& ) const;

    inline SbxValue& operator *=( const SbxValue& );
    inline SbxValue& operator /=( const SbxValue& );
    inline SbxValue& operator %=( const SbxValue& );
    inline SbxValue& operator +=( const SbxValue& );
    inline SbxValue& operator -=( const SbxValue& );
    inline SbxValue& operator &=( const SbxValue& );
    inline SbxValue& operator |=( const SbxValue& );
    inline SbxValue& operator ^=( const SbxValue& );
};

inline int SbxValue::operator==( const SbxValue& r ) const
{ return Compare( SbxEQ, r ); }

inline int SbxValue::operator!=( const SbxValue& r ) const
{ return Compare( SbxNE, r ); }

inline int SbxValue::operator<( const SbxValue& r ) const
{ return Compare( SbxLT, r ); }

inline int SbxValue::operator>( const SbxValue& r ) const
{ return Compare( SbxGT, r ); }

inline int SbxValue::operator<=( const SbxValue& r ) const
{ return Compare( SbxLE, r ); }

inline int SbxValue::operator>=( const SbxValue& r ) const
{ return Compare( SbxGE, r ); }

inline SbxValue& SbxValue::operator*=( const SbxValue& r )
{ Compute( SbxMUL, r ); return *this; }

inline SbxValue& SbxValue::operator/=( const SbxValue& r )
{ Compute( SbxDIV, r ); return *this; }

inline SbxValue& SbxValue::operator%=( const SbxValue& r )
{ Compute( SbxMOD, r ); return *this; }

inline SbxValue& SbxValue::operator+=( const SbxValue& r )
{ Compute( SbxPLUS, r ); return *this; }

inline SbxValue& SbxValue::operator-=( const SbxValue& r )
{ Compute( SbxMINUS, r ); return *this; }

inline SbxValue& SbxValue::operator&=( const SbxValue& r )
{ Compute( SbxAND, r ); return *this; }

inline SbxValue& SbxValue::operator|=( const SbxValue& r )
{ Compute( SbxOR, r ); return *this; }

inline SbxValue& SbxValue::operator^=( const SbxValue& r )
{ Compute( SbxXOR, r ); return *this; }

#endif

#ifndef __SBX_SBXVARIABLE_HXX
#define __SBX_SBXVARIABLE_HXX

class SbxArray;
class SbxInfo;

#ifndef SBX_ARRAY_DECL_DEFINED
#define SBX_ARRAY_DECL_DEFINED
SV_DECL_REF(SbxArray)
#endif

#ifndef SBX_INFO_DECL_DEFINED
#define SBX_INFO_DECL_DEFINED
SV_DECL_REF(SbxInfo)
#endif

class SfxBroadcaster;

class SbxVariableImpl;

class SbxVariable : public SbxValue
{
    friend class SbMethod;

    SbxVariableImpl* mpSbxVariableImpl; // Impl data
    SfxBroadcaster*  pCst;      // Broadcaster, if needed
    String           maName;            // Name, if available
    SbxArrayRef      mpPar;             // Parameter-Array, if set
    USHORT           nHash;             // Hash-ID for search

    SbxVariableImpl* getImpl( void );

protected:
    SbxInfoRef  pInfo;              // Probably called information
    sal_uIntPtr nUserData;          // User data for Call()
    SbxObject* pParent;             // Currently attached object
    virtual ~SbxVariable();
    virtual BOOL LoadData( SvStream&, USHORT );
    virtual BOOL StoreData( SvStream& ) const;
public:
    SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_VARIABLE,2);
    TYPEINFO();
    SbxVariable();
    SbxVariable( SbxDataType, void* = NULL );
    SbxVariable( const SbxVariable& );
    SbxVariable& operator=( const SbxVariable& );

    void Dump( SvStream&, BOOL bDumpAll=FALSE );

    virtual void SetName( const String& );
    virtual const String& GetName( SbxNameType = SbxNAME_NONE ) const;
    USHORT GetHashCode() const          { return nHash; }

    virtual void SetModified( BOOL );

    sal_uIntPtr GetUserData() const        { return nUserData; }
    void SetUserData( sal_uIntPtr n ) { nUserData = n;    }

    virtual SbxDataType  GetType()  const;
    virtual SbxClassType GetClass() const;

    // Parameter-Interface
    virtual SbxInfo* GetInfo();
    void SetInfo( SbxInfo* p );
    void SetParameters( SbxArray* p );
    SbxArray* GetParameters() const     { return mpPar; }

    // Sfx-Broadcasting-Support:
    // Due to data reduction and better DLL-hierarchie currently via casting
    SfxBroadcaster& GetBroadcaster();
    BOOL IsBroadcaster() const { return BOOL( pCst != NULL ); }
    virtual void Broadcast( ULONG nHintId );

    inline const SbxObject* GetParent() const { return pParent; }
    inline SbxObject* GetParent() { return pParent; }
    virtual void SetParent( SbxObject* );

    const String& GetDeclareClassName( void );
    void SetDeclareClassName( const String& );
    void SetComListener( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xComListener );

    static USHORT MakeHashCode( const String& rName );
};

#ifndef SBX_VARIABLE_DECL_DEFINED
#define SBX_VARIABLE_DECL_DEFINED
SV_DECL_REF(SbxVariable)
#endif

#endif

#endif  // _SBXVAR_HXX