Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::LocalizedMessage

Group:  Core Localization


Does not inherit

Local Index

Members

Header File

#include rwsf/core/LocalizedMessage.h

Description

Class used by localized exceptions to contain the exception message string and an identifier specifying a unique value represented with the message

Messages are obtained the messages.cpp file within the constructors using MessageCatalog::getLocalizedMessage() Therefore, the constructor argument must match the id of an existing message within the messages.cpp file (which is created at compile time from the messages.xml file)

Note

C-string functions are used instead of std::string functions because:

Public Constructors

LocalizedMessage(const MessageCatalogId & id);

Public Member Functions

std::string
getIdentifier() const;
std::string
getMessage() const;
void
replace(const std::string & second);
void
replace(char second);
void
replace(unsigned char second);
void
replace(int second);
void
replace(unsigned int second);
void
replace(short second);
void
replace(unsigned short second);
void
replace(long second);
void
replace(unsigned long second);
void
replace(long long second);
void
replace(unsigned long long second);
void
replace(float second);
void
replace(double second);
void
replace(long double second);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.