class PlainText

Inherits: Resource

A resource containing plain text data.

Public

Methods

GetString

const WString &GetString() const

Returns the text contained in the resource.

SetString

void SetString(const WString &data)

Modifies the text contained in the resource.

staticCreate

static HPlainText Create(const WString &data)

Creates a new text file resource with the specified string.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

virtual RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Internal

Methods

staticCreatePtrInternal

static SPtr<PlainText> CreatePtrInternal(const WString &data)

Creates an include file resource with the specified include string.

Private

Constructors

PlainText

PlainText(const WString &data)

Fields

mString

WString mString