* var2 => nombre = variable2 => "%02d el resto"
*/
void TextComposer::initialize()
-throw(RuntimeException) {
+noexcept(false) {
Tokenizer variables(a_expression, "${");
Tokenizer idAndText;
Tokenizer nameAndFormat;
}
TextVariable* TextComposer::find(const char* name, const Exception::Mode::_v emode)
-throw(RuntimeException) {
+noexcept(false) {
for(variable_iterator ii = begin(), maxii = end(); ii != maxii; ii ++) {
if(anna_strcmp(textVariable(ii)->getName(), name) == 0)
return textVariable(ii);
}
String TextComposer::apply() const
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod ttmm(Logger::Local7, "TextComposer::apply", ANNA_FILE_LOCATION));
String result;
// No hace falta proteger porque sólo se podrá acceder desde el Protector
}
String TextComposer::asString() const
-throw() {
+{
String result("TextComposer { Id: ");
result << a_id;
result << " | Expression: " << a_expression;
//static
TextVariable::Type::_v TextComposer::calculeType(const char* format)
-throw(RuntimeException) {
+noexcept(false) {
static const char* typeInteger = "[:digit:]*d";
static const char* typeString = "[:digit:]*s";
static const char* typeFloat = "([:digit:]*.[:digit:]|.[:digit:]*)f|f";