STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

resource_string Class Reference
[String Library (MFCSTL)]

Instances of this class represent Windows string resources, and are constructed from instance identifiers. More...

#include <mfcstl_resource_string.h>

List of all members.

Public Types

typedef LPCTSTR const_iterator
 The type of the const (non-mutating) iterator.

typedef UINT size_type
 The size type.


Public Methods

 resource_string (ms_uint_t id)
 Constructs an around the string loaded from the given id.

 resource_string (HINSTANCE hinst, ms_uint_t id)
 Constructs an around the string loaded from the given id and hinst.

 resource_string (resource_string const &rhs)
 Copy constructor.

 resource_string (CString const &rhs)
 Copy constructor.

resource_string const & operator= (resource_string const &rhs)
 Copy assignment operator.

resource_string const & operator= (CString const &rhs)
 Copy assignment operator.

const_iterator begin () const
 Begins the iteration.

const_iterator end () const
 Ends the iteration.

size_type size () const
 Returns the number of elements in the sequence.

size_type length () const
 Returns the number of elements in the sequence.

ms_bool_t empty () const
 Indicates whether the string is empty.

LPCTSTR c_str () const
 Returns a pointer to constant data representing the managed string.


Detailed Description

Instances of this class represent Windows string resources, and are constructed from instance identifiers.


Member Typedef Documentation

typedef LPCTSTR const_iterator
 

The type of the const (non-mutating) iterator.

typedef UINT size_type
 

The size type.


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004