BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sfidl-utils.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef _SFIDL_UTILS_HH_
3 #define _SFIDL_UTILS_HH_
4 #include <sfi/glib-extra.hh>
5 #include <sfi/sfi.hh>
6 #include <list>
7 #include <vector>
8 
10 namespace Sfidl {
11 
12 /* lots of helpers like string_from_int, but also typedefs like String */
13 using namespace Rapicorn;
14 
15 /* common data structures */
16 using std::list;
17 using std::vector;
18 
19 bool isCxxTypeName (const String& str);
20 list<String> symbolToList (const String& symbol);
21 
22 } // Sfidl
23 
24 #endif /* _SFIDL_UTILS_HH_ */
25 /* vim:set ts=8 sts=2 sw=2: */
std::string String
bool isCxxTypeName(const String &str)
returns true for C++ style identifiers (Foo::BAR) - only the colons are checked, not individual chars...
Definition: sfidl-utils.cc:8