}
void TextManager::clear()
-throw() {
+{
Guard guard(*this, "TextManager::clear");
for(TextComposerVector::iterator ii = a_composers.begin(), maxii = a_composers.end(); ii != maxii; ii ++)
}
void TextManager::create(const int composer, const char* expression)
-throw(RuntimeException) {
+noexcept(false) {
TextComposer* result = NULL;
Guard guard(*this, "TextManager::create");
}
TextComposer& TextManager::find(const int composer)
-throw(RuntimeException) {
+noexcept(false) {
TextComposer* result;
Guard guard(*this, "TextManager::find");
}
const TextComposer& TextManager::find(const int composer) const
-throw(RuntimeException) {
+noexcept(false) {
const TextComposer& result = const_cast <TextManager*>(this)->find(composer);
return result;
}
TextComposer* TextManager::createTextComposer(const int composer, const char* expression)
-throw() {
+{
return new TextComposer(composer, expression);
}
TextComposer* TextManager::xfind(const int composer)
-throw() {
- TextComposer* result = NULL;
-
+{
for(TextComposerVector::iterator ii = a_composers.begin(), maxii = a_composers.end(); ii != maxii; ii ++)
if((*ii)->getId() == composer) {
return (*ii);