Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cResDlgStringOrId Class Reference

#include <cResDialog.h>

Public Member Functions

 cResDlgStringOrId ()
 
void SetClear ()
 
cString get_String () const
 
size_t get_Size () const
 
void Read (const BYTE *&seeker, CODEPAGE_t uCodePage)
 
void Write (BYTE *&seeker, CODEPAGE_t uCodePage)
 

Public Attributes

cString m_sText
 
WORD m_wID
 alternate id in the same union space. RESOURCEID_t More...
 

Detailed Description

Dialog can embed actual strings or just a RESOURCEID_t

Constructor & Destructor Documentation

◆ cResDlgStringOrId()

GrayLib::cResDlgStringOrId::cResDlgStringOrId ( )

Member Function Documentation

◆ get_Size()

size_t GrayLib::cResDlgStringOrId::get_Size ( ) const

the size of x (which can be a string a number, or nothing) to dwSize (in bytes)

◆ get_String()

cString GrayLib::cResDlgStringOrId::get_String ( ) const

low id's for class names may be system reserved ?

◆ Read()

void GrayLib::cResDlgStringOrId::Read ( const BYTE *&  seeker,
CODEPAGE_t  uCodePage 
)

DLGTEMPLATE Reads a variable length array from pStream into readInto and advances pStream uCodePage = CP_UTF8

◆ SetClear()

void GrayLib::cResDlgStringOrId::SetClear ( )

◆ Write()

void GrayLib::cResDlgStringOrId::Write ( BYTE *&  seeker,
CODEPAGE_t  uCodePage 
)

writes a given string (that can be a number too) into the buffer uCodePage = CP_UTF8

Member Data Documentation

◆ m_sText

cString GrayLib::cResDlgStringOrId::m_sText

◆ m_wID

WORD GrayLib::cResDlgStringOrId::m_wID

alternate id in the same union space. RESOURCEID_t


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