CFx SDK Documentation  2020SP3
FxStdsError.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 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 
30 class CFxStdsFix;
31 class CFxStdsPlugins;
32 
34 
36 {
37 public:
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;
60  virtual CFxString GetBadObjectName() = 0;
61 
66  virtual void SetDescription( CFxString ) = 0;
67  virtual CFxString GetDescription() = 0;
68 
73  virtual void SetErrorTypeName( CFxString ) = 0;
74  virtual CFxString GetErrorTypeName() = 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 
111 
112 #include "FxPragmaPop.h"
FxPragmaPop.h
CFxStdsError::GetIgnoredByUser
virtual void GetIgnoredByUser(bool &, CFxString &)=0
CFxStdsError
Definition: FxStdsError.h:36
OdRxObject
Definition: RxObject.h:564
OdDbObjectId
Definition: DbObjectId.h:99
CFxStdsError::getErrorMap
virtual std::map< CFxString, OdResBufPtr > getErrorMap()=0
CFxStdsError::GetBadObjectName
virtual CFxString GetBadObjectName()=0
DDKERNEL.h
FxString.h
RxObject.h
CFxStdsError::~CFxStdsError
~CFxStdsError() override
Definition: FxStdsError.h:40
OdSmartPtr
Definition: SmartPtr.h:58
CFxString
Definition: FxString.h:48
DbObjectId.h
CFxStdsErrorPtr
OdSmartPtr< CFxStdsError > CFxStdsErrorPtr
Definition: FxStdsError.h:110
CFxStdsError::SetBadObjectName
virtual void SetBadObjectName(CFxString)=0
CFxStdsError::Reset
virtual void Reset()=0
CFxStdsError::SetPlugin
virtual void SetPlugin(CFxStdsPluginsPtr)=0
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxStdsError::SetDescription
virtual void SetDescription(CFxString)=0
CFxStdsPluginsPtr
OdSmartPtr< CFxStdsPlugins > CFxStdsPluginsPtr
Definition: FxStdsError.h:31
CFxStdsError::SetPropertyValue
virtual void SetPropertyValue(CFxString, OdResBufPtr)=0
CFxStdsError::SetErrorTypeName
virtual void SetErrorTypeName(CFxString)=0
CFxStdsError::GetBadObjectId
virtual OdDbObjectId GetBadObjectId()=0
CFxStdsError::PropertyCount
virtual int PropertyCount()=0
CFxStdsError::ApplyFix
virtual CFxString ApplyFix(CFxStdsFix *)=0
CFxStdsError::GetPlugins
virtual CFxStdsPluginsPtr GetPlugins()=0
CFxStdsError::SetIgnoredByUser
virtual void SetIgnoredByUser(bool, CFxString)=0
CFxStdsError::GetErrorTypeName
virtual CFxString GetErrorTypeName()=0
FxPragmaPush.h
CFxStdsPlugins
Definition: FxStdsPlugins.h:34
ResBuf.h
CFxStdsError::GetPropertyValue
virtual OdResBufPtr GetPropertyValue(CFxString)=0
CFxStdsFix
Definition: FxStdsFix.h:29
CFxStdsError::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(CFxStdsError)
CFxStdsError::SetBadObjectId
virtual void SetBadObjectId(OdDbObjectId)=0
CFxStdsError::GetDescription
virtual CFxString GetDescription()=0