FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcRxResourceInstance.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
20class AcDbObjectId;
21class AcDbDatabase;
22
23class AcRxObject;
24
26{
27public:
29 virtual ~AcRxResourceInstance( void );
30
31 explicit AcRxResourceInstance(const wchar_t*);
34
35 bool tryLoadString(Adesk::Int32, AcString&) const noexcept;
36 bool isLoaded() const noexcept;
37 bool loadDataResource(Adesk::Int32, unsigned long&, const void*&) const noexcept;
38 void freeDataResource(const void*&) const noexcept;
39 const static AcRxResourceInstance& empty();
40};
AcRxResourceInstance(void *)
AcRxResourceInstance(const wchar_t *)
virtual ~AcRxResourceInstance(void)
AcRxResourceInstance(const AcRxResourceInstance &)
bool tryLoadString(Adesk::Int32, AcString &) const noexcept
bool isLoaded() const noexcept
long Int32
Definition AddStruct.h:34