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

#include <owl/wsyscls.h>

Inheritance diagram for owl::TResId:
owl::TResIdT< tchar >

Public Types

typedef LPCTSTR TImplicitConversionResult
 
- Public Types inherited from owl::TResIdT< tchar >
typedef const tcharTPointer
 

Public Member Functions

 TResId ()
 
 TResId (TPointer id)
 
 TResId (int id)
 
 operator TImplicitConversionResult () const
 Typecasting operator that converts this to the pointer representation of the encapsulated Windows resource identifier.
 
- Public Member Functions inherited from owl::TResIdT< tchar >
 TResIdT ()
 Sets the identifier to 0.
 
 TResIdT (TPointer id)
 Encapsulates the given Windows resource identifier.
 
 TResIdT (int id)
 Encapsulates the given numerical Windows resource identifier.
 
TPointer GetPointerRepresentation () const
 Returns the encapsulated pointer.
 
bool IsInt () const
 Returns true if this resource identifier encodes an integer value.
 
bool IsString () const
 Returns true if this resource identifier encodes a string pointer.
 
WORD GetInt () const
 Returns the encapsulated numerical identifier, provided this resource identifier encodes a numerical identifier.
 
TPointer GetString () const
 Returns the encapsulated string pointer, provided this resource identifier encodes a string pointer.
 

Detailed Description

Definition at line 205 of file wsyscls.h.

Member Typedef Documentation

◆ TImplicitConversionResult

Constructor & Destructor Documentation

◆ TResId() [1/3]

owl::TResId::TResId ( )
inline

Definition at line 208 of file wsyscls.h.

◆ TResId() [2/3]

owl::TResId::TResId ( TPointer id)
inline

Definition at line 209 of file wsyscls.h.

◆ TResId() [3/3]

owl::TResId::TResId ( int id)
inline

Definition at line 210 of file wsyscls.h.

Member Function Documentation

◆ operator TImplicitConversionResult()

owl::TResId::operator TImplicitConversionResult ( ) const
inline

Typecasting operator that converts this to the pointer representation of the encapsulated Windows resource identifier.

This operator is deprecated. Use GetPointerRepresentation instead.

Definition at line 226 of file wsyscls.h.


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