OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TXTheme Class Reference

#include <owl/theme.h>

Inheritance diagram for owl::TXTheme:
owl::TXOwl owl::TXBase

Public Member Functions

 TXTheme (const tstring &=tstring(), HRESULT=0)
 Creates a theme exception.
 
TXThemeClone ()
 Creates a copy of the exception.
 
void Throw ()
 Throws the exception.
 
- Public Member Functions inherited from owl::TXOwl
 TXOwl (const tstring &msg, uint resId=0)
 An OWL exception with a given message for displaying and an unsigned Id that can be used for identification or loading a string.
 
 TXOwl (uint resId, TModule *module=&GetGlobalModule())
 An OWL exception with a given unsigned Id that can is used for loading a message string & identification.
 
virtual ~TXOwl ()
 Destroys a TXOwl object.
 
virtual int Unhandled (TModule *appModule, uint promptResId)
 Per-exception class unhandled-handler, will default to the per-module unhandled-handler.
 
uint GetErrorCode () const
 Returns the resource ID.
 
- Public Member Functions inherited from owl::TXBase
 TXBase (const tstring &msg)
 Calls the xmsg class's constructor that takes a string parameter and initializes xmsg with the value of the string parameter.
 
 TXBase (const TXBase &src)
 Creates a copy of the TXBase object passed in the TXBase parameter.
 
virtual ~TXBase ()
 
const charwhat () const noexcept
 
TXBase &_RTLENTRY operator= (const TXBase &src)
 
tstring why () const
 

Static Public Member Functions

static void Raise (const tstring &name=tstring(), HRESULT=0)
 Throws the exception.
 
- Static Public Member Functions inherited from owl::TXOwl
static tstring ResourceIdToString (bool *found, uint resId, TModule *module=&GetGlobalModule())
 Static member function used to convert a resource id to a 'string'.
 
static tstring MakeMessage (uint resId, const tstring &infoStr, TModule *module=&GetGlobalModule())
 
static tstring MakeMessage (uint resId, LPCTSTR infoStr, TModule *module=&GetGlobalModule())
 Extension to string loader adds the feature of sprintf'ing an additional information string into the resource message string.
 
static tstring MakeMessage (uint resId, uint infoNum, TModule *module=&GetGlobalModule())
 This extension to the string loader adds the feature of sprintf'ing an additional information string into the resource message string.
 
static void Raise (const tstring &msg, uint resId=0)
 
static void Raise (uint resId, TModule *module=&GetGlobalModule())
 
- Static Public Member Functions inherited from owl::TXBase
static void Raise (const tstring &msg)
 Constructs a TXBase exception from scratch, and throws it.
 

Public Attributes

HRESULT result
 
- Public Attributes inherited from owl::TXOwl
uint ResId
 Resource ID for a TXOwl object.
 

Additional Inherited Members

- Protected Attributes inherited from owl::TXBase
std::string str
 

Detailed Description

Definition at line 153 of file theme.h.

Constructor & Destructor Documentation

◆ TXTheme()

owl::TXTheme::TXTheme ( const tstring & name = tstring(),
HRESULT r = 0 )

Creates a theme exception.

Definition at line 216 of file theme.cpp.

Member Function Documentation

◆ Clone()

TXTheme * owl::TXTheme::Clone ( )
virtual

Creates a copy of the exception.

Reimplemented from owl::TXOwl.

Definition at line 226 of file theme.cpp.

References TXTheme().

◆ Raise()

void owl::TXTheme::Raise ( const tstring & name = tstring(),
HRESULT r = 0 )
static

Throws the exception.

Definition at line 244 of file theme.cpp.

References TXTheme().

◆ Throw()

void owl::TXTheme::Throw ( )
virtual

Throws the exception.

Reimplemented from owl::TXOwl.

Definition at line 235 of file theme.cpp.

Member Data Documentation

◆ result

HRESULT owl::TXTheme::result

Definition at line 156 of file theme.h.


The documentation for this class was generated from the following files: