#include <cllite.h>
Public Types | |
typedef std::string | key_type |
Public Member Functions | |
classname_to_dllname (const key_type &ns_xlate) | |
ns_xlate sets the namespace separator (::) replacement which will happen when this functor is activated. | |
key_type | operator() (const key_type &key) const |
General conventions:. |
Intended to be used to transform namespaced/templated names into filename-friendly names.
Definition at line 104 of file cllite.h.
|
ns_xlate sets the namespace separator (::) replacement which will happen when this functor is activated. e.g., passing "/" will cause foo::bar::MyType to translate to foo/bar/MyType |
|
General conventions:. Should return a DLL-friendly name of the given key, minus any extension: a set of platform-specific extensions is sed by class_path(). See the classname_to_dllname class for a sample implementation. This implementation transforms class names such that:
e.g.: std::list<foo> = std_list MyType = MyType foo::bar::MyType = foo_bar_MyType |