summaryrefslogtreecommitdiffstats
path: root/raul/Symbol.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/Symbol.hpp')
-rw-r--r--raul/Symbol.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/raul/Symbol.hpp b/raul/Symbol.hpp
index 0b8cba7..8ec11af 100644
--- a/raul/Symbol.hpp
+++ b/raul/Symbol.hpp
@@ -1,15 +1,15 @@
/* This file is part of Raul.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Raul is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Raul is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -26,9 +26,9 @@
namespace Raul {
-
+
/** A restricted string (C identifier, which is a component of a path).
- *
+ *
* A Symbol is an lv2-compliant symbol, which is also valid as a component of
* a URI, filesystem or OSC path, programming language identifier, etc.
* \ingroup raul
@@ -46,7 +46,7 @@ public:
{
assert(is_valid(symbol));
}
-
+
/** Construct a Symbol from a C string.
*
@@ -58,9 +58,9 @@ public:
{
assert(is_valid(csymbol));
}
-
+
static bool is_valid(const std::basic_string<char>& path);
-
+
static std::string symbolify(const std::basic_string<char>& str);
};