CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxStdsError.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2023 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
36{
37public:
39
40 ~CFxStdsError() override {};
41
46 virtual CFxString ApplyFix( CFxStdsFix* ) = 0;
47
52 virtual void SetBadObjectId( OdDbObjectId ) = 0;
54
59 virtual void SetBadObjectName( CFxString ) = 0;
61
66 virtual void SetDescription( CFxString ) = 0;
68
73 virtual void SetErrorTypeName( CFxString ) = 0;
75
80 virtual void SetPlugin( CFxStdsPluginsPtr ) = 0;
82
85 virtual int PropertyCount() = 0;
86
93 virtual void SetPropertyValue( CFxString , OdResBufPtr ) = 0;
94
96 virtual void Reset() = 0;
97
103 virtual void GetIgnoredByUser( bool & , CFxString & ) = 0;
104 virtual void SetIgnoredByUser( bool , CFxString ) = 0;
105
107 virtual std::map < CFxString,OdResBufPtr > getErrorMap() = 0;
108};
109
110typedef OdSmartPtr < CFxStdsError > CFxStdsErrorPtr;
111
112#include "FxPragmaPop.h"
#define DDKERNEL_API
Definition: DDKERNEL.h:32
OdSmartPtr< CFxStdsError > CFxStdsErrorPtr
Definition: FxStdsError.h:110
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