CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxStdsError.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2025 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
19#include <RxObject.h>
20#include "DDKERNEL.h"
21#include "FxString.h"
22
23#include <ResBuf.h>
24#include <DbObjectId.h>
25
26#include <map>
27
28#include "FxPragmaPush.h"
29
30class CFxStdsFix;
31class CFxStdsPlugins;
32
33typedef OdSmartPtr < CFxStdsPlugins > CFxStdsPluginsPtr;
34
35class DDKERNEL_API CFxStdsError : public OdRxObject
36{
37public:
39
40 ~CFxStdsError() override {};
41
47 virtual CFxString ApplyFix( CFxStdsFix* ) = 0;
48
54 virtual void SetBadObjectId( OdDbObjectId ) = 0;
56
62 virtual void SetBadObjectName( CFxString ) = 0;
64
70 virtual void SetDescription( CFxString ) = 0;
72
78 virtual void SetErrorTypeName( CFxString ) = 0;
80
86 virtual void SetPlugin( CFxStdsPluginsPtr ) = 0;
88
92 virtual int PropertyCount() = 0;
93
102
106 virtual void Reset() = 0;
107
114 virtual void GetIgnoredByUser( bool & , CFxString & ) = 0;
115 virtual void SetIgnoredByUser( bool , CFxString ) = 0;
116
120 virtual std::map < CFxString,OdResBufPtr > getErrorMap() = 0;
121};
122
123typedef OdSmartPtr < CFxStdsError > CFxStdsErrorPtr;
124
125#include "FxPragmaPop.h"
#define DDKERNEL_API
Definition DDKERNEL.h:32
OdSmartPtr< OdResBuf > OdResBufPtr
Definition DbDatabase.h:105
OdSmartPtr< CFxStdsError > CFxStdsErrorPtr
OdSmartPtr< CFxStdsPlugins > CFxStdsPluginsPtr
Definition FxStdsError.h:33
virtual std::map< CFxString, OdResBufPtr > getErrorMap()=0
virtual CFxStdsPluginsPtr GetPlugins()=0
virtual CFxString GetErrorTypeName()=0
virtual int PropertyCount()=0
virtual void SetPropertyValue(CFxString, OdResBufPtr)=0
virtual OdDbObjectId GetBadObjectId()=0
virtual void SetBadObjectName(CFxString)=0
virtual void GetIgnoredByUser(bool &, CFxString &)=0
virtual OdResBufPtr GetPropertyValue(CFxString)=0
~CFxStdsError() override
Definition FxStdsError.h:40
virtual void Reset()=0
virtual void SetDescription(CFxString)=0
virtual CFxString ApplyFix(CFxStdsFix *)=0
virtual void SetIgnoredByUser(bool, CFxString)=0
virtual void SetBadObjectId(OdDbObjectId)=0
ODRX_DECLARE_MEMBERS(CFxStdsError)
virtual void SetPlugin(CFxStdsPluginsPtr)=0
virtual void SetErrorTypeName(CFxString)=0
virtual CFxString GetBadObjectName()=0
virtual CFxString GetDescription()=0