CARMA C++
FunctionName.h
Go to the documentation of this file.
1 // $Id: FunctionName.h,v 1.1 2010/12/13 21:06:30 eml Exp $
2 
3 #ifndef SZA_UTIL_FUNCTIONNAME_H
4 #define SZA_UTIL_FUNCTIONNAME_H
5 
16 #include <iostream>
17 
18 namespace sza {
19  namespace util {
20 
21  class FunctionName {
22  public:
23 
27  FunctionName(const char* prettyFunction);
28 
32  virtual ~FunctionName();
33 
34  std::string prettyFunction();
35  std::string noArgs();
36 
37  static std::string prettyFunction(const char* prettyFunction);
38  static std::string noArgs(const char* prettyFunction);
39 
40  private:
41 
42  std::string prettyFunction_;
43 
44  }; // End class FunctionName
45 
46  } // End namespace util
47 } // End namespace sza
48 
49 
50 
51 #endif // End #ifndef SZA_UTIL_FUNCTIONNAME_H