ChampSim
example.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <string>
3 
4 namespace MyLibrary {
5 
6 enum Color { red, green, blue };
7 
14 class Example {
15 public:
155  std::string test(const std::string& test);
156 
157  virtual int virtualfunc() = 0;
158 
159  static bool staticfunc();
160 
161 
162 };
163 
165  std::string foo();
166 }
167 
168 }
169 
Example class to demonstrate the features of the custom CSS.
Definition: example.hpp:14
std::string test(const std::string &test)
brief summary
virtual int virtualfunc()=0
static bool staticfunc()
Definition: example.hpp:164
Definition: example.hpp:4
Color
Definition: example.hpp:6
@ blue
Definition: example.hpp:6
@ green
Definition: example.hpp:6
@ red
Definition: example.hpp:6
Definition: address_collector.cc:7