Add dummy definitions of STL classes for documentation purposes.
--HG-- extra : convert_revision : fef2697d9df511abdac2b225bb0a7634fac9adbc
This commit is contained in:
parent
998d2914db
commit
02399f5e70
1 changed files with 38 additions and 0 deletions
38
docs/stl.hh
Normal file
38
docs/stl.hh
Normal file
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue