Little code with Proxy pattern where ProxyImage is a proxy for low-level RawImage image
(let us assume that it has some complex logic and is stored on the disk).
RawImage creates only at first access to ProxyImage, so it doesn't exist when it's not used.
Also, ProxyImage has a high-level getPrettyImage method for getting a pretty-printable image in std::string container.
- namespace
Images:- class
RawImage - class
ProxyImages->BasicModel(contains pointer to raw image)
- class
- simple
main.cpp
- Usage of Proxy pattern
