summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorErik Hallnor <ehallnor@umich.edu>2003-10-07 16:22:59 -0400
committerErik Hallnor <ehallnor@umich.edu>2003-10-07 16:22:59 -0400
commit02399f5e705ca22bc66ebd99f5f8c69bb92b4f69 (patch)
tree7e4b72b843a0e575559a585d2f0b8f229bc48533 /docs
parent998d2914db377d5236d6241e3c839af1728c36e7 (diff)
downloadgem5-02399f5e705ca22bc66ebd99f5f8c69bb92b4f69.tar.xz
Add dummy definitions of STL classes for documentation purposes.
--HG-- extra : convert_revision : fef2697d9df511abdac2b225bb0a7634fac9adbc
Diffstat (limited to 'docs')
-rw-r--r--docs/stl.hh38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/stl.hh b/docs/stl.hh
new file mode 100644
index 000000000..ffa675e14
--- /dev/null
+++ b/docs/stl.hh
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * Dummy definitions of STL classes to pick up relationships in doxygen.
+ */
+
+namespace std {
+
+/** STL vector class*/
+template <class T> class vector {
+ public:
+ /** Dummy Item */
+ T item;
+};
+
+/** STL deque class */
+template <class T> class deque {
+ public:
+ /** Dummy Item */
+ T item;
+};
+
+/** STL list class */
+template <class T> class list {
+ public:
+ /** Dummy Item */
+ T item;
+};
+
+/** STL pair class */
+template <class X, class Y> class pair {
+ public:
+ /** Dummy Item */
+ X item1;
+ /** Dummy Item */
+ Y item2;
+};
+
+}