projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
include
/
anna
/
core
/
util
/
MultiRangeExpression.hpp
diff --git
a/include/anna/core/util/MultiRangeExpression.hpp
b/include/anna/core/util/MultiRangeExpression.hpp
index
d79f02e
..
aa03b8b
100644
(file)
--- a/
include/anna/core/util/MultiRangeExpression.hpp
+++ b/
include/anna/core/util/MultiRangeExpression.hpp
@@
-26,7
+26,7
@@
class MultiRangeExpression {
std::map < unsigned int, int/*dummy*/ > a_data; // expands literal
std::map < unsigned int, int/*dummy*/ > a_data; // expands literal
- void refresh(void)
throw()
; // keep coherence between 'a_data' and 'a_literal'
+ void refresh(void) ; // keep coherence between 'a_data' and 'a_literal'
public:
public:
@@
-40,21
+40,21
@@
public:
*
* @return Literal
*/
*
* @return Literal
*/
- const char * getLiteral(void) const
throw()
{ return a_literal.c_str(); }
+ const char * getLiteral(void) const { return a_literal.c_str(); }
/**
* Gets expanded representation for stored literal. E.g.: '1-3,8,10' => '1,2,3,7,8,10'
*
* @return Expanded literal
*/
/**
* Gets expanded representation for stored literal. E.g.: '1-3,8,10' => '1,2,3,7,8,10'
*
* @return Expanded literal
*/
- std::string getExpandedLiteral(void) const
throw()
;
+ std::string getExpandedLiteral(void) const ;
/**
* Simplify stored literal. E.g.: '1,1,1,2,3,7,8,10' => '1-3,8,10' and returns it.
*
* @return Simplified literal
*/
/**
* Simplify stored literal. E.g.: '1,1,1,2,3,7,8,10' => '1-3,8,10' and returns it.
*
* @return Simplified literal
*/
- const char * simplifyLiteral(void)
throw()
;
+ const char * simplifyLiteral(void) ;
// helpers
// helpers
@@
-64,7
+64,7
@@
public:
* @param value Value to be tested
* @return True or false
*/
* @param value Value to be tested
* @return True or false
*/
- bool contain(const unsigned int & value) const
throw()
{ return (a_data.find(value) != a_data.end()); }
+ bool contain(const unsigned int & value) const { return (a_data.find(value) != a_data.end()); }
// setters
// setters
@@
-73,7
+73,7
@@
public:
*
* @param l Literal to be stored
*/
*
* @param l Literal to be stored
*/
- void setLiteral(const char * l)
throw()
{
+ void setLiteral(const char * l) {
a_literal = l ? l : "";
refresh();
}
a_literal = l ? l : "";
refresh();
}
@@
-84,7
+84,7
@@
public:
*
* @param l Literal to be added
*/
*
* @param l Literal to be added
*/
- void addLiteral(const char * l)
throw()
{
+ void addLiteral(const char * l) {
if(!l) return;
if(std::string(l) != "") {
if(!l) return;
if(std::string(l) != "") {