template <typename T, typename U = int>
class DocumentationTestClass
Defined on line 49 at Rectangle.h
Public Members
T publicTVar
Public member variable of type T
U publicUVar
Public member variable of type U
std::vector<T> publicTVector
Public vector of T
Protected Members
VectorOfT protectedTVector
Protected vector of T
MapOfTToU protectedTToUMap
Protected map of T to U
UniquePtrToU protectedUniquePtr
Protected unique pointer to U
Public Methods
void DocumentationTestClass<T, U>(T tVal, U uVal)
Defined on line 64 at Rectangle.h
void addElementToPublicVector(const T & element)
Defined on line 66 at Rectangle.h
void printPublicVector() const
Defined on line 70 at Rectangle.h
U performBinaryOperation(BinaryOperation op, U a, U b) const
Binary operation example
Defined on line 78 at Rectangle.h
Protected Methods
void addElementToProtectedVector(const T & element)
Protected methods
Defined on line 95 at Rectangle.h
void addKeyValueToProtectedMap(const T & key, const U & value)
Defined on line 99 at Rectangle.h
void printProtectedVector() const
Defined on line 103 at Rectangle.h
void printProtectedMap() const
Defined on line 110 at Rectangle.h
Typedefs
using SecondType = U;
Defined on line 53 at Rectangle.h
using ConstFirstType = const T;
Defined on line 54 at Rectangle.h
using BinaryOperation = int;
Defined on line 55 at Rectangle.h
using MapOfTToU = std::map<T, U>;
Defined on line 85 at Rectangle.h
using TPointer = T *;
Defined on line 86 at Rectangle.h
typedef std::unique_ptr<U> UniquePtrToU;
Defined on line 87 at Rectangle.h
typedef std::vector<std::vector<T>> NestedVectorOfT;
Defined on line 120 at Rectangle.h