FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbHandle.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "AcNonRTTIObject.h"
20
22{
23public:
25 AcDbHandle(wchar_t const * );
28 AcDbHandle(int, int);
29 bool operator<=( AcDbHandle const &)const ;
30 bool operator>=( AcDbHandle const &)const ;
34 AcDbHandle & operator=(wchar_t const * param_1);
36 bool operator==(AcDbHandle const &);
37 bool operator!=(AcDbHandle const &);
39 void copyFromOldType(unsigned char const * const);
40 void copyToOldType(unsigned char * const)const ;
41 void getValueBytes(unsigned char *,unsigned char *)const ;
42 void print(void)const ;
43 void setValueBytes(unsigned char,unsigned char const *);
46 void setHigh( Adesk::UInt32 high );
47 void setLow( Adesk::UInt32 low );
48
49 bool isNull() const;
50 void setNull();
51 bool getIntoAsciiBuffer( wchar_t* ,size_t ) const;
52
53 template<size_t param_2> inline bool getIntoAsciiBuffer(wchar_t(&param_1)[param_2]) const
54 {
55 return getIntoAsciiBuffer(param_1, param_2);
56 }
57
58 //AcDbHandle& operator=(Adesk::UInt32);
60 //operator Adesk::UInt32() const;
61 operator Adesk::UInt64() const;
62
63 enum
64 {
65 kStrSiz = 17
66 };
67
70 void increment(void);
71 void decrement(void);
73 int compare(const AcDbHandle&) const;
75 bool operator>(const AcDbHandle&) const;
76 bool operator<(const AcDbHandle&) const;
77};
void setLow(Adesk::UInt32 low)
bool getIntoAsciiBuffer(wchar_t(&param_1)[param_2]) const
Definition AcDbHandle.h:53
AcDbHandle operator++(int)
AcDbHandle operator-(AcDbHandle const &) const
AcDbHandle & operator+=(AcDbHandle const &)
AcDbHandle & operator=(Adesk::UInt64)
bool operator>=(AcDbHandle const &) const
AcDbHandle slowOperatorPlus(AcDbHandle const &) const
int compare(const AcDbHandle &) const
AcDbHandle operator+(const AcDbHandle &) const
bool operator<(const AcDbHandle &) const
AcDbHandle operator+(Adesk::ULongPtr) const
Adesk::UInt32 high() const
Adesk::UInt32 low() const
bool isNull() const
AcDbHandle(AcDbHandle const &param_1)
void setNull()
void increment(void)
bool operator<=(AcDbHandle const &) const
void setValueBytes(unsigned char, unsigned char const *)
bool operator!=(AcDbHandle const &)
AcDbHandle & operator=(wchar_t const *param_1)
AcDbHandle & operator++()
bool operator>(const AcDbHandle &) const
void getValueBytes(unsigned char *, unsigned char *) const
AcDbHandle & operator-=(AcDbHandle const &)
void copyFromOldType(unsigned char const *const)
void print(void) const
AcDbHandle & operator=(AcDbHandle const &)
void setHigh(Adesk::UInt32 high)
bool operator==(AcDbHandle const &)
AcDbHandle(Adesk::UInt64 const &)
bool getIntoAsciiBuffer(wchar_t *, size_t) const
void decrement(void)
void copyToOldType(unsigned char *const) const
AcDbHandle(wchar_t const *)
AcDbHandle(int, int)
unsigned __int64 UInt64
Definition AddStruct.h:37