MCPcopy Create free account
hub / github.com/cpputest/cpputest / GlobalSimpleStringMemoryAccountant

Class GlobalSimpleStringMemoryAccountant

include/CppUTest/SimpleString.h:163–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161class AccountingTestMemoryAllocator;
162
163class GlobalSimpleStringMemoryAccountant
164{
165public:
166 GlobalSimpleStringMemoryAccountant();
167 ~GlobalSimpleStringMemoryAccountant();
168
169 void useCacheSizes(size_t cacheSizes[], size_t length);
170
171 void start();
172 void stop();
173 SimpleString report();
174
175 AccountingTestMemoryAllocator* getAllocator();
176private:
177 void restoreAllocator();
178
179 AccountingTestMemoryAllocator* allocator_;
180 MemoryAccountant* accountant_;
181};
182
183SimpleString StringFrom(bool value);
184SimpleString StringFrom(const void* value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected