SpiecsEngine
 
Loading...
Searching...
No Matches
ClassLibrary.cpp
Go to the documentation of this file.
1/**
2* @file ClassLibrary.cpp.
3* @brief The ClassLibrary Class Implementation.
4* @author Spices.
5*/
6
7#include "Pchheader.h"
8#include "ClassLibrary.h"
10
11namespace Spices {
12
13 std::string ClassLibrary::GetClassString(ClassType t)
14 {
16
17 /**
18 * @brief Split Class Name to Namespcae and Class.
19 */
20 const std::vector<std::string>& outSplit = StringLibrary::SplitString(t.get().name(), ':');
21
22 /**
23 * @brief Return Class Name.
24 */
25 return outSplit[outSplit.size() - 1];
26 }
27
28}
#define SPICES_PROFILE_ZONE
static std::string GetClassString(ClassType t)
Get Class Name as string.
Class Static Function Library.